summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/gaim/files/gaim-0.73_cjk_gtkconv.patch')
-rw-r--r--net-im/gaim/files/gaim-0.73_cjk_gtkconv.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/net-im/gaim/files/gaim-0.73_cjk_gtkconv.patch b/net-im/gaim/files/gaim-0.73_cjk_gtkconv.patch
deleted file mode 100644
index d09930da7fff..000000000000
--- a/net-im/gaim/files/gaim-0.73_cjk_gtkconv.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -ruN gaim-0.73.orig/src/gtkconv.c gaim-0.73/src/gtkconv.c
---- gaim-0.73.orig/src/gtkconv.c 2003-11-21 12:12:55.000000000 -0600
-+++ gaim-0.73/src/gtkconv.c 2003-11-22 10:04:46.000000000 -0600
-@@ -1279,12 +1279,28 @@
- GaimConversation *conv;
- GaimGtkConversation *gtkconv;
- GaimGtkWindow *gtkwin;
-+ gboolean im_context_retval = FALSE;
-+ static guint32 last_event_time;
-
- conv = (GaimConversation *)data;
- gtkconv = GAIM_GTK_CONVERSATION(conv);
- win = gaim_conversation_get_window(conv);
- gtkwin = GAIM_GTK_WINDOW(win);
-
-+ /*
-+ * Check if the input method handles this keyevent or we can use it.
-+ * We need to check the event time, otherwise the gtk xim module gets into an event loop (bug?)
-+ * Maybe this is not the best solution, but it works.
-+ */
-+
-+ if (last_event_time != event->time) {
-+ im_context_retval = gtk_im_context_filter_keypress(GTK_TEXT_VIEW(gtkconv->entry)->im_context, event);
-+ }
-+ last_event_time = event->time;
-+ if (im_context_retval == TRUE) {
-+ return TRUE;
-+ }
-+
- if (event->keyval == GDK_Page_Up) {
- g_signal_stop_emission_by_name(G_OBJECT(entry), "key_press_event");
-