diff options
author | Lluis Sanchez Gual <lluis@novell.com> | 2011-02-23 16:33:25 +0300 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2011-02-23 16:38:39 +0300 |
commit | 2a95231f0c7d16278e54f5c8d5417ebde1ba5deb (patch) | |
tree | e1fc800e4afa19b0aa5c906807a433f96db37484 /Mono.Addins.Gui | |
parent | 7c7c5a331127744136d98fa10b2cfddad2dac95d (diff) |
Center the addin manager dialog.
Diffstat (limited to 'Mono.Addins.Gui')
4 files changed, 4 insertions, 1 deletions
diff --git a/Mono.Addins.Gui/Mono.Addins.Gui/AddinManagerDialog.cs b/Mono.Addins.Gui/Mono.Addins.Gui/AddinManagerDialog.cs index a697f07..fcf2ef0 100644 --- a/Mono.Addins.Gui/Mono.Addins.Gui/AddinManagerDialog.cs +++ b/Mono.Addins.Gui/Mono.Addins.Gui/AddinManagerDialog.cs @@ -69,6 +69,7 @@ namespace Mono.Addins.Gui Build (); TransientFor = parent; HasSeparator = false; + Services.PlaceDialog (this, parent); addininfoInstalled.Init (service); addininfoGallery.Init (service); diff --git a/Mono.Addins.Gui/gtk-gui/Mono.Addins.Gui.AddinManagerDialog.cs b/Mono.Addins.Gui/gtk-gui/Mono.Addins.Gui.AddinManagerDialog.cs index ee3fdbb..2401d90 100644 --- a/Mono.Addins.Gui/gtk-gui/Mono.Addins.Gui.AddinManagerDialog.cs +++ b/Mono.Addins.Gui/gtk-gui/Mono.Addins.Gui.AddinManagerDialog.cs @@ -391,7 +391,7 @@ namespace Mono.Addins.Gui if ((this.Child != null)) { this.Child.ShowAll (); } - this.Show (); + this.Hide (); this.addininfoInstalled.InstallClicked += new global::System.EventHandler (this.OnInstallClicked); this.addininfoInstalled.UninstallClicked += new global::System.EventHandler (this.OnUninstallClicked); this.addininfoInstalled.UpdateClicked += new global::System.EventHandler (this.OnUpdateClicked); diff --git a/Mono.Addins.Gui/gtk-gui/Mono.Addins.Gui.NewSiteDialog.cs b/Mono.Addins.Gui/gtk-gui/Mono.Addins.Gui.NewSiteDialog.cs index 8a340d4..f4397d1 100644 --- a/Mono.Addins.Gui/gtk-gui/Mono.Addins.Gui.NewSiteDialog.cs +++ b/Mono.Addins.Gui/gtk-gui/Mono.Addins.Gui.NewSiteDialog.cs @@ -54,6 +54,7 @@ namespace Mono.Addins.Gui this.btnOnlineRep = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Register an on-line repository")); this.btnOnlineRep.CanFocus = true; this.btnOnlineRep.Name = "btnOnlineRep"; + this.btnOnlineRep.Active = true; this.btnOnlineRep.DrawIndicator = true; this.btnOnlineRep.UseUnderline = true; this.btnOnlineRep.Group = new global::GLib.SList (global::System.IntPtr.Zero); diff --git a/Mono.Addins.Gui/gtk-gui/gui.stetic b/Mono.Addins.Gui/gtk-gui/gui.stetic index 79cbb85..fe7320d 100644 --- a/Mono.Addins.Gui/gtk-gui/gui.stetic +++ b/Mono.Addins.Gui/gtk-gui/gui.stetic @@ -148,6 +148,7 @@ </widget> <widget class="Gtk.Dialog" id="Mono.Addins.Gui.AddinManagerDialog" design-size="840 534"> <property name="MemberName" /> + <property name="Visible">False</property> <property name="GeneratePublic">False</property> <property name="Title" translatable="yes">Add-in Manager</property> <property name="TypeHint">Dialog</property> |