diff options
author | minskim <minskim> | 2004-06-03 19:13:02 +0000 |
---|---|---|
committer | minskim <minskim> | 2004-06-03 19:13:02 +0000 |
commit | e8a31c3b9e2d9733715dee81df225c27b83b0b6d (patch) | |
tree | b43f294db79e510d693fc480a64ff5ae7ba9d727 /chat/gaim/patches | |
parent | 692a94803d292d6edeb980c3e60101f41df39cd7 (diff) | |
download | pkgsrc-e8a31c3b9e2d9733715dee81df225c27b83b0b6d.tar.gz |
Add a workaround for a GTK+ bug (GNOME bugzilla #62948). Patch
borrowed from Gentoo Portage. OK'ed by jmmv@.
Bump PKGREVISION.
Diffstat (limited to 'chat/gaim/patches')
-rw-r--r-- | chat/gaim/patches/patch-aa | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/chat/gaim/patches/patch-aa b/chat/gaim/patches/patch-aa new file mode 100644 index 00000000000..53b23f7afab --- /dev/null +++ b/chat/gaim/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.22 2004/06/03 19:13:02 minskim Exp $ + +Workaround for http://bugzilla.gnome.org/show_bug.cgi?id=62948 + +--- src/gtkconv.c.orig 2004-05-30 11:44:45.000000000 -0500 ++++ src/gtkconv.c +@@ -1478,6 +1478,11 @@ entry_key_press_cb(GtkWidget *entry, Gdk + if (!(event->state & (GDK_SHIFT_MASK | GDK_CONTROL_MASK)) && + gaim_prefs_get_bool("/gaim/gtk/conversations/enter_sends")) + { ++ if (gtk_im_context_filter_keypress (GTK_TEXT_VIEW (entry)->im_context, event)) ++ { ++ GTK_TEXT_VIEW (entry)->need_im_reset = TRUE; ++ return TRUE; ++ } + send_cb(NULL, conv); + return TRUE; + } |