summaryrefslogtreecommitdiff
path: root/mutter-plugin
diff options
authorNeil Jagdish Patel <neil.patel@canonical.com>2010-01-24 18:50:22 +0000
committerNeil Jagdish Patel <neil.patel@canonical.com>2010-01-24 18:50:22 +0000
commitde9733522326782c5747ee86142174533a715cce (patch)
treea097ad56e260934f897bd80241db1aa264806c32 /mutter-plugin
parent1d94a3c4ec274dfdd9d1a5fa0a44b56ad514c6c8 (diff)
[panel,shell,mutter,places-bar] Communicate indicators width changes and update visuals
modified: libunity/shell.vala mutter-plugin/plugin.vala src/panel/panel-view.vala src/places/bar-view.vala src/places/cairo-drawing.vala src/places/places-controller.vala src/places/places-view.vala (bzr r55.2.9)
Diffstat (limited to 'mutter-plugin')
-rw-r--r--mutter-plugin/plugin.vala7
1 files changed, 5 insertions, 2 deletions
diff --git a/mutter-plugin/plugin.vala b/mutter-plugin/plugin.vala
index 87c0bebba..f1a69d94a 100644
--- a/mutter-plugin/plugin.vala
+++ b/mutter-plugin/plugin.vala
@@ -159,12 +159,12 @@ namespace Unity
this.places = this.places_controller.get_view ();
this.places.opacity = 0;
this.stage.add_actor (this.places);
- this.places.raise_top ();
+ this.stage.raise_child (this.places, window_group);
this.places_showing = false;
this.panel = new Panel.View (this);
this.stage.add_actor (this.panel);
- this.stage.raise_child (this.panel, window_group);
+ this.stage.raise_child (this.panel, this.places);
this.panel.show ();
this.relayout ();
@@ -260,6 +260,7 @@ namespace Unity
win_group.animate (Clutter.AnimationMode.EASE_IN_SINE, 300,
"opacity", 255);
+ this.panel.set_indicator_mode (false);
this.restore_input_region ();
}
else
@@ -272,6 +273,8 @@ namespace Unity
win_group.animate (Clutter.AnimationMode.EASE_OUT_SINE, 300,
"opacity", 0);
+ this.panel.set_indicator_mode (true);
+
this.plugin.set_stage_input_area (0,
0,
(int)this.stage.width,