diff options
author | Stephane Delcroix <stephane@mono-cvs.ximian.com> | 2008-02-07 12:20:44 +0300 |
---|---|---|
committer | Stephane Delcroix <stephane@mono-cvs.ximian.com> | 2008-02-07 12:20:44 +0300 |
commit | cc4a23045dd111081b2b3dbe86617268763944f5 (patch) | |
tree | 577b2d49065ffc01ef7b1345ef97aaa4232d8350 /gui-compare | |
parent | 0dea332ca60357e398069cca36b86683fb6da400 (diff) |
2008-02-07 Stephane Delcroix <sdelcroix@novell.com>
* MainWindow.cs: move the LoadConfiguration part at the end of
the ctor.
svn path=/trunk/mono-tools/; revision=95123
Diffstat (limited to 'gui-compare')
-rw-r--r-- | gui-compare/ChangeLog | 5 | ||||
-rw-r--r-- | gui-compare/MainWindow.cs | 24 |
2 files changed, 18 insertions, 11 deletions
diff --git a/gui-compare/ChangeLog b/gui-compare/ChangeLog index 3bf573dd..bb8f3b75 100644 --- a/gui-compare/ChangeLog +++ b/gui-compare/ChangeLog @@ -1,3 +1,8 @@ +2008-02-07 Stephane Delcroix <sdelcroix@novell.com> + + * MainWindow.cs: move the LoadConfiguration part at the end of + the ctor. + 2008-02-01 Andrew Jorgensen <ajorgensen@novell.com> * Makefile.am: gui-compare is generated by autotools diff --git a/gui-compare/MainWindow.cs b/gui-compare/MainWindow.cs index 1ef317a2..d9a26cea 100644 --- a/gui-compare/MainWindow.cs +++ b/gui-compare/MainWindow.cs @@ -105,17 +105,9 @@ public partial class MainWindow: Gtk.Window { Build (); notebook1.Page = 1; - - // - // Load configuration - // - Config = GuiCompare.Config.GetConfig (); - ShowMissing.Active = Config.ShowMissing; - ShowErrors.Active = Config.ShowErrors; - ShowExtra.Active = Config.ShowExtra; - ShowPresent.Active = Config.ShowPresent; - ShowTodo.Active = Config.ShowTodo; + Config = GuiCompare.Config.GetConfig (); + // // Configure the GUI // @@ -227,6 +219,16 @@ public partial class MainWindow: Gtk.Window } } }; + + // + // Load configuration + // + ShowMissing.Active = Config.ShowMissing; + ShowErrors.Active = Config.ShowErrors; + ShowExtra.Active = Config.ShowExtra; + ShowPresent.Active = Config.ShowPresent; + ShowTodo.Active = Config.ShowTodo; + } // A handle to our menu bar @@ -547,4 +549,4 @@ public partial class MainWindow: Gtk.Window cc.Destroy (); } -}
\ No newline at end of file +} |