comparison FrmMainWindow.cs @ 17:7653fab9d70e

Re #58: Remove LogNotifier from API * Remove dependency on IBBoard.Log4Net, since use in API will be removed as part of this ticket
author IBBoard <dev@ibboard.co.uk>
date Tue, 14 Jul 2009 18:33:52 +0000
parents 85db2c9a1546
children c4d9b1ec75ed
comparison
equal deleted inserted replaced
16:eafbe69303ec 17:7653fab9d70e
12 using IBBoard.GtkSharp; 12 using IBBoard.GtkSharp;
13 using IBBoard.IO; 13 using IBBoard.IO;
14 using IBBoard.Lang; 14 using IBBoard.Lang;
15 using IBBoard.Logging; 15 using IBBoard.Logging;
16 using IBBoard.CustomMath; 16 using IBBoard.CustomMath;
17 using IBBoard.Log4Net;
18 using IBBoard.WarFoundry.API; 17 using IBBoard.WarFoundry.API;
19 using IBBoard.WarFoundry.API.Factories; 18 using IBBoard.WarFoundry.API.Factories;
20 using IBBoard.WarFoundry.API.Factories.Xml; 19 using IBBoard.WarFoundry.API.Factories.Xml;
21 using IBBoard.WarFoundry.API.Objects; 20 using IBBoard.WarFoundry.API.Objects;
22 using IBBoard.WarFoundry.API.Commands; 21 using IBBoard.WarFoundry.API.Commands;
74 } 73 }
75 74
76 public FrmMainWindow (string[] args): base (Gtk.WindowType.Toplevel) 75 public FrmMainWindow (string[] args): base (Gtk.WindowType.Toplevel)
77 { 76 {
78 logger.Info("Opening FrmMainWindow"); 77 logger.Info("Opening FrmMainWindow");
79 LogNotifierHandler.RegisterNotifierHandler();
80 Build (); 78 Build ();
81 //Replace the undo/redo buttons with menu versions, which Monodevelop's GUI editor doesn't currently support 79 //Replace the undo/redo buttons with menu versions, which Monodevelop's GUI editor doesn't currently support
82 redoMenuButton = new MenuToolButton("gtk-redo"); 80 redoMenuButton = new MenuToolButton("gtk-redo");
83 redoMenuButton.Label = "Redo"; 81 redoMenuButton.Label = "Redo";
84 redoMenuButton.TooltipText = "Redo"; 82 redoMenuButton.TooltipText = "Redo";