# HG changeset patch # User Mark Doliner # Date 1232925911 0 # Node ID 6b6628f495cc791cccd673a2793f14ac4a33a6db # Parent 97ae9f8b63ab01039798bcb6d32f5352c5ec2e50 Add a comment diff -r 97ae9f8b63ab -r 6b6628f495cc pidgin/gtksmiley.c --- 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."));