summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2017-05-14 16:23:37 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2017-05-14 16:23:37 +0200
commitb3caeb9488a244d5fb1c259823e9ce6e03b931b3 (patch)
treea0f38ce0518ca3605aed09ae4697dfb56a64fb66
parent747200c50e7d9b4a69723f813fde9f52c0b764ff (diff)
downloadmgaonline-b3caeb9488a244d5fb1c259823e9ce6e03b931b3.tar
mgaonline-b3caeb9488a244d5fb1c259823e9ce6e03b931b3.tar.gz
mgaonline-b3caeb9488a244d5fb1c259823e9ce6e03b931b3.tar.bz2
mgaonline-b3caeb9488a244d5fb1c259823e9ce6e03b931b3.tar.xz
mgaonline-b3caeb9488a244d5fb1c259823e9ce6e03b931b3.zip
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.
-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;