Merge lp:~alexlauni/unity/launcher-icon-state-pos into lp:unity

Proposed by Alex Launi on 2010-12-06
Status: Merged
Approved by: Alex Launi on 2010-12-07
Approved revision: 665
Merged at revision: 672
Proposed branch: lp:~alexlauni/unity/launcher-icon-state-pos
Merge into: lp:unity
Diff against target: 12 lines (+3/-0)
1 file modified
src/LauncherIcon.cpp (+3/-0)
To merge this branch: bzr merge lp:~alexlauni/unity/launcher-icon-state-pos
Reviewer Review Type Date Requested Status
Jay Taoko (community) 2010-12-06 Approve on 2010-12-07
Review via email: mp+42859@code.launchpad.net

Description of the Change

Adds x, y, z to LauncherIcon introspection props

To post a comment you must log in.
Jay Taoko (jaytaoko) wrote :

Approved

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/LauncherIcon.cpp'
2--- src/LauncherIcon.cpp 2010-12-02 17:23:07 +0000
3+++ src/LauncherIcon.cpp 2010-12-06 17:39:52 +0000
4@@ -105,6 +105,9 @@
5 void
6 LauncherIcon::AddProperties (GVariantBuilder *builder)
7 {
8+ g_variant_builder_add (builder, "{sv}", "x", _center.x);
9+ g_variant_builder_add (builder, "{sv}", "y", _center.y);
10+ g_variant_builder_add (builder, "{sv}", "z", _center.z);
11 g_variant_builder_add (builder, "{sv}", "related-windows", g_variant_new_int32 (_related_windows));
12 g_variant_builder_add (builder, "{sv}", "icon-type", g_variant_new_int32 (_icon_type));
13