[gnome-builder/wip/gtk4-port] plugins/project-tree: re-enable some if 0 code
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] plugins/project-tree: re-enable some if 0 code
- Date: Wed, 6 Apr 2022 00:47:09 +0000 (UTC)
commit 7235b55ad34c0f228e0afa4ea47e67614233a1f4
Author: Christian Hergert <chergert redhat com>
Date: Tue Apr 5 17:47:04 2022 -0700
plugins/project-tree: re-enable some if 0 code
We have an "editorui" plugin now that can do opening.
src/plugins/project-tree/gbp-project-tree-pane-actions.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/src/plugins/project-tree/gbp-project-tree-pane-actions.c
b/src/plugins/project-tree/gbp-project-tree-pane-actions.c
index e29241951..a684acf71 100644
--- a/src/plugins/project-tree/gbp-project-tree-pane-actions.c
+++ b/src/plugins/project-tree/gbp-project-tree-pane-actions.c
@@ -24,9 +24,7 @@
#include <vte/vte.h>
-#if 0
#include <libide-editor.h>
-#endif
#include <libide-gtk.h>
#include <libide-projects.h>
@@ -77,10 +75,8 @@ new_action_completed_cb (GObject *object,
if (!(workbench = ide_widget_get_workbench (GTK_WIDGET (self->tree))))
return;
-#if 0
if (state->file != NULL)
- ide_workbench_open_async (workbench, state->file, "editor", 0, NULL, NULL, NULL);
-#endif
+ ide_workbench_open_async (workbench, state->file, "editorui", 0, NULL, NULL, NULL);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]