[xfce4-panel] Fix switching grouped windows in the taskbar (#680779)

Christoph Wickert cwickert at fedoraproject.org
Fri Mar 25 19:08:44 UTC 2011


commit b8a0b8608a6296ab3da41e11a00e903327f1bfc0
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Fri Mar 25 20:08:33 2011 +0100

    Fix switching grouped windows in the taskbar (#680779)

 ....2-add_button_release_event_to_proxy_item.patch |   21 ++++++++++++++++++++
 xfce4-panel.spec                                   |    9 +++++++-
 2 files changed, 29 insertions(+), 1 deletions(-)
---
diff --git a/xfce4-panel-4.8.2-add_button_release_event_to_proxy_item.patch b/xfce4-panel-4.8.2-add_button_release_event_to_proxy_item.patch
new file mode 100644
index 0000000..6ff0148
--- /dev/null
+++ b/xfce4-panel-4.8.2-add_button_release_event_to_proxy_item.patch
@@ -0,0 +1,21 @@
+From 8bb6d5f273053bc75d3a17cfdae26f7798e714d6 Mon Sep 17 00:00:00 2001
+From: Nick Schermer <nick at xfce.org>
+Date: Sun, 27 Feb 2011 21:25:14 +0000
+Subject: Tasklist: add button release event to proxy item (bug #7362).
+
+---
+diff --git a/plugins/tasklist/tasklist-widget.c b/plugins/tasklist/tasklist-widget.c
+index 0ff7db6..783618a 100644
+--- a/plugins/tasklist/tasklist-widget.c
++++ b/plugins/tasklist/tasklist-widget.c
+@@ -2664,6 +2664,8 @@ xfce_tasklist_button_proxy_menu_item (XfceTasklistChild *child,
+ 
+   g_signal_connect (G_OBJECT (mi), "button-press-event",
+       G_CALLBACK (xfce_tasklist_button_button_press_event), child);
++  g_signal_connect (G_OBJECT (mi), "button-release-event",
++      G_CALLBACK (xfce_tasklist_button_button_release_event), child);
+ 
+   /* TODO bold labels for urgent windows */
+   /* TODO item dnd */
+--
+cgit v0.8.3.4
diff --git a/xfce4-panel.spec b/xfce4-panel.spec
index f48d6bf..d0b9194 100644
--- a/xfce4-panel.spec
+++ b/xfce4-panel.spec
@@ -2,7 +2,7 @@
 
 Name:           xfce4-panel
 Version:        4.8.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Next generation panel for Xfce
 
 Group:          User Interface/Desktops
@@ -11,6 +11,9 @@ URL:            http://www.xfce.org/
 Source0:        http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2
 # FIXME: do the patch once SIG has decided about a panel layout
 Patch0:         xfce4-panel-4.8.2-defaults.patch
+# http://git.xfce.org/xfce/xfce4-panel/commit/?id=8bb6d5f
+# fixes https://bugzilla.redhat.com/show_bug.cgi?id=680779
+Patch1:         xfce4-panel-4.8.2-add_button_release_event_to_proxy_item.patch
 BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 BuildRequires:  libxfce4ui-devel >= %{xfceversion}
 BuildRequires:  garcon-devel >= 0.1.4
@@ -71,6 +74,7 @@ plugins for xfce4-panel.
 %prep
 %setup -q
 %patch0 -p1 -b .default
+%patch1 -p1 -b .button_release_event
 
 
 %build
@@ -152,6 +156,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_includedir}/xfce4/libxfce4panel-*/
 
 %changelog
+* Fri Mar 25 2011 Christoph Wickert <cwickert at fedoraproject.org> - 4.8.2-3
+- Fix switching grouped windows in the taskbar (#680779)
+
 * Tue Mar 08 2011 Christoph Wickert <cwickert at fedoraproject.org> - 4.8.2-2
 - Include mixer in default panel config (#636227)
 - Obsolete old plugins (#682491)


More information about the scm-commits mailing list