Mercurial > pidgin
comparison gtk/gtkpluginpref.c @ 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 | 009db0b357b5 |
children | f19b9b39d71a |
comparison
equal
deleted
inserted
replaced
14874:71149a751439 | 14875:7357d46ba817 |
---|---|
152 g_object_set_data(G_OBJECT(imhtml), "pref-key", (gpointer)pref_name); | 152 g_object_set_data(G_OBJECT(imhtml), "pref-key", (gpointer)pref_name); |
153 g_signal_connect(G_OBJECT(gtk_text_view_get_buffer(GTK_TEXT_VIEW(imhtml))), | 153 g_signal_connect(G_OBJECT(gtk_text_view_get_buffer(GTK_TEXT_VIEW(imhtml))), |
154 "changed", G_CALLBACK(imhtml_cb), imhtml); | 154 "changed", G_CALLBACK(imhtml_cb), imhtml); |
155 g_signal_connect(G_OBJECT(imhtml), | 155 g_signal_connect(G_OBJECT(imhtml), |
156 "format_function_toggle", G_CALLBACK(imhtml_format_cb), imhtml); | 156 "format_function_toggle", G_CALLBACK(imhtml_format_cb), imhtml); |
157 gtk_box_pack_start(GTK_BOX(hbox), frame, FALSE, FALSE, 0); | 157 gtk_box_pack_start(GTK_BOX(hbox), frame, TRUE, TRUE, 0); |
158 } | 158 } |
159 | 159 |
160 break; | 160 break; |
161 } | 161 } |
162 } | 162 } |