events page is the most important page

This commit is contained in:
Hylke Bons 2010-05-11 11:40:31 +01:00
parent d1a0d2be4d
commit 17570f4d23

View file

@ -31,6 +31,7 @@ namespace SparkleShare {
private VBox LayoutVerticalRight; private VBox LayoutVerticalRight;
private HBox LayoutHorizontal; private HBox LayoutHorizontal;
private Notebook Notebook;
private TreeView ReposView; private TreeView ReposView;
private ListStore ReposStore; private ListStore ReposStore;
private SparkleRepo [] Repositories; private SparkleRepo [] Repositories;
@ -65,7 +66,7 @@ namespace SparkleShare {
VBox LayoutVertical = new VBox (false, 0); VBox LayoutVertical = new VBox (false, 0);
Notebook Notebook = new Notebook (); Notebook = new Notebook ();
Notebook.BorderWidth = 6; Notebook.BorderWidth = 6;
LayoutHorizontal = new HBox (false, 0); LayoutHorizontal = new HBox (false, 0);
@ -86,8 +87,8 @@ namespace SparkleShare {
LayoutHorizontal.PackStart (LayoutVerticalRight, LayoutHorizontal.PackStart (LayoutVerticalRight,
true, true, 12); true, true, 12);
Notebook.AppendPage (LayoutHorizontal, new Label ("Folders"));
Notebook.AppendPage (CreateEventLog (), new Label ("Events")); Notebook.AppendPage (CreateEventLog (), new Label ("Events"));
Notebook.AppendPage (LayoutHorizontal, new Label ("Folders"));
LayoutVertical.PackStart (Notebook, true, true, 0); LayoutVertical.PackStart (Notebook, true, true, 0);
@ -515,7 +516,9 @@ namespace SparkleShare {
SparkleHelpers.CombineMore (SparklePaths.SparklePath, SparkleHelpers.CombineMore (SparklePaths.SparklePath,
RepoName) RepoName)
); );
AddDialog.Destroy (); AddDialog.Destroy ();
ToggleVisibility ();
Notebook.CurrentPage = 1;
}; };
}; };