summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/gaim/files/gaim_gtkimcontext_patch.diff')
-rw-r--r--net-im/gaim/files/gaim_gtkimcontext_patch.diff31
1 files changed, 0 insertions, 31 deletions
diff --git a/net-im/gaim/files/gaim_gtkimcontext_patch.diff b/net-im/gaim/files/gaim_gtkimcontext_patch.diff
deleted file mode 100644
index ec548e080c35..000000000000
--- a/net-im/gaim/files/gaim_gtkimcontext_patch.diff
+++ /dev/null
@@ -1,31 +0,0 @@
---- gtkconv.c 2003-07-18 09:57:39.000000000 +0900
-+++ gtkconv.c.new 2003-08-03 23:11:17.000000000 +0900
-@@ -1134,12 +1134,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_Escape) {
- if (gaim_prefs_get_bool("/gaim/gtk/conversations/escape_closes")) {
- g_signal_stop_emission_by_name(G_OBJECT(entry), "key_press_event");