[gnome-builder/wip/chergert/layout] terminal: fix splits and use proper close action
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/layout] terminal: fix splits and use proper close action
- Date: Mon, 3 Jul 2017 10:46:40 +0000 (UTC)
commit f1cd682630435450913c469edba760be9e83a430
Author: Christian Hergert <chergert redhat com>
Date: Mon Jul 3 03:46:30 2017 -0700
terminal: fix splits and use proper close action
plugins/terminal/gb-terminal-view.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/plugins/terminal/gb-terminal-view.c b/plugins/terminal/gb-terminal-view.c
index dee7cde..589ecbc 100644
--- a/plugins/terminal/gb-terminal-view.c
+++ b/plugins/terminal/gb-terminal-view.c
@@ -162,7 +162,7 @@ gb_terminal_view_wait_cb (GObject *object,
if (self == NULL)
IDE_GOTO (failure);
- if (!dzl_gtk_widget_action (GTK_WIDGET (self), "view-stack", "close", NULL))
+ if (!dzl_gtk_widget_action (GTK_WIDGET (self), "layoutstack", "close-view", NULL))
{
if (!gtk_widget_in_destruction (GTK_WIDGET (terminal)))
gb_terminal_respawn (self, terminal);
@@ -713,6 +713,8 @@ gb_terminal_view_init (GbTerminalView *self)
gtk_widget_init_template (GTK_WIDGET (self));
+ ide_layout_view_set_can_split (IDE_LAYOUT_VIEW (self), TRUE);
+
gtk_overlay_add_overlay (self->terminal_overlay_top,
GTK_WIDGET (self->search_revealer_top));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]