summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/hexchat/files/hexchat-2.9.1-input-box.patch')
-rw-r--r--net-irc/hexchat/files/hexchat-2.9.1-input-box.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/net-irc/hexchat/files/hexchat-2.9.1-input-box.patch b/net-irc/hexchat/files/hexchat-2.9.1-input-box.patch
new file mode 100644
index 000000000000..e4bb2d5380a2
--- /dev/null
+++ b/net-irc/hexchat/files/hexchat-2.9.1-input-box.patch
@@ -0,0 +1,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 ();