From: <nos...@us...> - 2006-10-01 15:06:00
|
Revision: 17413 http://svn.sourceforge.net/gaim/?rev=17413&view=rev Author: nosnilmot Date: 2006-10-01 08:05:45 -0700 (Sun, 01 Oct 2006) Log Message: ----------- Only de-sensitize the Add button if no username is set Modified Paths: -------------- trunk/gtk/plugins/gevolution/new_person_dialog.c Modified: trunk/gtk/plugins/gevolution/new_person_dialog.c =================================================================== --- trunk/gtk/plugins/gevolution/new_person_dialog.c 2006-10-01 06:11:05 UTC (rev 17412) +++ trunk/gtk/plugins/gevolution/new_person_dialog.c 2006-10-01 15:05:45 UTC (rev 17413) @@ -412,7 +412,8 @@ /* Add button */ button = gtk_button_new_from_stock(GTK_STOCK_ADD); dialog->add_button = button; - gtk_widget_set_sensitive(button, FALSE); + if (username == NULL || *username == '\0') + gtk_widget_set_sensitive(button, FALSE); gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 0); gtk_widget_show(button); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |