Let TextView handle normal keys, to make cursor blink well

master
Yevgen Muntyan 2005-07-24 15:42:33 +00:00
parent d8ecebc03d
commit d5d1860907
1 changed files with 1 additions and 5 deletions

View File

@ -100,11 +100,7 @@ int _moo_edit_key_press_event (GtkWidget *widget,
text_view = GTK_TEXT_VIEW (widget);
buffer = edit->priv->text_buffer;
if (gtk_im_context_filter_keypress (text_view->im_context, event))
{
handled = TRUE;
}
else if (!mods)
if (!mods)
{
switch (keyval)
{