diff src/prefs.c @ 1773:6d1d9e988fd4

[gaim-migrate @ 1783] Away message queueue thingy. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Mon, 30 Apr 2001 06:02:06 +0000
parents 3dfe4aefd366
children d7cbedd1d651
line wrap: on
line diff
--- a/src/prefs.c	Mon Apr 30 01:58:24 2001 +0000
+++ b/src/prefs.c	Mon Apr 30 06:02:06 2001 +0000
@@ -431,6 +431,7 @@
 	gaim_button(_("Show URLs as links"), &general_options, OPT_GEN_SEND_LINKS, vbox);
 	gaim_button(_("Highlight misspelled words"), &general_options, OPT_GEN_CHECK_SPELLING, vbox);
 	gaim_button(_("Sending messages removes away status"), &general_options, OPT_GEN_BACK_ON_IM, vbox);
+	gaim_button(_("Queue new messages when away"), &general_options, OPT_GEN_QUEUE_WHEN_AWAY, vbox);
 
 	vbox = gtk_vbox_new(TRUE, 5);
 	gtk_box_pack_start(GTK_BOX(hbox), vbox, TRUE, TRUE, 5);
@@ -2213,6 +2214,9 @@
 	if ((int)option == OPT_GEN_CHECK_SPELLING)
 		toggle_spellchk();
 
+	if ((int)option == OPT_GEN_QUEUE_WHEN_AWAY)
+		toggle_away_queue();
+
 	save_prefs();
 }