summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xmgaapplet5
2 files changed, 3 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index d22e3fec..15742309 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- mgaapplet seems to not like the fallback for the context menu, preventing
+ some right-clicks to work correctly. This partially reverts commit 891f99fe.
+
Version 3.21 - 13 May 2017, Nicolas Lécureuil
- mgaapplet:
o correctly detect right-clicks before the first check for updates (mga#20540)
diff --git a/mgaapplet b/mgaapplet
index ab1b41c4..8b79e045 100755
--- a/mgaapplet
+++ b/mgaapplet
@@ -185,11 +185,6 @@ if ($ENV{DESKTOP_SESSION} =~ /plasma$/i) {
$icon->set_title('mgaapplet');
$icon->set_status('STATUS_NOTIFIER_STATUS_ACTIVE');
$icon->register;
- # We keep this only as a fallback if the DBusMenu service does not work.
- # This way, we are sure that right-clicks will always work. (mga#20540)
- $icon->signal_connect(context_menu => sub {
- $menu->popup(undef, undef, undef, undef, 0, Gtk3::get_current_event_time()) if $menu;
- });
}
else {
$icon = Gtk3::StatusIcon->new;