[mate-power-manager] add mate-power-manager_fix-mouse-click-on-brightness-applet.patch
Wolfgang Ulbrich
raveit65 at fedoraproject.org
Mon Oct 14 21:10:39 UTC 2013
commit 0f43b4b713db94d7fdc97947c772c179a3887cb0
Author: raveit65 <chat-to-me at raveit.de>
Date: Mon Oct 14 23:10:30 2013 +0200
add mate-power-manager_fix-mouse-click-on-brightness-applet.patch
...ager_fix-mouse-click-on-brightness-applet.patch | 24 ++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
---
diff --git a/mate-power-manager_fix-mouse-click-on-brightness-applet.patch b/mate-power-manager_fix-mouse-click-on-brightness-applet.patch
new file mode 100644
index 0000000..fe19e24
--- /dev/null
+++ b/mate-power-manager_fix-mouse-click-on-brightness-applet.patch
@@ -0,0 +1,24 @@
+diff -Naur mate-power-manager-1.6.2/applets/brightness/brightness-applet.c mate-power-manager-1.6.2.new/applets/brightness/brightness-applet.c
+--- mate-power-manager-1.6.2/applets/brightness/brightness-applet.c 2013-07-24 11:54:08.000000000 -0600
++++ mate-power-manager-1.6.2.new/applets/brightness/brightness-applet.c 2013-10-12 20:52:24.852286044 -0600
+@@ -600,6 +600,7 @@
+
+ /* window */
+ applet->popup = gtk_window_new (GTK_WINDOW_POPUP);
++ GTK_WIDGET_UNSET_FLAGS (applet->popup, GTK_TOPLEVEL);
+ gtk_window_set_type_hint (GTK_WINDOW(applet->popup), GDK_WINDOW_TYPE_HINT_UTILITY);
+ gtk_widget_set_parent (applet->popup, GTK_WIDGET(applet));
+ gtk_container_add (GTK_CONTAINER(applet->popup), frame);
+diff -Naur mate-power-manager-1.6.2/configure.ac mate-power-manager-1.6.2.new/configure.ac
+--- mate-power-manager-1.6.2/configure.ac 2013-07-24 11:54:08.000000000 -0600
++++ mate-power-manager-1.6.2.new/configure.ac 2013-10-12 20:54:25.347108141 -0600
+@@ -38,7 +38,7 @@
+ CPPFLAGS="$CPPFLAGS -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES"
+ CPPFLAGS="$CPPFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED"
+ CPPFLAGS="$CPPFLAGS -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE"
+- CPPFLAGS="$CPPFLAGS -DGSEAL_ENABLE"
++ CPPFLAGS="$CPPFLAGS"
+ if test "$GCC" = "yes"; then
+ WARNINGFLAGS="$WARNINGFLAGS -Werror"
+ fi
+
More information about the scm-commits
mailing list