From 17570f4d23f300cfe45d37b60b1a757045ed05bc Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Tue, 11 May 2010 11:40:31 +0100 Subject: [PATCH] events page is the most important page --- SparkleShare/SparkleWindow.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/SparkleShare/SparkleWindow.cs b/SparkleShare/SparkleWindow.cs index 01695581..0a14dcf5 100644 --- a/SparkleShare/SparkleWindow.cs +++ b/SparkleShare/SparkleWindow.cs @@ -31,6 +31,7 @@ namespace SparkleShare { private VBox LayoutVerticalRight; private HBox LayoutHorizontal; + private Notebook Notebook; private TreeView ReposView; private ListStore ReposStore; private SparkleRepo [] Repositories; @@ -65,7 +66,7 @@ namespace SparkleShare { VBox LayoutVertical = new VBox (false, 0); - Notebook Notebook = new Notebook (); + Notebook = new Notebook (); Notebook.BorderWidth = 6; LayoutHorizontal = new HBox (false, 0); @@ -86,8 +87,8 @@ namespace SparkleShare { LayoutHorizontal.PackStart (LayoutVerticalRight, true, true, 12); - Notebook.AppendPage (LayoutHorizontal, new Label ("Folders")); Notebook.AppendPage (CreateEventLog (), new Label ("Events")); + Notebook.AppendPage (LayoutHorizontal, new Label ("Folders")); LayoutVertical.PackStart (Notebook, true, true, 0); @@ -515,7 +516,9 @@ namespace SparkleShare { SparkleHelpers.CombineMore (SparklePaths.SparklePath, RepoName) ); - AddDialog.Destroy (); + AddDialog.Destroy (); + ToggleVisibility (); + Notebook.CurrentPage = 1; }; };