diff options
author | Cody Russell <crussell@canonical.com> | 2010-09-13 19:31:26 -0500 |
---|---|---|
committer | Cody Russell <crussell@canonical.com> | 2010-09-13 19:31:26 -0500 |
commit | f3ca63f0d411a477a5ccbb4faa4ab7c625705ffe (patch) | |
tree | d1295b019d07ea56dd5610b16c1f13c1d0cef89d /src/idoentrymenuitem.c | |
parent | 8a939cf2afb51763af03f765384133c99a682576 (diff) | |
parent | 308c3076f469685fbb074b805476f22f6771ccf6 (diff) | |
download | ayatana-ido-f3ca63f0d411a477a5ccbb4faa4ab7c625705ffe.tar.gz ayatana-ido-f3ca63f0d411a477a5ccbb4faa4ab7c625705ffe.tar.bz2 ayatana-ido-f3ca63f0d411a477a5ccbb4faa4ab7c625705ffe.zip |
Merge fix for bug #635370
Diffstat (limited to 'src/idoentrymenuitem.c')
-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; |