summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Cameron <brian.cameron@sun.com>2006-12-05 21:04:31 +0000
committerBrian Cameron <bcameron@src.gnome.org>2006-12-05 21:04:31 +0000
commit5b85ca07243034cb03d290ea4ddb6a0071e60d5d (patch)
treef29a11e82e4fb95e49713e742dfd5a2b51da7cc1
parent5d38d73978b52e11af6e85f5572b777631e730e5 (diff)
downloadgdm-5b85ca07243034cb03d290ea4ddb6a0071e60d5d.tar.gz
Cleaner fix for same problem fixed in last commit.
2006-12-05 Brian Cameron <brian.cameron@sun.com> * vicious-extensions/ve-miscui.c, gui/gdmchooser.c: Cleaner fix for same problem fixed in last commit.
-rw-r--r--ChangeLog5
-rw-r--r--gui/gdmchooser.c16
2 files changed, 7 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index a3f6c443..3cf77359 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-12-05 Brian Cameron <brian.cameron@sun.com>
+
+ * vicious-extensions/ve-miscui.c, gui/gdmchooser.c: Cleaner
+ fix for same problem fixed in last commit.
+
2006-12-04 Brian Cameron <brian.cameron@sun.com>
* vicious-extensions/ve-miscui.c, gui/gdmchooser.c: Fix so
diff --git a/gui/gdmchooser.c b/gui/gdmchooser.c
index 83820566..92b4d15c 100644
--- a/gui/gdmchooser.c
+++ b/gui/gdmchooser.c
@@ -1390,23 +1390,11 @@ gdm_chooser_add_host (void)
memmove (&qa->sin_addr, hostent->h_addr, 4);
} else {
GtkWidget *dialog;
- gchar **namesplit;
gchar *msg;
- gchar *newname;
-
- /*
- * If user enters "%" replace it with "%%" so output shows
- * properly in the dialog.
- */
- namesplit = g_strsplit (name, "%", -1);
- newname = g_strjoinv ("%%", namesplit);
-
+
msg = g_strdup_printf (_("Cannot find the host \"%s\". "
"Perhaps you have mistyped it."),
- newname);
-
- g_strfreev (namesplit);
- g_free (newname);
+ name);
dialog = ve_hig_dialog_new
(GTK_WINDOW (chooser) /* parent */,