[arch-commits] Commit in exo/trunk (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Jul 8 18:08:39 UTC 2020
Date: Wednesday, July 8, 2020 @ 18:08:38
Author: foutrelis
Revision: 391024
upgpkg: exo 0.12.11-5: fix xfce4-settings-manager window resizing
https://gitlab.xfce.org/xfce/exo/-/issues/19
Added:
exo/trunk/fix-xfce4-settings-manager-resizing.patch
Modified:
exo/trunk/PKGBUILD
-------------------------------------------+
PKGBUILD | 11 +++++---
fix-xfce4-settings-manager-resizing.patch | 38 ++++++++++++++++++++++++++++
2 files changed, 46 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-08 17:47:27 UTC (rev 391023)
+++ PKGBUILD 2020-07-08 18:08:38 UTC (rev 391024)
@@ -4,7 +4,7 @@
pkgname=exo
pkgver=0.12.11
-pkgrel=4
+pkgrel=5
pkgdesc="Application library for Xfce"
arch=('x86_64')
url="https://www.xfce.org/"
@@ -12,11 +12,16 @@
groups=('xfce4')
depends=('libxfce4ui' 'perl-uri' 'hicolor-icon-theme')
makedepends=('intltool')
-source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('ec892519c08a67f3e0a1f0f8d43446e26871183e5aa6be7f82e214f388d1e5b6')
+source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
+ fix-xfce4-settings-manager-resizing.patch)
+sha256sums=('ec892519c08a67f3e0a1f0f8d43446e26871183e5aa6be7f82e214f388d1e5b6'
+ '0bb6896fae60b06ba4accd15cd334da88f874849f6fabd39ef5831f977c8a181')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
+
+ # https://gitlab.xfce.org/xfce/exo/-/issues/19
+ patch -Np1 -i ../fix-xfce4-settings-manager-resizing.patch
}
build() {
Added: fix-xfce4-settings-manager-resizing.patch
===================================================================
--- fix-xfce4-settings-manager-resizing.patch (rev 0)
+++ fix-xfce4-settings-manager-resizing.patch 2020-07-08 18:08:38 UTC (rev 391024)
@@ -0,0 +1,38 @@
+From b41b65612085a145622d23207b810e9cbb40e3cb Mon Sep 17 00:00:00 2001
+From: Theo Linkspfeifer <lastonestanding at tutanota.com>
+Date: Thu, 11 Jun 2020 06:02:02 -0400
+Subject: [PATCH] Allow resizing the xfce4-settings window smaller (fixes #19)
+
+Signed-off-by: Sean Davis <smd.seandavis at gmail.com>
+---
+ exo/exo-icon-view.c | 7 +++++--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/exo/exo-icon-view.c b/exo/exo-icon-view.c
+index 939658fb..deba7f5d 100644
+--- a/exo/exo-icon-view.c
++++ b/exo/exo-icon-view.c
+@@ -1669,7 +1669,9 @@ exo_icon_view_get_preferred_width (GtkWidget *widget,
+ GList *lp;
+
+ /* well, this is easy */
+- *minimal_width = *natural_width = priv->width;
++ if (priv->item_width < 0)
++ *minimal_width = priv->width;
++ *natural_width = priv->width;
+
+ /* handle the child widgets */
+ for (lp = priv->children; lp != NULL; lp = lp->next)
+@@ -1691,7 +1693,8 @@ exo_icon_view_get_preferred_height (GtkWidget *widget,
+ GList *lp;
+
+ /* well, this is easy */
+- *natural_height = *minimal_height = priv->height;
++ *minimal_height = priv->height;
++ *natural_height = priv->height;
+
+ /* handle the child widgets */
+ for (lp = priv->children; lp != NULL; lp = lp->next)
+--
+2.26.2
+
More information about the arch-commits
mailing list