diff pidgin/gtkprefs.c @ 22826:958f9379eb1a

Add a "minimum lines" pref for the im entry box thing; up to 8 lines. * This uses a spinbutton for the prefs; who wants to make this a slider? * The string is clumsy. Sorry. * The example imhtml in the prefs dialog doesn't change size to match the pref; I think Sadrul wanted this to happen?
author Will Thompson <will.thompson@collabora.co.uk>
date Sat, 03 May 2008 17:36:17 +0000
parents d2af1ee7448b
children d2c7f183c08f
line wrap: on
line diff
--- a/pidgin/gtkprefs.c	Sat May 03 07:27:25 2008 +0000
+++ b/pidgin/gtkprefs.c	Sat May 03 17:36:17 2008 +0000
@@ -1074,6 +1074,12 @@
 	pidgin_prefs_checkbox(_("Minimi_ze new conversation windows"), PIDGIN_PREFS_ROOT "/win32/minimize_new_convs", vbox);
 #endif
 
+	pidgin_prefs_labeled_spin_button(vbox,
+		_("Minimum lines of text to show in message input"),
+		PIDGIN_PREFS_ROOT "/conversations/minimum_entry_lines",
+		1, 8, NULL);
+
+
 #if GTK_CHECK_VERSION(2,4,0)
 	vbox = pidgin_make_frame(ret, _("Font"));
 	if (purple_running_gnome())