summaryrefslogtreecommitdiff
path: root/mutter-plugin
diff options
authorNeil Jagdish Patel <neil.patel@canonical.com>2010-01-24 20:10:23 +0000
committerNeil Jagdish Patel <neil.patel@canonical.com>2010-01-24 20:10:23 +0000
commit86f7ae9d58eb87f78f60f11d79a2e5abea341b46 (patch)
treeb7ce587a1d71f9183ea061b2df84e69466eb32ea /mutter-plugin
parent302e3a06d0bd71c8edb8f67289ebe9b6b4fe699d (diff)
[panel-tray] Order icons by creation time
modified: mutter-plugin/plugin.vala src/panel/panel-tray.vala (bzr r55.2.12)
Diffstat (limited to 'mutter-plugin')
-rw-r--r--mutter-plugin/plugin.vala16
1 files changed, 4 insertions, 12 deletions
diff --git a/mutter-plugin/plugin.vala b/mutter-plugin/plugin.vala
index 4632adb50..e5b6ec0d6 100644
--- a/mutter-plugin/plugin.vala
+++ b/mutter-plugin/plugin.vala
@@ -254,28 +254,20 @@ namespace Unity
if (this.places_showing)
{
this.places_showing = false;
- //this.places.animate (Clutter.AnimationMode.EASE_OUT_SINE, 300,
- // "opacity", 0);
- //var win_group = this.plugin.get_window_group ();
- //win_group.animate (Clutter.AnimationMode.EASE_IN_SINE, 300,
- // "opacity", 255);
+
this.places.opacity = 0;
this.plugin.get_above_window_group ().opacity = 255;
this.plugin.get_normal_window_group ().opacity = 255;
this.plugin.get_below_window_group().opacity = 255;
this.panel.set_indicator_mode (false);
+
this.restore_input_region ();
}
else
{
this.places_showing = true;
- //this.places.animate (Clutter.AnimationMode.EASE_IN_SINE, 300,
- // "opacity", 255);
- //var win_group = this.plugin.get_window_group ();
- //win_group.animate (Clutter.AnimationMode.EASE_OUT_SINE, 300,
- // "opacity", 0);
this.places.opacity = 255;
this.plugin.get_above_window_group ().opacity = 0;
this.plugin.get_normal_window_group ().opacity = 0;
@@ -342,12 +334,12 @@ namespace Unity
public int get_panel_height ()
{
- return 24;
+ return PANEL_HEIGHT;
}
public int get_launcher_width ()
{
- return 58;
+ return QUICKLAUNCHER_WIDTH;
}
}
}