[gnome-builder] workbench: show all panels if none are selected for display
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] workbench: show all panels if none are selected for display
- Date: Sat, 20 Jun 2015 09:40:15 +0000 (UTC)
commit 1a3ac1e3f3bab1bdfd46dd91b2e5683874d4ae51
Author: Christian Hergert <christian hergert me>
Date: Wed Jun 10 21:24:03 2015 -0700
workbench: show all panels if none are selected for display
src/workbench/gb-workbench-actions.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/workbench/gb-workbench-actions.c b/src/workbench/gb-workbench-actions.c
index c865d72..6b5e792 100644
--- a/src/workbench/gb-workbench-actions.c
+++ b/src/workbench/gb-workbench-actions.c
@@ -396,6 +396,13 @@ gb_workbench_actions_toggle_panels (GSimpleAction *action,
}
else
{
+ if (!self->reveal_left_in_show && !self->reveal_right_in_show && !self->reveal_bottom_in_show)
+ {
+ self->reveal_bottom_in_show = TRUE;
+ self->reveal_left_in_show = TRUE;
+ self->reveal_right_in_show = TRUE;
+ }
+
gtk_container_child_set (GTK_CONTAINER (self->workspace), left,
"reveal", self->reveal_left_in_show,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]