[Pkg-xfce-commits] r6998 - in goodies/trunk/xfce4-notifyd/debian: . patches

Yves-Alexis Perez corsac at alioth.debian.org
Tue May 15 09:00:19 UTC 2012


Author: corsac
Date: 2012-05-15 21:00:18 +0000 (Tue, 15 May 2012)
New Revision: 6998

Added:
   goodies/trunk/xfce4-notifyd/debian/patches/01_fix-dismiss-notifications.patch
   goodies/trunk/xfce4-notifyd/debian/patches/series
Modified:
   goodies/trunk/xfce4-notifyd/debian/changelog
Log:
* debian/patches:
  - 01_fix-dismiss-notifications added, backported from upstream. Correctly
    dismiss notifications when clicked.                       closes: #672646

Modified: goodies/trunk/xfce4-notifyd/debian/changelog
===================================================================
--- goodies/trunk/xfce4-notifyd/debian/changelog	2012-05-15 20:57:59 UTC (rev 6997)
+++ goodies/trunk/xfce4-notifyd/debian/changelog	2012-05-15 21:00:18 UTC (rev 6998)
@@ -1,3 +1,11 @@
+xfce4-notifyd (0.2.2-2) UNRELEASED; urgency=low
+
+  * debian/patches:
+    - 01_fix-dismiss-notifications added, backported from upstream. Correctly
+      dismiss notifications when clicked.                       closes: #672646
+
+ -- Yves-Alexis Perez <corsac at debian.org>  Tue, 15 May 2012 22:59:31 +0200
+
 xfce4-notifyd (0.2.2-1) unstable; urgency=low
 
   * New upstream release.

Added: goodies/trunk/xfce4-notifyd/debian/patches/01_fix-dismiss-notifications.patch
===================================================================
--- goodies/trunk/xfce4-notifyd/debian/patches/01_fix-dismiss-notifications.patch	                        (rev 0)
+++ goodies/trunk/xfce4-notifyd/debian/patches/01_fix-dismiss-notifications.patch	2012-05-15 21:00:18 UTC (rev 6998)
@@ -0,0 +1,23 @@
+commit ad77e8aa48201c1c10226b54f7ab006989f2f4d5
+Author: Brian J. Tarricone <brian at tarricone.org>
+Date:   Mon Sep 26 00:07:31 2011 -0700
+
+    emit closed signal on correct object
+    
+    'widget' is actually the GtkButton when an action is clicked.  this is
+    why notifications were never dismissed when an action got clicked.
+    long-standing bug finally fixed!
+
+diff --git a/xfce4-notifyd/xfce-notify-window.c b/xfce4-notifyd/xfce-notify-window.c
+index 41316b8..8364d7a 100644
+--- a/xfce4-notifyd/xfce-notify-window.c
++++ b/xfce4-notifyd/xfce-notify-window.c
+@@ -718,7 +718,7 @@ xfce_notify_window_button_clicked(GtkWidget *widget,
+ 
+     g_signal_emit(G_OBJECT(window), signals[SIG_ACTION_INVOKED], 0,
+                   action_id);
+-    g_signal_emit(G_OBJECT(widget), signals[SIG_CLOSED], 0,
++    g_signal_emit(G_OBJECT(window), signals[SIG_CLOSED], 0,
+                   XFCE_NOTIFY_CLOSE_REASON_DISMISSED);
+ }
+ 

Added: goodies/trunk/xfce4-notifyd/debian/patches/series
===================================================================
--- goodies/trunk/xfce4-notifyd/debian/patches/series	                        (rev 0)
+++ goodies/trunk/xfce4-notifyd/debian/patches/series	2012-05-15 21:00:18 UTC (rev 6998)
@@ -0,0 +1 @@
+01_fix-dismiss-notifications.patch




More information about the Pkg-xfce-commits mailing list