changeset 28556:7a4832d1f3dd

Get rid of the "Auto-away" section on the status/idle tab. Move all those prefs to be under "Idle", where it makes more sense.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Wed, 11 Nov 2009 23:24:21 +0000
parents 3f1d39bac4cd
children 1c892675f054
files pidgin/gtkprefs.c
diffstat 1 files changed, 12 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkprefs.c	Wed Nov 11 19:48:59 2009 +0000
+++ b/pidgin/gtkprefs.c	Wed Nov 11 23:24:21 2009 +0000
@@ -2809,21 +2809,6 @@
 	gtk_size_group_add_widget(sg, dd);
 	gtk_misc_set_alignment(GTK_MISC(dd), 0, 0.5);
 
-	/* Away stuff */
-	vbox = pidgin_make_frame(ret, _("Away"));
-
-	dd = pidgin_prefs_dropdown(vbox, _("_Auto-reply:"),
-		PURPLE_PREF_STRING, "/purple/away/auto_reply",
-		_("Never"), "never",
-		_("When away"), "away",
-		_("When both away and idle"), "awayidle",
-		NULL);
-	gtk_size_group_add_widget(sg, dd);
-	gtk_misc_set_alignment(GTK_MISC(dd), 0, 0.5);
-
-	/* Auto-away stuff */
-	vbox = pidgin_make_frame(ret, _("Auto-away"));
-
 	select = pidgin_prefs_labeled_spin_button(vbox,
 			_("_Minutes before becoming idle:"), "/purple/away/mins_before_away",
 			1, 24 * 60, sg);
@@ -2844,6 +2829,18 @@
 		gtk_widget_set_sensitive(GTK_WIDGET(label), FALSE);
 	}
 
+	/* Away stuff */
+	vbox = pidgin_make_frame(ret, _("Away"));
+
+	dd = pidgin_prefs_dropdown(vbox, _("_Auto-reply:"),
+		PURPLE_PREF_STRING, "/purple/away/auto_reply",
+		_("Never"), "never",
+		_("When away"), "away",
+		_("When both away and idle"), "awayidle",
+		NULL);
+	gtk_size_group_add_widget(sg, dd);
+	gtk_misc_set_alignment(GTK_MISC(dd), 0, 0.5);
+
 	/* Signon status stuff */
 	vbox = pidgin_make_frame(ret, _("Status at Startup"));