[shotwell/wip/phako/dark: 21/21] Use dark theme
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell/wip/phako/dark: 21/21] Use dark theme
- Date: Sun, 29 Apr 2018 14:36:14 +0000 (UTC)
commit 26625a083ea0304c007216c88b1a2062c6d00915
Author: Jens Georg <mail jensge org>
Date: Sat Apr 21 15:02:29 2018 +0200
Use dark theme
src/main.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/main.vala b/src/main.vala
index 1dda0cb..30304e2 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -355,6 +355,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]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]