changeset 7762:5f1908a49c78

[gaim-migrate @ 8407] I broke things. Yet another example why you shouldn't work on code when you're dead tired at night. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 05 Dec 2003 16:22:49 +0000
parents 946120d41b77
children dc79649b829d
files src/gtkaccount.c
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkaccount.c	Fri Dec 05 16:08:33 2003 +0000
+++ b/src/gtkaccount.c	Fri Dec 05 16:22:49 2003 +0000
@@ -1837,12 +1837,8 @@
 static void
 account_selected_cb(GtkTreeSelection *sel, AccountsWindow *dialog)
 {
-	gboolean sensitive;
-
-	sensitive = gtk_tree_selection_get_selected(sel, NULL, NULL);
-
-	gtk_widget_set_sensitive(dialog->modify_button, sensitive);
-	gtk_widget_set_sensitive(dialog->delete_button, sensitive);
+	gtk_widget_set_sensitive(dialog->modify_button, TRUE);
+	gtk_widget_set_sensitive(dialog->delete_button, TRUE);
 }
 
 static GtkWidget *