[beast: 34/70] EBEAST: pick a dark Gtk+-2 theme if possible
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 34/70] EBEAST: pick a dark Gtk+-2 theme if possible
- Date: Tue, 28 Mar 2017 23:24:34 +0000 (UTC)
commit d6a81f84148d761d52a573b66fd7c10a1ae09fd8
Author: Tim Janik <timj gnu org>
Date: Sun Mar 5 21:43:12 2017 +0100
EBEAST: pick a dark Gtk+-2 theme if possible
Signed-off-by: Tim Janik <timj gnu org>
ebeast/Makefile.am | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ebeast/Makefile.am b/ebeast/Makefile.am
index e58352f..5ba8d1c 100644
--- a/ebeast/Makefile.am
+++ b/ebeast/Makefile.am
@@ -27,6 +27,12 @@ app: package.json
# == run ==
run: app
+ $(GTK2_DARK) \
LD_PRELOAD="$(abs_top_builddir)/bse/.libs/libbse-@MAJOR@.so" \
./node_modules/electron/dist/electron .
-# NOTE, prefer LD_PRELOAD over LD_LIBRARY_PATH, to pick up $(builddir)/libbse *before* /usr/lib/libbse
+# NOTE1, prefer LD_PRELOAD over LD_LIBRARY_PATH, to pick up $(builddir)/libbse *before* /usr/lib/libbse
+# NOTE2, add --js-flags="--expose-gc" to the command line to enable global.gc();
+# If libdbusmenu-glib.so is missing, electron 1.4.15 displays a Gtk+2 menu bar, ignoring
+# the BrowserWindow.darkTheme option. Here, we preselect a commonly installed dark Gtk+2
+# theme if it's present.
+GTK2_DARK = $(shell test -f /usr/share/themes/Ambiance/gtk-2.0/gtkrc && echo
'GTK2_RC_FILES=/usr/share/themes/Ambiance/gtk-2.0/gtkrc')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]