diff -r 311266ad4ffb -r e0dc18b50181 src/gtkutils.h --- a/src/gtkutils.h Thu Dec 04 20:43:27 2003 +0000 +++ b/src/gtkutils.h Thu Dec 04 22:09:58 2003 +0000 @@ -129,6 +129,16 @@ void gaim_gtk_toggle_sensitive(GtkWidget *widget, GtkWidget *to_toggle); /** + * Checks if text has been entered into a GtkTextEntry widget. If + * so, the GTK_RESPONSE_OK on the given dialog is set to TRUE. + * Otherwise GTK_RESPONSE_OK is set to FALSE. + * + * @param entry The text entry widget. + * @param dialog The dialog containing the text entry widget. + */ +void gaim_gtk_set_sensitive_if_input(GtkWidget *entry, GtkWidget *dialog); + +/** * Toggles the sensitivity of all widgets in a pointer array. * * @param w @c NULL. Used for signal handlers.