diff options
author | Brian Cameron <brian.cameron@sun.com> | 2006-12-05 21:02:51 +0000 |
---|---|---|
committer | Brian Cameron <bcameron@src.gnome.org> | 2006-12-05 21:02:51 +0000 |
commit | 3c3b3130d34f512a097442c2529ff597cbf84786 (patch) | |
tree | b089fb451b9345fa29f031ee4b4c838271f8461e | |
parent | bcd8dabbf514e5cf3f66aa6b307e154943a08bae (diff) | |
download | gdm-3c3b3130d34f512a097442c2529ff597cbf84786.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-- | ChangeLog | 5 | ||||
-rw-r--r-- | gui/gdmchooser.c | 16 |
2 files changed, 7 insertions, 14 deletions
@@ -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 99f2ec34..67eaed42 100644 --- a/gui/gdmchooser.c +++ b/gui/gdmchooser.c @@ -1388,23 +1388,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 */, |