From b3caeb9488a244d5fb1c259823e9ce6e03b931b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Sun, 14 May 2017 16:23:37 +0200 Subject: Remove the fallback for the context menu in mgaapplet This fallback is not strictly needed, and it seems to prevent some right-clicks to work correctly (it shouldn't!). This partially reverts commit 891f99f. --- NEWS | 3 +++ mgaapplet | 5 ----- 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; -- cgit v1.2.1