[Monodevelop-patches-list] r775 - in trunk/MonoDevelop/src: AddIns/DisplayBindings/TextEditor/Gui/Editor Main/Base/Gui/Pads
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Tue Feb 3 20:58:39 EST 2004
Author: jluke
Date: 2004-02-03 20:58:39 -0500 (Tue, 03 Feb 2004)
New Revision: 775
Modified:
trunk/MonoDevelop/src/AddIns/DisplayBindings/TextEditor/Gui/Editor/SharpDevelopTextAreaControl.cs
trunk/MonoDevelop/src/Main/Base/Gui/Pads/FileScout.cs
Log:
fix crash in some files on the old editor
add icon for button
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/TextEditor/Gui/Editor/SharpDevelopTextAreaControl.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/TextEditor/Gui/Editor/SharpDevelopTextAreaControl.cs 2004-02-04 01:31:12 UTC (rev 774)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/TextEditor/Gui/Editor/SharpDevelopTextAreaControl.cs 2004-02-04 01:58:39 UTC (rev 775)
@@ -226,7 +226,7 @@
{
try {
IFormattingStrategy[] formater = (IFormattingStrategy[])(AddInTreeSingleton.AddInTree.GetTreeNode(formatingStrategyPath).BuildChildItems(this)).ToArray(typeof(IFormattingStrategy));
- Console.WriteLine("SET FORMATTER : " + formater[0]);
+ //Console.WriteLine("SET FORMATTER : " + formater[0]);
if (formater != null && formater.Length > 0) {
// formater[0].Document = Document;
Document.FormattingStrategy = formater[0];
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Pads/FileScout.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Pads/FileScout.cs 2004-02-04 01:31:12 UTC (rev 774)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Pads/FileScout.cs 2004-02-04 01:58:39 UTC (rev 775)
@@ -394,9 +394,10 @@
pathEntry = new Gtk.Entry (fb.CurrentDir);
//pathEntry.Activated += new EventHandler (OnPathEntryActivated);
hbox.PackStart (pathEntry);
- Gtk.Button homeButton = new Gtk.Button ("Home");
+ Gtk.Button homeButton = new Gtk.Button ();
+ homeButton.Child = new Gtk.Image (FileIconLoader.GetPixbufForType ("gnome-home"));
homeButton.Clicked += new EventHandler (OnHomeClicked);
- hbox.PackStart (homeButton);
+ hbox.PackStart (homeButton, false, false, 0);
utilVBox.PackStart (hbox, false, true, 0);
utilVBox.PackStart (fb);
treef.Add(utilVBox);
More information about the Monodevelop-patches-list
mailing list