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:
Matthias Clasen 2004-12-06 05:21:39 +00:00 committed by Matthias Clasen
parent 67643f6f4b
commit a1178ee76d
5 changed files with 24 additions and 0 deletions

View File

@ -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>
* gtk/gtkcolorsel.c (key_press): Implement keynav for the color

View File

@ -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>
* gtk/gtkcolorsel.c (key_press): Implement keynav for the color

View File

@ -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>
* gtk/gtkcolorsel.c (key_press): Implement keynav for the color

View File

@ -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>
* gtk/gtkcolorsel.c (key_press): Implement keynav for the color

View File

@ -312,6 +312,9 @@ gtk_im_context_ime_filter_keypress (GtkIMContext *context,
if (event->type == GDK_KEY_RELEASE)
return FALSE;
if (event->state & GDK_CONTROL_MASK)
return FALSE;
context_ime = GTK_IM_CONTEXT_IME (context);
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_free (utf8str);
retval = TRUE;
}
}