blob: 2f827d8f2d6eef62bd3e3327ec89ba0b96502e02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
|