Author: stephane
Date: 2008-02-07 04:20:44 -0500 (Thu, 07 Feb 2008)
New Revision: 95123

Modified:
   trunk/mono-tools/gui-compare/ChangeLog
   trunk/mono-tools/gui-compare/MainWindow.cs
Log:
2008-02-07  Stephane Delcroix  <[EMAIL PROTECTED]>

        * MainWindow.cs: move the LoadConfiguration part at the end of
        the ctor.


Modified: trunk/mono-tools/gui-compare/ChangeLog
===================================================================
--- trunk/mono-tools/gui-compare/ChangeLog      2008-02-07 07:25:12 UTC (rev 
95122)
+++ trunk/mono-tools/gui-compare/ChangeLog      2008-02-07 09:20:44 UTC (rev 
95123)
@@ -1,3 +1,8 @@
+2008-02-07  Stephane Delcroix  <[EMAIL PROTECTED]>
+
+       * MainWindow.cs: move the LoadConfiguration part at the end of
+       the ctor.
+
 2008-02-01  Andrew Jorgensen  <[EMAIL PROTECTED]>
 
        * Makefile.am: gui-compare is generated by autotools

Modified: trunk/mono-tools/gui-compare/MainWindow.cs
===================================================================
--- trunk/mono-tools/gui-compare/MainWindow.cs  2008-02-07 07:25:12 UTC (rev 
95122)
+++ trunk/mono-tools/gui-compare/MainWindow.cs  2008-02-07 09:20:44 UTC (rev 
95123)
@@ -105,18 +105,10 @@
        {
                Build ();
                notebook1.Page = 1;
+
+               Config = GuiCompare.Config.GetConfig ();
                
                //
-               // 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;
-
-               //
                // Configure the GUI
                //
                info_manager = new InfoManager (this);
@@ -227,6 +219,16 @@
                                }
                        }
                };
+
+               //
+               // 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 @@
                                
                cc.Destroy ();
        }
-}
\ No newline at end of file
+}

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to