[ease] [editor] Show the Inspector by default
- From: Nate Stedman <natesm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ease] [editor] Show the Inspector by default
- Date: Tue, 24 Aug 2010 08:57:44 +0000 (UTC)
commit 1f4561b03c73f6c71a2288a208d2d77529ccc0ed
Author: Nate Stedman <natesm gmail com>
Date: Tue Aug 24 04:28:21 2010 -0400
[editor] Show the Inspector by default
Fixes first half of bug 627800
ease/ease-editor-window.vala | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/ease/ease-editor-window.vala b/ease/ease-editor-window.vala
index ea02336..0063671 100644
--- a/ease/ease-editor-window.vala
+++ b/ease/ease-editor-window.vala
@@ -151,6 +151,8 @@ internal class Ease.EditorWindow : Gtk.Window
private const string FONT_TEXT =
_("The quick brown fox jumps over the lazy dog");
+
+ private const bool INSPECTOR_VISIBLE_DEFAULT = true;
/**
* Creates a new EditorWindow.
@@ -204,6 +206,9 @@ internal class Ease.EditorWindow : Gtk.Window
// the inspector
inspector = new Inspector(document);
(builder.get_object("Inspector Align") as Gtk.Alignment).add(inspector);
+ inspector.visible = INSPECTOR_VISIBLE_DEFAULT;
+ (builder.get_object("Show Inspector") as Gtk.ToggleToolButton).active =
+ inspector.visible;
embed.element_selected.connect(
inspector.element_pane.on_element_selected);
embed.element_deselected.connect(
@@ -230,7 +235,6 @@ internal class Ease.EditorWindow : Gtk.Window
slide_button_panel.show_all();
embed.show_all();
show();
- inspector.hide();
slides_shown = true;
// register the accelerator group
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]