summaryrefslogtreecommitdiffstats
path: root/mgaapplet
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 /mgaapplet
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.
Diffstat (limited to 'mgaapplet')
-rwxr-xr-xmgaapplet5
1 files changed, 0 insertions, 5 deletions
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;