mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
Don't commit unless we got at least one hex digit. (#70619)
Mon Feb 18 12:31:52 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): Don't commit unless we got at least one hex digit. (#70619)
This commit is contained in:
parent
2e8d083c3c
commit
6f58c368d8
@ -1,3 +1,8 @@
|
||||
Mon Feb 18 12:31:52 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
|
||||
Don't commit unless we got at least one hex digit. (#70619)
|
||||
|
||||
Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* Released 1.3.14
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Feb 18 12:31:52 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
|
||||
Don't commit unless we got at least one hex digit. (#70619)
|
||||
|
||||
Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* Released 1.3.14
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Feb 18 12:31:52 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
|
||||
Don't commit unless we got at least one hex digit. (#70619)
|
||||
|
||||
Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* Released 1.3.14
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Feb 18 12:31:52 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
|
||||
Don't commit unless we got at least one hex digit. (#70619)
|
||||
|
||||
Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* Released 1.3.14
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Feb 18 12:31:52 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
|
||||
Don't commit unless we got at least one hex digit. (#70619)
|
||||
|
||||
Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* Released 1.3.14
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Feb 18 12:31:52 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
|
||||
Don't commit unless we got at least one hex digit. (#70619)
|
||||
|
||||
Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* Released 1.3.14
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Feb 18 12:31:52 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
|
||||
Don't commit unless we got at least one hex digit. (#70619)
|
||||
|
||||
Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* Released 1.3.14
|
||||
|
@ -1121,9 +1121,14 @@ gtk_im_context_simple_filter_keypress (GtkIMContext *context,
|
||||
if (context_simple->in_hex_sequence &&
|
||||
(event->keyval == GDK_Control_L || event->keyval == GDK_Control_R ||
|
||||
event->keyval == GDK_Shift_L || event->keyval == GDK_Shift_R))
|
||||
{
|
||||
if (context_simple->tentative_match)
|
||||
{
|
||||
gtk_im_context_simple_commit_char (context, context_simple->tentative_match);
|
||||
context_simple->compose_buffer[0] = 0;
|
||||
}
|
||||
else
|
||||
context_simple->in_hex_sequence = 0;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user