Mercurial > pidgin.yaz
comparison pidgin/gtkprefs.c @ 22802: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 |
comparison
equal
deleted
inserted
replaced
22801:6fe3a32c5ee9 | 22802:958f9379eb1a |
---|---|
1071 #ifdef _WIN32 | 1071 #ifdef _WIN32 |
1072 pidgin_prefs_checkbox(_("F_lash window when IMs are received"), PIDGIN_PREFS_ROOT "/win32/blink_im", vbox); | 1072 pidgin_prefs_checkbox(_("F_lash window when IMs are received"), PIDGIN_PREFS_ROOT "/win32/blink_im", vbox); |
1073 | 1073 |
1074 pidgin_prefs_checkbox(_("Minimi_ze new conversation windows"), PIDGIN_PREFS_ROOT "/win32/minimize_new_convs", vbox); | 1074 pidgin_prefs_checkbox(_("Minimi_ze new conversation windows"), PIDGIN_PREFS_ROOT "/win32/minimize_new_convs", vbox); |
1075 #endif | 1075 #endif |
1076 | |
1077 pidgin_prefs_labeled_spin_button(vbox, | |
1078 _("Minimum lines of text to show in message input"), | |
1079 PIDGIN_PREFS_ROOT "/conversations/minimum_entry_lines", | |
1080 1, 8, NULL); | |
1081 | |
1076 | 1082 |
1077 #if GTK_CHECK_VERSION(2,4,0) | 1083 #if GTK_CHECK_VERSION(2,4,0) |
1078 vbox = pidgin_make_frame(ret, _("Font")); | 1084 vbox = pidgin_make_frame(ret, _("Font")); |
1079 if (purple_running_gnome()) | 1085 if (purple_running_gnome()) |
1080 fontpref = pidgin_prefs_checkbox(_("Use document font from _theme"), PIDGIN_PREFS_ROOT "/conversations/use_theme_font", vbox); | 1086 fontpref = pidgin_prefs_checkbox(_("Use document font from _theme"), PIDGIN_PREFS_ROOT "/conversations/use_theme_font", vbox); |