changeset 8190:0a0501566843

[gaim-migrate @ 8911] Daniel Atallah noticed a problem with my changes to the disconnect account dialog and submitted a patch. I did this instead because I think it's cleaner, but it might be an iota or three slower. But really, if you think about it, what's just one little iota when you sleep for BILLIONS of iotas a DAY? committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 31 Jan 2004 02:02:46 +0000
parents b75fa309b2c6
children 90a1fbd2493d
files src/gtkconn.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconn.c	Sat Jan 31 00:33:18 2004 +0000
+++ b/src/gtkconn.c	Sat Jan 31 02:02:46 2004 +0000
@@ -362,6 +362,7 @@
 		gaim_account_is_connected(account) ? _("_Remove") : _("_Reconnect"));
 	gtk_label_set_markup(GTK_LABEL(disconnect_window->label), label_text);
 	gtk_dialog_set_response_sensitive(GTK_DIALOG(disconnect_window->window), GTK_RESPONSE_ACCEPT, TRUE);
+	gtk_tree_model_get_iter_first(model, &iter);
 	if (gaim_account_is_connected(account) && !(gtk_tree_model_iter_next(model, &iter)))
 		gtk_widget_hide(disconnect_window->reconnect_btn);
 	else