Mercurial > pidgin.yaz
diff pidgin/gtksmiley.c @ 25406:6b6628f495cc
Add a comment
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 25 Jan 2009 23:25:11 +0000 |
parents | 97ae9f8b63ab |
children | a3f7ade9e45b |
line wrap: on
line diff
--- a/pidgin/gtksmiley.c Sun Jan 25 23:23:04 2009 +0000 +++ b/pidgin/gtksmiley.c Sun Jan 25 23:25:11 2009 +0000 @@ -225,6 +225,12 @@ entry = gtk_entry_get_text(GTK_ENTRY(s->smile)); if (!entry || !*entry) { + /* + * TODO: We should enable/disable the add button based on + * whether the user has entered all required data. That + * would eliminate the need for this check and provide a + * better user experience. + */ purple_notify_error(s->parent, _("Custom Smiley"), _("More Data needed"), _("Please provide a shortcut to associate with the smiley."));