Skip to content
Snippets Groups Projects
Commit f32e1d66 authored by Balló György's avatar Balló György :flag_hu:
Browse files

Fix invisible icons with GTK+ 3

parent fd413c00
No related branches found
Tags 1-1.5.2-1
No related merge requests found
......@@ -6,7 +6,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')
......@@ -17,9 +17,11 @@ backup=('etc/xdg/lxlauncher/gtk.css'
'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
......@@ -27,6 +29,9 @@ prepare() {
# 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() {
......
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 );
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment