diff options
author | Carlos Soriano <csoriano@gnome.org> | 2018-04-16 22:36:05 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2018-04-16 22:36:05 +0200 |
commit | 0b7b7c0ef4a04133562c72e7632186beae487f2a (patch) | |
tree | bbe34e601a3ffbe1bbe636c2956efbb8a745a4ae /src/nautilus-window-slot.c | |
parent | 7e0462d6b8f135d18bb9a1126271b14fc8fd6547 (diff) | |
download | nautilus-0b7b7c0ef4a04133562c72e7632186beae487f2a.tar.gz |
Prototype actions in headerbaractions-in-header-bar
Diffstat (limited to 'src/nautilus-window-slot.c')
-rw-r--r-- | src/nautilus-window-slot.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c index 449b64e16..d35144830 100644 --- a/src/nautilus-window-slot.c +++ b/src/nautilus-window-slot.c @@ -644,8 +644,8 @@ nautilus_window_slot_handle_event (NautilusWindowSlot *self, /* If the action is not enabled, don't try to handle search */ if (g_action_get_enabled (action)) { - retval = gtk_search_bar_handle_event (GTK_SEARCH_BAR (priv->query_editor), - (GdkEvent *) event); + retval = nautilus_query_editor_handle_event (priv->query_editor, + (GdkEvent *) event); } if (retval) @@ -929,12 +929,12 @@ action_search_visible (GSimpleAction *action, if (g_variant_get_boolean (state)) { show_query_editor (self); - g_object_set (self, "searching", TRUE, NULL); + nautilus_window_slot_set_searching (self, TRUE); } else { hide_query_editor (self); - g_object_set (self, "searching", FALSE, NULL); + nautilus_window_slot_set_searching (self, FALSE); } } |