rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / desktop / gftp / patches / 05-g11n-im-filter.patch
blob3e58cd8d388b1b03042f0724b90df4864c9718da
1 --- gftp-2.9.1b/src/gtk/misc-gtk.c.old 2024-07-01 22:19:57.182100428 -0400
2 +++ gftp-2.9.1b/src/gtk/misc-gtk.c 2024-07-01 22:20:45.592240469 -0400
3 @@ -632,6 +632,15 @@
4 dialog_keypress (GtkWidget * widget, GdkEventKey * event, gpointer data)
6 DEBUG_PRINT_FUNC
7 + if (GTK_ENTRY (widget)->editable)
8 + {
9 + if (gtk_im_context_filter_keypress (GTK_ENTRY (widget)->im_context, event))
10 + {
11 + GTK_ENTRY (widget)->need_im_reset = TRUE;
12 + return TRUE;
13 + }
14 + }
16 if (event->keyval == GDK_KP_Enter || event->keyval == GDK_Return)
18 dialog_response (NULL, GTK_RESPONSE_YES, data);