[gnome-builder] terminal: display application output upon run
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] terminal: display application output upon run
- Date: Sat, 16 Jun 2018 21:11:06 +0000 (UTC)
commit abeb8f9f6219ecee02c5172d9a4a9be56f41b371
Author: Christian Hergert <chergert redhat com>
Date: Sat Jun 16 14:10:01 2018 -0700
terminal: display application output upon run
Previously we had a race where any attempt to display this would
immediately disappear due to a transient grab (after focus returned to the
editor window). But if we use dzl_dock_item_present(), it will cancel any
transient grab so it stays visible.
Related to #540
src/plugins/terminal/gb-terminal-workbench-addin.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/terminal/gb-terminal-workbench-addin.c
b/src/plugins/terminal/gb-terminal-workbench-addin.c
index 2018a4160..470a663d0 100644
--- a/src/plugins/terminal/gb-terminal-workbench-addin.c
+++ b/src/plugins/terminal/gb-terminal-workbench-addin.c
@@ -230,6 +230,8 @@ on_run_manager_run (GbTerminalWorkbenchAddin *self,
gb_terminal_view_feed (self->run_terminal, _("Application starting...\r\n"));
+ dzl_dock_item_present (DZL_DOCK_ITEM (self->run_panel));
+
failure:
g_clear_object (&pty);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]