[lightsoff] Use dark theme
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lightsoff] Use dark theme
- Date: Mon, 16 Dec 2013 19:57:18 +0000 (UTC)
commit cc7539d872b6bc18804025160691e5d032b6ba4a
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Mon Dec 16 13:54:53 2013 -0600
Use dark theme
src/lightsoff.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/lightsoff.vala b/src/lightsoff.vala
index e0528e0..3ce9f5e 100644
--- a/src/lightsoff.vala
+++ b/src/lightsoff.vala
@@ -31,6 +31,8 @@ public class LightsOff : Gtk.Application
{
base.startup ();
+ Gtk.Settings.get_default ().set ("gtk-application-prefer-dark-theme", true);
+
add_action_entries (action_entries, this);
add_accelerator ("<Primary>n", "app.new-game", null);
add_accelerator ("F1", "app.help", null);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]