[gnome-builder/wip/gtk4-port: 566/1774] libide/editor: setup editor search too
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 566/1774] libide/editor: setup editor search too
- Date: Mon, 11 Jul 2022 22:31:16 +0000 (UTC)
commit b5183f4863c81d8fcf1b609449bb288d1fd2b4a7
Author: Christian Hergert <chergert redhat com>
Date: Wed Apr 13 11:13:16 2022 -0700
libide/editor: setup editor search too
src/libide/editor/ide-editor-workspace.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/src/libide/editor/ide-editor-workspace.c b/src/libide/editor/ide-editor-workspace.c
index 1f43e8100..2cd9f14ad 100644
--- a/src/libide/editor/ide-editor-workspace.c
+++ b/src/libide/editor/ide-editor-workspace.c
@@ -166,6 +166,12 @@ ide_editor_workspace_get_frame_at_position (IdeWorkspace *workspace,
self->grid);
}
+static gboolean
+ide_editor_workspace_can_search (IdeWorkspace *workspace)
+{
+ return TRUE;
+}
+
static void
ide_editor_workspace_dispose (GObject *object)
{
@@ -190,11 +196,12 @@ ide_editor_workspace_class_init (IdeEditorWorkspaceClass *klass)
object_class->dispose = ide_editor_workspace_dispose;
- workspace_class->context_set = ide_editor_workspace_context_set;
workspace_class->add_page = ide_editor_workspace_add_page;
workspace_class->add_pane = ide_editor_workspace_add_pane;
- workspace_class->get_most_recent_frame = ide_editor_workspace_get_most_recent_frame;
+ workspace_class->can_search = ide_editor_workspace_can_search;
+ workspace_class->context_set = ide_editor_workspace_context_set;
workspace_class->get_frame_at_position = ide_editor_workspace_get_frame_at_position;
+ workspace_class->get_most_recent_frame = ide_editor_workspace_get_most_recent_frame;
ide_workspace_class_set_kind (workspace_class, "editor");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]