Mercurial > pidgin
comparison gtk/gtkroomlist.c @ 15288:ccb2c1401b6d
[gaim-migrate @ 18078]
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 05 Jan 2007 18:25:06 +0000 |
parents | c8957b9c6202 |
children |
comparison
equal
deleted
inserted
replaced
15287:8b72da628537 | 15288:ccb2c1401b6d |
---|---|
127 if (dialog->account_widget) | 127 if (dialog->account_widget) |
128 gtk_widget_set_sensitive(dialog->account_widget, FALSE); | 128 gtk_widget_set_sensitive(dialog->account_widget, FALSE); |
129 | 129 |
130 gtk_container_add(GTK_CONTAINER(dialog->sw), rl->tree); | 130 gtk_container_add(GTK_CONTAINER(dialog->sw), rl->tree); |
131 | 131 |
132 gtk_widget_set_sensitive(dialog->stop_button, TRUE); | 132 /* some protocols (not bundled with libgaim) finish getting their |
133 gtk_widget_set_sensitive(dialog->list_button, FALSE); | 133 * room list immediately */ |
134 if(gaim_roomlist_get_in_progress(dialog->roomlist)) { | |
135 gtk_widget_set_sensitive(dialog->stop_button, TRUE); | |
136 gtk_widget_set_sensitive(dialog->list_button, FALSE); | |
137 } else { | |
138 gtk_widget_set_sensitive(dialog->stop_button, FALSE); | |
139 gtk_widget_set_sensitive(dialog->list_button, TRUE); | |
140 } | |
134 gtk_widget_set_sensitive(dialog->add_button, FALSE); | 141 gtk_widget_set_sensitive(dialog->add_button, FALSE); |
135 gtk_widget_set_sensitive(dialog->join_button, FALSE); | 142 gtk_widget_set_sensitive(dialog->join_button, FALSE); |
136 } | 143 } |
137 | 144 |
138 static void stop_button_cb(GtkButton *button, GaimGtkRoomlistDialog *dialog) | 145 static void stop_button_cb(GtkButton *button, GaimGtkRoomlistDialog *dialog) |