cpw.rekkanoryo.prefs_window: 753538dd: Ok, clearly I'm an idiot. I removed the...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Tue Nov 17 01:50:44 EST 2009


-----------------------------------------------------------------
Revision: 753538dd05ced6c0319b4bbabd7cac8fb6edee28
Ancestor: 7bf03624c836a9d7e0b8b87e2528ef4195702631
Author: rekkanoryo at pidgin.im
Date: 2009-11-17T06:49:12
Branch: im.pidgin.cpw.rekkanoryo.prefs_window
URL: http://d.pidgin.im/viewmtn/revision/info/753538dd05ced6c0319b4bbabd7cac8fb6edee28

Modified files:
        pidgin/gtkprefs.c

ChangeLog: 

Ok, clearly I'm an idiot.  I removed the right line but from the wrong block.
Now dvpdiner2's crash should really be fixed.

-------------- next part --------------
============================================================
--- pidgin/gtkprefs.c	ba4e1f0f2302e6d7dfd404811756e4ca0086d316
+++ pidgin/gtkprefs.c	657754c0a445e772a6c2c6e3cf8b2d84261948a6
@@ -2633,10 +2633,8 @@ away_page(void)
 	g_signal_connect(G_OBJECT(button), "clicked",
 			 G_CALLBACK(pidgin_toggle_sensitive), menu);
 
-	if (!purple_prefs_get_bool("/purple/away/away_when_idle")) {
+	if(!purple_prefs_get_bool("/purple/away/away_when_idle"))
 		gtk_widget_set_sensitive(GTK_WIDGET(menu), FALSE);
-		gtk_widget_set_sensitive(GTK_WIDGET(label), FALSE);
-	}
 
 	/* Away stuff */
 	vbox = pidgin_make_frame(ret, _("Away"));
@@ -2666,8 +2664,10 @@ away_page(void)
 	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);


More information about the Commits mailing list