changeset 28959:11909a84be9f

This should fix dvpdiner2's crash.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Tue, 17 Nov 2009 05:59:51 +0000
parents afced6be9972
children b027d1d97edb
files pidgin/gtkprefs.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkprefs.c	Mon Nov 16 08:10:44 2009 +0000
+++ b/pidgin/gtkprefs.c	Tue Nov 17 05:59:51 2009 +0000
@@ -2645,10 +2645,8 @@
 	g_signal_connect(G_OBJECT(button), "clicked",
 					 G_CALLBACK(pidgin_toggle_sensitive), label);
 
-	if (purple_prefs_get_bool("/purple/savedstatus/startup_current_status")) {
+	if(purple_prefs_get_bool("/purple/savedstatus/startup_current_status"))
 		gtk_widget_set_sensitive(GTK_WIDGET(menu), FALSE);
-		gtk_widget_set_sensitive(GTK_WIDGET(label), FALSE);
-	}
 
 	gtk_widget_show_all(ret);
 	g_object_unref(sg);