Prevent double commits, don't commit when Ctrl is present. (#160376,
2004-12-06 Matthias Clasen <mclasen@redhat.com> * modules/input/gtkimcontextime.c: Prevent double commits, don't commit when Ctrl is present. (#160376, Kazuki IWAMOTO)
This commit is contained in:
parent
67643f6f4b
commit
a1178ee76d
@ -1,3 +1,8 @@
|
|||||||
|
2004-12-06 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* modules/input/gtkimcontextime.c: Prevent double commits,
|
||||||
|
don't commit when Ctrl is present. (#160376, Kazuki IWAMOTO)
|
||||||
|
|
||||||
2004-12-06 Hans Breuer <hans@breuer.org>
|
2004-12-06 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
* gtk/gtkcolorsel.c (key_press): Implement keynav for the color
|
* gtk/gtkcolorsel.c (key_press): Implement keynav for the color
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-12-06 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* modules/input/gtkimcontextime.c: Prevent double commits,
|
||||||
|
don't commit when Ctrl is present. (#160376, Kazuki IWAMOTO)
|
||||||
|
|
||||||
2004-12-06 Hans Breuer <hans@breuer.org>
|
2004-12-06 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
* gtk/gtkcolorsel.c (key_press): Implement keynav for the color
|
* gtk/gtkcolorsel.c (key_press): Implement keynav for the color
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-12-06 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* modules/input/gtkimcontextime.c: Prevent double commits,
|
||||||
|
don't commit when Ctrl is present. (#160376, Kazuki IWAMOTO)
|
||||||
|
|
||||||
2004-12-06 Hans Breuer <hans@breuer.org>
|
2004-12-06 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
* gtk/gtkcolorsel.c (key_press): Implement keynav for the color
|
* gtk/gtkcolorsel.c (key_press): Implement keynav for the color
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-12-06 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* modules/input/gtkimcontextime.c: Prevent double commits,
|
||||||
|
don't commit when Ctrl is present. (#160376, Kazuki IWAMOTO)
|
||||||
|
|
||||||
2004-12-06 Hans Breuer <hans@breuer.org>
|
2004-12-06 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
* gtk/gtkcolorsel.c (key_press): Implement keynav for the color
|
* gtk/gtkcolorsel.c (key_press): Implement keynav for the color
|
||||||
|
@ -312,6 +312,9 @@ gtk_im_context_ime_filter_keypress (GtkIMContext *context,
|
|||||||
if (event->type == GDK_KEY_RELEASE)
|
if (event->type == GDK_KEY_RELEASE)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
if (event->state & GDK_CONTROL_MASK)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
context_ime = GTK_IM_CONTEXT_IME (context);
|
context_ime = GTK_IM_CONTEXT_IME (context);
|
||||||
|
|
||||||
if (!context_ime->focus)
|
if (!context_ime->focus)
|
||||||
@ -971,6 +974,7 @@ gtk_im_context_ime_message_filter (GdkXEvent *xevent,
|
|||||||
{
|
{
|
||||||
g_signal_emit_by_name (context, "commit", utf8str);
|
g_signal_emit_by_name (context, "commit", utf8str);
|
||||||
g_free (utf8str);
|
g_free (utf8str);
|
||||||
|
retval = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user