diff options
Diffstat (limited to 'media-gfx/shotwell/files/shotwell-dark-theme.patch')
-rw-r--r-- | media-gfx/shotwell/files/shotwell-dark-theme.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/media-gfx/shotwell/files/shotwell-dark-theme.patch b/media-gfx/shotwell/files/shotwell-dark-theme.patch new file mode 100644 index 0000000..2f827d8 --- /dev/null +++ b/media-gfx/shotwell/files/shotwell-dark-theme.patch @@ -0,0 +1,24 @@ +From 53021527d5d186181a4a3d7517a800d25fa673c2 Mon Sep 17 00:00:00 2001 +From: Jonas Bushart <jonas@bushart.org> +Date: Sun, 30 Oct 2011 21:18:07 +0100 +Subject: [PATCH] Use dark gtk theme if available. + +--- + src/main.vala | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/src/main.vala b/src/main.vala +index 5401021..30dd628 100644 +--- a/src/main.vala ++++ b/src/main.vala +@@ -377,6 +377,7 @@ void main(string[] args) { + try { + Gtk.init_with_args(ref args, _("[FILE]"), CommandlineOptions.get_options(), + Resources.APP_GETTEXT_PACKAGE); ++ Gtk.Settings.get_default().gtk_application_prefer_dark_theme = true; + } catch (Error e) { + print(e.message + "\n"); + print(_("Run '%s --help' to see a full list of available command line options.\n"), args[0]); +-- +1.7.5.4 + |