cpw.rekkanoryo.prefs_window: a6783acf: This should fix dvpdiner2's crash.

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Tue Nov 17 01:06:10 EST 2009


-----------------------------------------------------------------
Revision: a6783acf13c4853434b0b394f4eb8d090100d790
Ancestor: 586a40e15e5fbeca3a36424b078c57fcfd1761e3
Author: rekkanoryo at pidgin.im
Date: 2009-11-17T05:59:51
Branch: im.pidgin.cpw.rekkanoryo.prefs_window
URL: http://d.pidgin.im/viewmtn/revision/info/a6783acf13c4853434b0b394f4eb8d090100d790

Modified files:
        pidgin/gtkprefs.c

ChangeLog: 

This should fix dvpdiner2's crash.

-------------- next part --------------
============================================================
--- pidgin/gtkprefs.c	9eff16219d5923f9043c386986adfc52f7ef981e
+++ pidgin/gtkprefs.c	fc01265e9f203fa936a90513d7b0631d30c1219d
@@ -2645,10 +2645,8 @@ 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