22 lines
1.1 KiB
Diff
22 lines
1.1 KiB
Diff
#
|
|
# Ubuntu: https://bugs.edge.launchpad.net/ubuntu/+source/gdm/+bug/256283
|
|
# Description: Fix 24 hour combo box in gdmsetup
|
|
#
|
|
Index: gdm-2.20.10/gui/gdmsetup.c
|
|
===================================================================
|
|
--- gdm-2.20.10.orig/gui/gdmsetup.c 2009-04-03 14:17:35.000000000 +1100
|
|
+++ gdm-2.20.10/gui/gdmsetup.c 2009-04-03 14:17:45.000000000 +1100
|
|
@@ -1529,11 +1529,11 @@
|
|
val = gdm_config_get_string ((gchar *)key);
|
|
|
|
if (new_val) {
|
|
- if (strcmp (_(new_val), _("auto"))) {
|
|
+ if (strcmp (_(new_val), _("auto")) == 0) {
|
|
if (strcasecmp (ve_sure_string (val), "auto") != 0)
|
|
gdm_setup_config_set_string (key, "auto");
|
|
}
|
|
- else if (strcmp (_(new_val), _("yes"))) {
|
|
+ else if (strcmp (_(new_val), _("yes")) == 0) {
|
|
if (strcasecmp (ve_sure_string (val), "true") != 0 &&
|
|
strcasecmp (ve_sure_string (val), "yes") != 0)
|
|
gdm_setup_config_set_string (key, "true");
|