diff options
-rw-r--r-- | src/idoentrymenuitem.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/idoentrymenuitem.c b/src/idoentrymenuitem.c index 251d108..b68c18f 100644 --- a/src/idoentrymenuitem.c +++ b/src/idoentrymenuitem.c @@ -145,16 +145,6 @@ ido_entry_menu_item_key_press (GtkWidget *widget, gtk_widget_event (entry, ((GdkEvent *)(void*)(event))); - if (entry->window != NULL) - { - gdk_window_raise (entry->window); - } - - if (!gtk_widget_has_focus (entry)) - { - gtk_widget_grab_focus (entry); - } - /* We've handled the event, but if the key was GDK_Return * we still want to forward the event up to the menu shell * to ensure that the menuitem receives the activate signal. @@ -173,9 +163,6 @@ ido_entry_menu_item_send_focus_change (GtkWidget *widget, g_object_ref (widget); - if (in) - gtk_widget_grab_focus (widget); - event->focus_change.type = GDK_FOCUS_CHANGE; event->focus_change.window = g_object_ref (widget->window); event->focus_change.in = in; |