Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 17201 Details for
Bug 24657
Patch for gaim CJK input problem with immodules
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Botond's patch which modified to gaim 0.68.
gaim_gtkimcontext_patch.diff (text/plain), 1.10 KB, created by
Park Ji-in
on 2003-09-06 16:28:53 UTC
(
hide
)
Description:
Botond's patch which modified to gaim 0.68.
Filename:
MIME Type:
Creator:
Park Ji-in
Created:
2003-09-06 16:28:53 UTC
Size:
1.10 KB
patch
obsolete
>diff -uNr gaim-0.68.orig/src/gtkconv.c gaim-0.68/src/gtkconv.c >--- gaim-0.68.orig/src/gtkconv.c 2003-09-07 01:22:47.000000000 +0900 >+++ gaim-0.68/src/gtkconv.c 2003-09-07 01:25:08.000000000 +0900 >@@ -1136,12 +1136,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"); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 24657
:
14613
|
14614
|
14615
|
15428
|
15435
| 17201