summaryrefslogtreecommitdiff
path: root/applets/brightness
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-02-10 13:13:01 +0300
committermonsta <[email protected]>2017-02-10 13:13:01 +0300
commit137ca1087f80c2bb5ff32d8f9466237132f2ff06 (patch)
tree5d64dbe3685a4a954c16bdf1663c18e7067a09c1 /applets/brightness
parentadc019c4308731f9b3cf69f74bb7fc1d91788043 (diff)
downloadmate-power-manager-137ca1087f80c2bb5ff32d8f9466237132f2ff06.tar.bz2
mate-power-manager-137ca1087f80c2bb5ff32d8f9466237132f2ff06.tar.xz
brightness applet: fix mouse scroll over icon when no popup is shown
Diffstat (limited to 'applets/brightness')
-rw-r--r--applets/brightness/brightness-applet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/applets/brightness/brightness-applet.c b/applets/brightness/brightness-applet.c
index 5705878..54425c1 100644
--- a/applets/brightness/brightness-applet.c
+++ b/applets/brightness/brightness-applet.c
@@ -1011,6 +1011,7 @@ gpm_brightness_applet_init (GpmBrightnessApplet *applet)
/* prepare */
mate_panel_applet_set_flags (MATE_PANEL_APPLET (applet), MATE_PANEL_APPLET_EXPAND_MINOR);
+ gtk_widget_set_events (GTK_WIDGET (applet), GDK_SCROLL_MASK);
/* show */
gtk_widget_show_all (GTK_WIDGET(applet));