From 53021527d5d186181a4a3d7517a800d25fa673c2 Mon Sep 17 00:00:00 2001 From: Jonas Bushart 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