diff options
author | William Jon McCann <jmccann@redhat.com> | 2012-07-20 23:31:54 -0400 |
---|---|---|
committer | William Jon McCann <jmccann@redhat.com> | 2012-07-21 11:09:54 -0400 |
commit | a89d1c27954abe07417171bc261bf1d99102e5f4 (patch) | |
tree | 86f2354851e920c32916945989ed445935bc47f4 | |
parent | 988e33f3af5ec2b9fe6fd85259dcf916700536b3 (diff) | |
download | nautilus-a89d1c27954abe07417171bc261bf1d99102e5f4.tar.gz |
Don't handle search for desktop windows
https://bugzilla.gnome.org/show_bug.cgi?id=680110
-rw-r--r-- | src/nautilus-window-slot.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c index feec42493..5a38c6b01 100644 --- a/src/nautilus-window-slot.c +++ b/src/nautilus-window-slot.c @@ -27,11 +27,11 @@ #include "nautilus-window-slot.h" #include "nautilus-actions.h" -#include "nautilus-desktop-window.h" #include "nautilus-toolbar.h" #include "nautilus-floating-bar.h" #include "nautilus-window-private.h" #include "nautilus-window-manage-views.h" +#include "nautilus-desktop-window.h" #include <glib/gi18n.h> @@ -56,6 +56,11 @@ gboolean nautilus_window_slot_handle_event (NautilusWindowSlot *slot, GdkEventKey *event) { + NautilusWindow *window; + + window = nautilus_window_slot_get_window (slot); + if (NAUTILUS_IS_DESKTOP_WINDOW (window)) + return FALSE; return nautilus_query_editor_handle_event (slot->query_editor, event); } |