From 4e396b0d14b639eca27a94196cbd9a4e9595016c Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Wed, 22 Jan 2014 17:09:49 +0000 Subject: Update gnome-shell code to exit message tray mode also. The old method worked on older gnome-shells, this new method works on newer gnome-shells (see bgo#706783) Ideally neither hacks should be necessary and maybe (eventually) we can remove them, but for now... --- mgaapplet | 1 + 1 file changed, 1 insertion(+) (limited to 'mgaapplet') diff --git a/mgaapplet b/mgaapplet index 44240e6a..2ad9e441 100755 --- a/mgaapplet +++ b/mgaapplet @@ -230,6 +230,7 @@ ugtk3::exit(0); sub gnome_shell_exit_overview() { eval { Net::DBus->session->get_service('org.gnome.Shell')->get_object('/org/gnome/Shell', 'org.freedesktop.DBus.Properties')->Set('org.gnome.Shell', 'OverviewActive', dbus_boolean(0)) }; + eval { Net::DBus->session->get_service('org.gnome.Shell')->get_object('/org/gnome/Shell', 'org.gnome.Shell')->Eval('Main.messageTray._trayState==2 && Main.messageTray.toggle();') }; } sub is_there_a_new_distributions() { -- cgit v1.2.1