diff options
author | Colin Guthrie <colin@mageia.org> | 2014-01-22 17:09:49 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2014-01-22 17:10:45 +0000 |
commit | 4e396b0d14b639eca27a94196cbd9a4e9595016c (patch) | |
tree | 0c37dda55ca943aace2dd57509cc80a91d72f1cb | |
parent | f0603c5d4071da60df596cd9794f06c8aed9e21b (diff) | |
download | mgaonline-4e396b0d14b639eca27a94196cbd9a4e9595016c.tar mgaonline-4e396b0d14b639eca27a94196cbd9a4e9595016c.tar.gz mgaonline-4e396b0d14b639eca27a94196cbd9a4e9595016c.tar.bz2 mgaonline-4e396b0d14b639eca27a94196cbd9a4e9595016c.tar.xz mgaonline-4e396b0d14b639eca27a94196cbd9a4e9595016c.zip |
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...
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | mgaapplet | 1 |
2 files changed, 4 insertions, 0 deletions
@@ -1,3 +1,6 @@ +- workaround gnome-shell not exiting message tray mode when clicking on actions + (bgo#706783) + Version 3.6 - 17 January 2014, Thierry Vignaud - workaround X11 hanging if one right click on status icon without @@ -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() { |