summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xmgaapplet1
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index d374d0bc..027a5c5c 100644
--- a/NEWS
+++ b/NEWS
@@ -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
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() {