From be0723d374fb643a3f47144538420ed6f4ed171c Mon Sep 17 00:00:00 2001 From: monsta Date: Fri, 10 Feb 2017 13:13:01 +0300 Subject: [GTK+3] brightness applet: fix mouse scroll over icon without popup --- applets/brightness/brightness-applet.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/applets/brightness/brightness-applet.c b/applets/brightness/brightness-applet.c index 25ed525..0bee8d5 100644 --- a/applets/brightness/brightness-applet.c +++ b/applets/brightness/brightness-applet.c @@ -1142,6 +1142,9 @@ gpm_brightness_applet_init (GpmBrightnessApplet *applet) /* prepare */ mate_panel_applet_set_flags (MATE_PANEL_APPLET (applet), MATE_PANEL_APPLET_EXPAND_MINOR); +#if GTK_CHECK_VERSION (3, 0, 0) + gtk_widget_set_events (GTK_WIDGET (applet), GDK_SCROLL_MASK); +#endif /* show */ gtk_widget_show_all (GTK_WIDGET(applet)); -- cgit v1.2.1