Lines 981-986
Link Here
|
981 |
win = gaim_conversation_get_window(conv); |
981 |
win = gaim_conversation_get_window(conv); |
982 |
gtkwin = GAIM_GTK_WINDOW(win); |
982 |
gtkwin = GAIM_GTK_WINDOW(win); |
983 |
|
983 |
|
|
|
984 |
/* check if the input method handles this keyevent or we can use it */ |
985 |
if (gtk_im_context_filter_keypress(GTK_TEXT_VIEW(gtkconv->entry)->im_context, event) == TRUE) return TRUE; |
986 |
|
984 |
if (event->keyval == GDK_Escape) { |
987 |
if (event->keyval == GDK_Escape) { |
985 |
if (convo_options & OPT_CONVO_ESC_CAN_CLOSE) { |
988 |
if (convo_options & OPT_CONVO_ESC_CAN_CLOSE) { |
986 |
g_signal_stop_emission_by_name(G_OBJECT(entry), "key_press_event"); |
989 |
g_signal_stop_emission_by_name(G_OBJECT(entry), "key_press_event"); |