aboutsummaryrefslogtreecommitdiff
path: root/src/arctica-greeter.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/arctica-greeter.vala')
-rw-r--r--src/arctica-greeter.vala21
1 files changed, 18 insertions, 3 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala
index 3f119c4..89d52b8 100644
--- a/src/arctica-greeter.vala
+++ b/src/arctica-greeter.vala
@@ -910,14 +910,29 @@ public class ArcticaGreeter : Object
debug ("Setting GTK+ settings");
var settings = Gtk.Settings.get_default ();
var value = AGSettings.get_string (AGSettings.KEY_THEME_NAME);
- if (value != "")
+ if (value != ""){
+ debug ("Setting GTK theme: %s", value);
settings.set ("gtk-theme-name", value, null);
+ }
value = AGSettings.get_string (AGSettings.KEY_ICON_THEME_NAME);
- if (value != "")
+ if (value != ""){
+ debug ("Setting icon theme: %s", value);
settings.set ("gtk-icon-theme-name", value, null);
+ }
+ value = AGSettings.get_string (AGSettings.KEY_CURSOR_THEME_NAME);
+ if (value != "") {
+ debug ("Setting cursor theme: %s", value);
+ settings.set ("gtk-cursor-theme-name", value, null);
+ }
+ var int_value = AGSettings.get_integer (AGSettings.KEY_CURSOR_THEME_SIZE);
+ if (int_value != 0) {
+ debug ("Settings cursor theme size: %d", int_value);
+ settings.set ("gtk-cursor-theme-size", int_value, null);
+ }
value = AGSettings.get_string (AGSettings.KEY_FONT_NAME);
- if (value != "")
+ if (value != ""){
settings.set ("gtk-font-name", value, null);
+ }
var double_value = AGSettings.get_double (AGSettings.KEY_XFT_DPI);
if (double_value != 0.0)
settings.set ("gtk-xft-dpi", (int) (1024 * double_value), null);