changeset 14875:7357d46ba817

[gaim-migrate @ 17644] SF Patch #1586467 from Benjamin Moody - floppusmaximus "Currently if a plugin creates a multi-line, non-HTML string preference, i.e. a GaimPluginPref with type GAIM_PLUGIN_PREF_STRING_FORMAT and format-type GAIM_STRING_FORMAT_TYPE_MULTILINE, the resulting widget is extremely narrow and impossible to use. This is because the widget is packed into an hbox without allowing expansion (expand = fill = FALSE.) If HTML is enabled, the presence of the format bar forces the widget to be wide enough to be usable. Disabling HTML causes the format bar to be removed, so the widget is set to the minimum allowed size." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 01 Nov 2006 02:13:37 +0000
parents 71149a751439
children 70623f0d5cdc
files COPYRIGHT gtk/gtkpluginpref.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Wed Nov 01 01:27:16 2006 +0000
+++ b/COPYRIGHT	Wed Nov 01 02:13:37 2006 +0000
@@ -202,6 +202,7 @@
 Paul Miller
 Arkadiusz Miskiewicz
 Andrew Molloy
+Benjamin Moody
 Tim Mooney
 Sergio Moretto
 Christian Muise
--- a/gtk/gtkpluginpref.c	Wed Nov 01 01:27:16 2006 +0000
+++ b/gtk/gtkpluginpref.c	Wed Nov 01 02:13:37 2006 +0000
@@ -154,7 +154,7 @@
 								"changed", G_CALLBACK(imhtml_cb), imhtml);
 				g_signal_connect(G_OBJECT(imhtml),
 								"format_function_toggle", G_CALLBACK(imhtml_format_cb), imhtml);
-				gtk_box_pack_start(GTK_BOX(hbox), frame, FALSE, FALSE, 0);
+				gtk_box_pack_start(GTK_BOX(hbox), frame, TRUE, TRUE, 0);
 			}
 
 			break;