aboutsummaryrefslogtreecommitdiff
path: root/src/arctica-greeter.vala
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-10-07 08:28:21 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-10-07 08:28:21 +0000
commitda5a410489edf50d0ab064c3b9303b3c87f6bf87 (patch)
treeef16dc4d024e41b9d348ebcb34d983dbe72a79cd /src/arctica-greeter.vala
parentc96cf1a0201fae5194441657af0f69ca9e033c60 (diff)
downloadarctica-greeter-da5a410489edf50d0ab064c3b9303b3c87f6bf87.tar.gz
arctica-greeter-da5a410489edf50d0ab064c3b9303b3c87f6bf87.tar.bz2
arctica-greeter-da5a410489edf50d0ab064c3b9303b3c87f6bf87.zip
Rename UGSettings to AGSettings.
Diffstat (limited to 'src/arctica-greeter.vala')
-rw-r--r--src/arctica-greeter.vala16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala
index eb827b8..09b3f74 100644
--- a/src/arctica-greeter.vala
+++ b/src/arctica-greeter.vala
@@ -237,7 +237,7 @@ public class ArcticaGreeter
/* Launch canberra */
Canberra.Context.create (out canberra_context);
- if (UGSettings.get_boolean (UGSettings.KEY_PLAY_READY_SOUND))
+ if (AGSettings.get_boolean (AGSettings.KEY_PLAY_READY_SOUND))
canberra_context.play (0,
Canberra.PROP_CANBERRA_XDG_THEME_NAME,
"ubuntu",
@@ -540,24 +540,24 @@ public class ArcticaGreeter
/* Set GTK+ settings */
debug ("Setting GTK+ settings");
var settings = Gtk.Settings.get_default ();
- var value = UGSettings.get_string (UGSettings.KEY_THEME_NAME);
+ var value = AGSettings.get_string (AGSettings.KEY_THEME_NAME);
if (value != "")
settings.set ("gtk-theme-name", value, null);
- value = UGSettings.get_string (UGSettings.KEY_ICON_THEME_NAME);
+ value = AGSettings.get_string (AGSettings.KEY_ICON_THEME_NAME);
if (value != "")
settings.set ("gtk-icon-theme-name", value, null);
- value = UGSettings.get_string (UGSettings.KEY_FONT_NAME);
+ value = AGSettings.get_string (AGSettings.KEY_FONT_NAME);
if (value != "")
settings.set ("gtk-font-name", value, null);
- var double_value = UGSettings.get_double (UGSettings.KEY_XFT_DPI);
+ 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);
- var boolean_value = UGSettings.get_boolean (UGSettings.KEY_XFT_ANTIALIAS);
+ var boolean_value = AGSettings.get_boolean (AGSettings.KEY_XFT_ANTIALIAS);
settings.set ("gtk-xft-antialias", boolean_value, null);
- value = UGSettings.get_string (UGSettings.KEY_XFT_HINTSTYLE);
+ value = AGSettings.get_string (AGSettings.KEY_XFT_HINTSTYLE);
if (value != "")
settings.set ("gtk-xft-hintstyle", value, null);
- value = UGSettings.get_string (UGSettings.KEY_XFT_RGBA);
+ value = AGSettings.get_string (AGSettings.KEY_XFT_RGBA);
if (value != "")
settings.set ("gtk-xft-rgba", value, null);