summaryrefslogtreecommitdiff
path: root/chat/xchat2/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'chat/xchat2/patches/patch-aa')
-rw-r--r--chat/xchat2/patches/patch-aa29
1 files changed, 18 insertions, 11 deletions
diff --git a/chat/xchat2/patches/patch-aa b/chat/xchat2/patches/patch-aa
index f32ee615db2..11fafd51cee 100644
--- a/chat/xchat2/patches/patch-aa
+++ b/chat/xchat2/patches/patch-aa
@@ -1,13 +1,20 @@
-$NetBSD: patch-aa,v 1.4 2004/07/02 08:04:18 minskim Exp $
+$NetBSD: patch-aa,v 1.5 2004/08/04 21:36:52 minskim Exp $$)C
---- src/common/util.c.orig 2004-06-18 23:26:29.000000000 -0500
-+++ src/common/util.c
-@@ -631,7 +631,7 @@ get_cpu_str (void)
- } else
- #endif
- snprintf (buf, 128,
-- (cpus == 1) ? "%s %s [%s]" : "%s %s [%s/SMP]",
-+ "%s %s [%s]",
- un.sysname, un.release, un.machine);
+--- src/fe-gtk/fkeys.c.orig 2004-07-01 11:28:43.000000000 -0500
++++ src/fe-gtk/fkeys.c
+@@ -1368,9 +1368,14 @@ key_action_tab_comp (GtkWidget *t, GdkEv
+ prefix_len, skip_len = 0, is_nick, is_cmd = 0;
+ char buf[COMP_BUF], ent[CHANLEN], *postfix = NULL, *result, *ch;
+ GList *list = NULL, *tmp_list = NULL;
+- const char *text = gtk_entry_get_text (GTK_ENTRY (t));
++ const char *text;
+ GCompletion *gcomp = NULL;
+
++ /* force the IM Context to reset */
++ gtk_editable_set_editable (GTK_EDITABLE (t), FALSE);
++ gtk_editable_set_editable (GTK_EDITABLE (t), TRUE);
++
++ text = GTK_ENTRY (t)->text;
+ if (text[0] == 0)
+ return 1;
- return buf;