[shotwell/wip/phako/dark: 24/24] Use dark theme
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell/wip/phako/dark: 24/24] Use dark theme
- Date: Sat, 28 Apr 2018 05:23:27 +0000 (UTC)
commit ef2ae63a106fe28fc0336bb2454a90fd49a11bad
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]