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. --- mgaapplet | 5 ----- 1 file changed, 5 deletions(-) (limited to 'mgaapplet') 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