[gnome-nibbles] Enforce dark theme
- From: Iulian Radu <iulianradu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles] Enforce dark theme
- Date: Mon, 26 Oct 2015 00:22:16 +0000 (UTC)
commit c8b730f963c28dc094d67378195790bc7baf94ce
Author: Iulian Radu <iulian radu67 gmail com>
Date: Thu Aug 20 20:01:28 2015 +0300
Enforce dark theme
src/gnome-nibbles.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-nibbles.vala b/src/gnome-nibbles.vala
index a24b55c..69719ac 100644
--- a/src/gnome-nibbles.vala
+++ b/src/gnome-nibbles.vala
@@ -121,6 +121,8 @@ public class Nibbles : Gtk.Application
{
base.startup ();
+ Gtk.Settings.get_default ().set ("gtk-application-prefer-dark-theme", true);
+
var css_provider = new Gtk.CssProvider ();
css_provider.load_from_resource ("/org/gnome/nibbles/ui/nibbles.css");
Gtk.StyleContext.add_provider_for_screen (Gdk.Screen.get_default (), css_provider,
Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]