public AboutDialog () : base (string.Empty, PintaCore.Chrome.MainWindow, DialogFlags.Modal) { Title = Catalog.GetString ("About Pinta"); //TransientFor = IdeApp.Workbench.RootWindow; AllowGrow = false; HasSeparator = false; Icon = PintaCore.Resources.GetIcon ("Pinta.png"); VBox.BorderWidth = 0; aboutPictureScrollBox = new ScrollBox (); VBox.PackStart (aboutPictureScrollBox, false, false, 0); imageSep = PintaCore.Resources.GetIcon ("About.ImageSep.png"); VBox.PackStart (new Gtk.Image (imageSep), false, false, 0); Notebook notebook = new Notebook (); notebook.BorderWidth = 6; notebook.AppendPage (new AboutPintaTabPage (), new Label (Title)); notebook.AppendPage (new VersionInformationTabPage (), new Label (Catalog.GetString ("Version Info"))); VBox.PackStart (notebook, true, true, 4); AddButton (Gtk.Stock.Close, (int)ResponseType.Close); ShowAll (); }
public AboutDialog() : base(string.Empty, PintaCore.Chrome.MainWindow, DialogFlags.Modal) { Title = Catalog.GetString ("About Pinta"); //TransientFor = IdeApp.Workbench.RootWindow; AllowGrow = false; HasSeparator = false; Icon = PintaCore.Resources.GetIcon ("Pinta.png"); VBox.BorderWidth = 0; aboutPictureScrollBox = new ScrollBox (); VBox.PackStart (aboutPictureScrollBox, false, false, 0); imageSep = PintaCore.Resources.GetIcon ("About.ImageSep.png"); VBox.PackStart (new Gtk.Image (imageSep), false, false, 0); Notebook notebook = new Notebook (); notebook.BorderWidth = 6; notebook.AppendPage (new AboutPintaTabPage (), new Label (Title)); notebook.AppendPage (new VersionInformationTabPage (), new Label (Catalog.GetString ("Version Info"))); VBox.PackStart (notebook, true, true, 4); AddButton (Gtk.Stock.Close, (int)ResponseType.Close); ShowAll (); }