Mercurial > pidgin
changeset 28582:36de2b72f82b
Ok, clearly I'm an idiot. I removed the right line but from the wrong block.
Now dvpdiner2's crash should really be fixed.
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Tue, 17 Nov 2009 06:49:12 +0000 |
parents | b027d1d97edb |
children | bc2b63a14e4e |
files | pidgin/gtkprefs.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkprefs.c Tue Nov 17 06:45:20 2009 +0000 +++ b/pidgin/gtkprefs.c Tue Nov 17 06:49:12 2009 +0000 @@ -2633,10 +2633,8 @@ 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 @@ 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);