summaryrefslogtreecommitdiff
path: root/gui/gdmcommon.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui/gdmcommon.c')
-rw-r--r--gui/gdmcommon.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/gui/gdmcommon.c b/gui/gdmcommon.c
index bd088434..7166526f 100644
--- a/gui/gdmcommon.c
+++ b/gui/gdmcommon.c
@@ -392,6 +392,31 @@ gdm_common_get_config_file (void)
return config_file;
}
+gchar *
+gdm_common_get_custom_config_file (void)
+{
+ gchar *result;
+ gchar *config_file;
+
+ /* Get config file */
+ result = gdmcomm_call_gdm ("GET_CUSTOM_CONFIG_FILE", NULL /* auth cookie */, "2.8.0.2", 5);
+ if (! result)
+ return NULL;
+
+ if (ve_string_empty (result) ||
+ strncmp (result, "OK ", 3) != 0) {
+ g_free (result);
+ return NULL;
+ }
+
+ /* skip the "OK " */
+ config_file = g_strdup (result + 3);
+
+ g_free (result);
+
+ return config_file;
+}
+
gboolean
gdm_common_select_time_format (void)
{