[gnome-builder] editor-view: disable map-bin adjustments for frame1
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] editor-view: disable map-bin adjustments for frame1
- Date: Sun, 20 Sep 2015 11:40:08 +0000 (UTC)
commit 5a651adec0cf7223f15972cf0c289227d2f23b80
Author: Christian Hergert <christian hergert me>
Date: Sun Sep 20 04:39:15 2015 -0700
editor-view: disable map-bin adjustments for frame1
src/editor/gb-editor-view.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/editor/gb-editor-view.c b/src/editor/gb-editor-view.c
index 37f0e66..e6d8061 100644
--- a/src/editor/gb-editor-view.c
+++ b/src/editor/gb-editor-view.c
@@ -832,6 +832,16 @@ gb_editor_view_init (GbEditorView *self)
gb_editor_view_actions_init (self);
+ /*
+ * XXX: Refactor all of this.
+ *
+ * In frame1, we don't show the floating bar, so no need to alter the
+ * editor map allocation.
+ */
+ g_object_set (self->frame1->source_map_container,
+ "floating-bar", NULL,
+ NULL);
+
g_signal_connect_object (self->modified_cancel_button,
"clicked",
G_CALLBACK (gb_editor_view_hide_reload_bar),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]