[gnome-builder] buildui: fix transient grab with build log
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] buildui: fix transient grab with build log
- Date: Tue, 26 Jun 2018 06:02:22 +0000 (UTC)
commit f169e544e385308b7174a0ad3e0b634007e7a452
Author: Christian Hergert <chergert redhat com>
Date: Mon Jun 25 23:01:31 2018 -0700
buildui: fix transient grab with build log
Dazzle master now has support to drop the transient grab when the right
dock item API is used.
src/libide/buildui/ide-build-workbench-addin.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/libide/buildui/ide-build-workbench-addin.c b/src/libide/buildui/ide-build-workbench-addin.c
index 13ff45e67..942559248 100644
--- a/src/libide/buildui/ide-build-workbench-addin.c
+++ b/src/libide/buildui/ide-build-workbench-addin.c
@@ -92,7 +92,11 @@ ide_build_workbench_addin_view_output (GSimpleAction *action,
g_assert (G_IS_SIMPLE_ACTION (action));
g_assert (IDE_IS_BUILD_WORKBENCH_ADDIN (self));
+ /* bring forward all necessary widgetry */
ide_workbench_focus (self->workbench, GTK_WIDGET (self->build_log_panel));
+
+ /* drop the transient grab */
+ dzl_dock_item_present (DZL_DOCK_ITEM (self->build_log_panel));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]