Added Fix for status bar patch

This commit is contained in:
jolupa 2019-09-05 02:14:52 +02:00
parent 83b090dc1d
commit 168b82de9d
3 changed files with 38 additions and 4 deletions

View File

@ -1,5 +1,6 @@
untrusted comment: verify with /etc/ports/jolupalabs.pub
RWRdPtfuMX7+XCkdGaBUub3xY7yDns+u53e13yyJXAsKJEx7dh1aS+6vzGKfFcXARkv/b7DgriouDxZ1Sbs8gkLxlewgG08unwQ=
SHA256 (Pkgfile) = 81d711bdd180d50e6e47de442bc7d8cedb270ad53a0b7a5548f170e597e4ab02
RWRdPtfuMX7+XL61pgBw/qD2uodCZ2D8YqKKU5kw1yySUhHhMxHWM3zRxnIOFRjsYJYPIJ2Q1GRpN3/lQzWoEApOl0nHtCsi1wI=
SHA256 (Pkgfile) = cb745974b42ef3fc266f530c3a267efe67a34d8fff0ef53a94bf5a498d9241d8
SHA256 (.footprint) = 1a69ae49069a7f371a487bfd8875054e27b9905bb8dee3709aae11e5c79ea5c4
SHA256 (ristretto-0.10.0.tar.gz) = bb3e5fa4eb6701749b8c2930ad59f63c694fc08337afee470284de9cda334793
SHA256 (patch_1.patch) = 5c6bab875ea23e5a310db542eceb40d8d86346c3045feef2d5cd1485cf55aa5f

View File

@ -5,13 +5,15 @@
name=ristretto
version=0.10.0
release=2
source=(https://git.xfce.org/apps/$name/snapshot/$name-$version.tar.gz)
release=3
source=(https://git.xfce.org/apps/$name/snapshot/$name-$version.tar.gz patch_1.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/patch_1.patch
./autogen.sh \
--prefix=/usr \
--libexecdir=/usr/lib/$name

31
ristretto/patch_1.patch Normal file
View File

@ -0,0 +1,31 @@
From afeb187c6cc92701c01dbd583bd78b6435d27cfa Mon Sep 17 00:00:00 2001
From: Igor <f2404@yandex.ru>
Date: Tue, 3 Sep 2019 10:35:54 -0400
Subject: Fix 'Status bar appears upon leaving fullscreen'
Regardless of the "Show Status Bar" setting.
Fixes bug #15921
---
src/main_window.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/main_window.c b/src/main_window.c
index d76c69d..4cef356 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -2511,7 +2511,10 @@ G_GNUC_END_IGNORE_DEPRECATIONS
}
gtk_widget_show (window->priv->menubar);
- gtk_widget_show (window->priv->statusbar);
+ if (rstto_settings_get_boolean_property (RSTTO_SETTINGS (window->priv->settings_manager), "show-statusbar"))
+ {
+ gtk_widget_show (window->priv->statusbar);
+ }
if (rstto_settings_get_boolean_property (window->priv->settings_manager, "show-thumbnailbar"))
{
--
cgit v1.2.1