[gnome-builder] libide/editor: fix escape while in search bar
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide/editor: fix escape while in search bar
- Date: Thu, 28 Jul 2022 18:09:45 +0000 (UTC)
commit 08e29c84b1342dda2be038cba0350f73b73f960f
Author: Christian Hergert <chergert redhat com>
Date: Thu Jul 28 10:58:08 2022 -0700
libide/editor: fix escape while in search bar
src/libide/editor/ide-editor-search-bar.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libide/editor/ide-editor-search-bar.c b/src/libide/editor/ide-editor-search-bar.c
index f7bea57db..17d424244 100644
--- a/src/libide/editor/ide-editor-search-bar.c
+++ b/src/libide/editor/ide-editor-search-bar.c
@@ -322,7 +322,7 @@ on_search_key_pressed_cb (GtkEventControllerKey *key,
guint keyval,
guint keycode,
GdkModifierType state,
- IdeEditorSearchBar *self)
+ IdeEditorSearchBar *self)
{
g_assert (GTK_IS_EVENT_CONTROLLER_KEY (key));
g_assert (IDE_IS_EDITOR_SEARCH_BAR (self));
@@ -554,7 +554,7 @@ ide_editor_search_bar_class_init (IdeEditorSearchBarClass *klass)
gtk_widget_class_install_action (widget_class, "search.replace-one", NULL, search_replace_one);
gtk_widget_class_install_action (widget_class, "search.replace-all", NULL, search_replace_all);
- gtk_widget_class_add_binding_action (widget_class, GDK_KEY_Escape, 0, "search.hide", NULL);
+ gtk_widget_class_add_binding_action (widget_class, GDK_KEY_Escape, 0, "page.search.hide", NULL);
g_type_ensure (IDE_TYPE_SEARCH_ENTRY);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]