/// <summary> /// Set up the UI inside the Window /// </summary> private void InitializeWidgets() { VBox dialogBox = new VBox(); this.VBox.PackStart(dialogBox); dialogBox.BorderWidth = 10; dialogBox.Spacing = 10; this.SetDefaultSize(480, 480); this.Icon = new Gdk.Pixbuf(Util.ImagesPath("ifolder16.png")); //----------------------------- // Create iFolder Conflict //----------------------------- ConflictHolder = new HBox(); dialogBox.PackStart(ConflictHolder, false, true, 0); //----------------------------- // Create iFolder Notebook //----------------------------- propNoteBook = new Gtk.Notebook(); SettingsPage = new iFolderPropSettingsPage(this, ifws); propNoteBook.AppendPage(SettingsPage, new Label(Util.GS("_General"))); SharingPage = new iFolderPropSharingPage(this, ifws, simws); propNoteBook.AppendPage(SharingPage, new Label(Util.GS("_Sharing"))); dialogBox.PackStart(propNoteBook); this.VBox.ShowAll(); this.AddButton(Stock.Close, ResponseType.Ok); this.AddButton(Stock.Help, ResponseType.Help); }
private void InitializeWidgets() { VBox dialogBox = new VBox(); this.VBox.PackStart(dialogBox); dialogBox.BorderWidth = 10; dialogBox.Spacing = 10; this.SetDefaultSize (480, 480); this.Icon = new Gdk.Pixbuf(Util.ImagesPath("ifolder24.png")); ConflictHolder = new HBox(); dialogBox.PackStart(ConflictHolder, false, true, 0); propNoteBook = new Gtk.Notebook(); SettingsPage = new iFolderPropSettingsPage(this, ifws); propNoteBook.AppendPage(SettingsPage, new Label(Util.GS("General"))); SharingPage = new iFolderPropSharingPage(this, ifws, simws); propNoteBook.AppendPage(SharingPage, new Label(Util.GS("Sharing"))); dialogBox.PackStart(propNoteBook); this.VBox.ShowAll(); this.AddButton(Stock.Close, ResponseType.Ok); this.AddButton(Stock.Help, ResponseType.Help); }