[arch-commits] Commit in xfce4-panel/trunk (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sat Feb 19 04:53:12 UTC 2022


    Date: Saturday, February 19, 2022 @ 04:53:12
  Author: foutrelis
Revision: 437721

upgpkg: xfce4-panel 4.16.3-3: backport fix for window buttons

https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/188

Added:
  xfce4-panel/trunk/fix-window-buttons-not-appearing-in-the-panel.patch
Modified:
  xfce4-panel/trunk/PKGBUILD

-----------------------------------------------------+
 PKGBUILD                                            |   10 ++--
 fix-window-buttons-not-appearing-in-the-panel.patch |   44 ++++++++++++++++++
 2 files changed, 51 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-18 22:22:01 UTC (rev 437720)
+++ PKGBUILD	2022-02-19 04:53:12 UTC (rev 437721)
@@ -3,7 +3,7 @@
 
 pkgname=xfce4-panel
 pkgver=4.16.3
-pkgrel=2
+pkgrel=3
 pkgdesc="Panel for the Xfce desktop environment"
 arch=('x86_64')
 url="https://docs.xfce.org/xfce/xfce4-panel/start"
@@ -12,11 +12,15 @@
 depends=('exo' 'garcon' 'libxfce4ui' 'xfconf' 'libwnck3' 'libdbusmenu-gtk3'
          'hicolor-icon-theme' 'desktop-file-utils')
 makedepends=('intltool' 'gobject-introspection' 'vala')
-source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('5934eaed8a76da52c29b734ccd79600255420333dd6ebd8fd9f066379af1e092')
+source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
+        fix-window-buttons-not-appearing-in-the-panel.patch)
+sha256sums=('5934eaed8a76da52c29b734ccd79600255420333dd6ebd8fd9f066379af1e092'
+            '14dbc1e0584418912cdc05ef1b3e04c11fbc79630c817938abcf105fc1cdcb13')
 
 prepare() {
   cd "$srcdir/$pkgname-$pkgver"
+  # https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/188
+  patch -Np1 -i ../fix-window-buttons-not-appearing-in-the-panel.patch
 }
 
 build() {

Added: fix-window-buttons-not-appearing-in-the-panel.patch
===================================================================
--- fix-window-buttons-not-appearing-in-the-panel.patch	                        (rev 0)
+++ fix-window-buttons-not-appearing-in-the-panel.patch	2022-02-19 04:53:12 UTC (rev 437721)
@@ -0,0 +1,44 @@
+From 0f007b28a8c3d59ff227483359a37ac29aa08648 Mon Sep 17 00:00:00 2001
+From: fulalas <rcd99 at zipmail.com.br>
+Date: Fri, 18 Feb 2022 20:19:48 +0100
+Subject: [PATCH] Fixed some window buttons not appearing in the panel (Issue
+ #188)
+
+---
+ plugins/tasklist/tasklist-widget.c | 16 ----------------
+ 1 file changed, 16 deletions(-)
+
+diff --git a/plugins/tasklist/tasklist-widget.c b/plugins/tasklist/tasklist-widget.c
+index 83d1f09d..eb78f882 100644
+--- a/plugins/tasklist/tasklist-widget.c
++++ b/plugins/tasklist/tasklist-widget.c
+@@ -2872,20 +2872,6 @@ xfce_tasklist_button_geometry_changed2 (WnckWindow        *window,
+ 
+ 
+ 
+-static gboolean
+-xfce_tasklist_button_size_allocate (GtkWidget         *widget,
+-                                    GdkRectangle      *allocation,
+-                                    gpointer           user_data)
+-{
+-  XfceTasklistChild *child = user_data;
+-  /* Make sure the icons have the correct size */
+-  xfce_tasklist_button_icon_changed (child->window, child);
+-
+-  return TRUE;
+-}
+-
+-
+-
+ #ifdef GDK_WINDOWING_X11
+ static void
+ xfce_tasklist_button_geometry_changed (WnckWindow        *window,
+@@ -3561,8 +3547,6 @@ xfce_tasklist_button_new (WnckWindow   *window,
+       G_CALLBACK (xfce_tasklist_button_button_release_event), child);
+ 
+   /* monitor window changes */
+-  g_signal_connect (G_OBJECT (child->button), "size-allocate",
+-      G_CALLBACK (xfce_tasklist_button_size_allocate), child);
+   g_signal_connect (G_OBJECT (window), "icon-changed",
+       G_CALLBACK (xfce_tasklist_button_icon_changed), child);
+   g_signal_connect (G_OBJECT (window), "name-changed",



More information about the arch-commits mailing list