[gaim-migrate @ 17644]

Wed, 01 Nov 2006 02:13:37 +0000

author
Benjamin Moody
date
Wed, 01 Nov 2006 02:13:37 +0000
changeset 14937
d09c897e41f5
parent 14936
b4e907b75205
child 14938
ee27e45919ef

[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: Richard Laager <rlaager@pidgin.im>

COPYRIGHT file | annotate | diff | comparison | revisions
gtk/gtkpluginpref.c file | annotate | diff | comparison | revisions
--- 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;

mercurial