Date: Friday, January 12, 2018 @ 22:44:43
  Author: bgyorgy
Revision: 281701

upgpkg: lxlauncher 0.2.5-3

Fix invisible icons with GTK+ 3

Added:
  lxlauncher/trunk/fix-invisible-icons.patch
Modified:
  lxlauncher/trunk/PKGBUILD

---------------------------+
 PKGBUILD                  |   11 ++++++++---
 fix-invisible-icons.patch |   14 ++++++++++++++
 2 files changed, 22 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-01-12 22:41:54 UTC (rev 281700)
+++ PKGBUILD    2018-01-12 22:44:43 UTC (rev 281701)
@@ -7,7 +7,7 @@
 pkgbase=lxlauncher
 pkgname=(lxlauncher lxlauncher-gtk3)
 pkgver=0.2.5
-pkgrel=2
+pkgrel=3
 pkgdesc='Open source clone of the Asus launcher for EeePC'
 arch=('x86_64')
 license=('GPL2')
@@ -18,9 +18,11 @@
         'etc/xdg/lxlauncher/gtkrc'
         'etc/xdg/lxlauncher/settings.conf')
 source=(https://downloads.sourceforge.net/lxde/$pkgbase-$pkgver.tar.xz
-        0001-Add-CSS-selectors-for-GTK-3.20-and-newer.patch)
+        0001-Add-CSS-selectors-for-GTK-3.20-and-newer.patch
+        fix-invisible-icons.patch)
 sha256sums=('cd14b59cf337e7ba0d67efc95cd79859ab5f0f85af5a84c7aff771f868c3dca7'
-            '794a92dda67f055a794315af4d1a1b0d3319da836582fbc88bbaa3f737612f70')
+            '794a92dda67f055a794315af4d1a1b0d3319da836582fbc88bbaa3f737612f70'
+            '34fd1774d962965795eac8002d77a17078a967e2812ebae3e71d35533e1b3799')
 
 prepare() {
   cd $pkgbase-$pkgver
@@ -28,6 +30,9 @@
   # Add CSS selectors for GTK+ 3.20 and newer
   # https://sourceforge.net/p/lxde/patches/543/
   patch -Np1 -i ../0001-Add-CSS-selectors-for-GTK-3.20-and-newer.patch
+
+  # Fix invisible icons with GTK+ 3
+  patch -Np1 -i ../fix-invisible-icons.patch
 }
 
 build() {

Added: fix-invisible-icons.patch
===================================================================
--- fix-invisible-icons.patch                           (rev 0)
+++ fix-invisible-icons.patch   2018-01-12 22:44:43 UTC (rev 281701)
@@ -0,0 +1,14 @@
+diff -Naur lxlauncher-0.2.5.orig/src/lxlauncher.c 
lxlauncher-0.2.5/src/lxlauncher.c
+--- lxlauncher-0.2.5.orig/src/lxlauncher.c     2018-01-12 23:31:21.116719000 
+0100
++++ lxlauncher-0.2.5/src/lxlauncher.c  2018-01-12 23:31:39.190805710 +0100
+@@ -1021,9 +1021,9 @@
+ 
+     get_working_area( gtk_widget_get_screen(main_window), &working_area );
+     gtk_window_move( GTK_WINDOW(main_window), working_area.x, working_area.y 
);
++    gtk_widget_show_all( main_window );
+     gtk_window_resize( GTK_WINDOW(main_window), working_area.width, 
working_area.height );
+ 
+-    gtk_widget_show_all( main_window );
+     gtk_main();
+ 
+     gdk_window_remove_filter( gtk_widget_get_root_window(main_window), 
evt_filter, NULL );

Reply via email to