1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
--- src/fe-gtk/maingui.c.old 2012-07-27 19:42:13.883027123 +0200
+++ src/fe-gtk/maingui.c 2012-07-27 19:43:28.269021617 +0200
@@ -2802,7 +2802,7 @@
static void
mg_create_entry (session *sess, GtkWidget *box)
{
- GtkWidget *hbox, *but, *entry;
+ GtkWidget *hbox, *but, *entry, *mybox;
#ifdef USE_GTKSPELL
GtkWidget *sw;
#endif
@@ -2823,7 +2823,7 @@
#ifdef USE_GTKSPELL
gui->input_box = entry = gtk_text_view_new ();
- gtk_widget_set_size_request (entry, 0, 1);
+ gtk_widget_set_size_request (entry, 0, -1);
gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (entry), GTK_WRAP_NONE);
gtk_text_view_set_accepts_tab (GTK_TEXT_VIEW (entry), FALSE);
if (prefs.gui_input_spell)
@@ -2836,7 +2836,9 @@
GTK_POLICY_NEVER,
GTK_POLICY_NEVER);
gtk_container_add (GTK_CONTAINER (sw), entry);
- gtk_container_add (GTK_CONTAINER (hbox), sw);
+ mybox = gtk_vbox_new(FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (mybox), sw, 1, 0, 0);
+ gtk_box_pack_start (GTK_BOX (hbox), mybox, 1, 1, 0);
#else
#ifdef USE_LIBSEXY
gui->input_box = entry = sexy_spell_entry_new ();
|