[Monodevelop-patches-list] r1705 - in trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets: . FileBrowser
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Mon Jun 7 19:33:31 EDT 2004
Author: jluke
Date: 2004-06-07 19:33:31 -0400 (Mon, 07 Jun 2004)
New Revision: 1705
Modified:
trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/ChangeLog
trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/FileBrowser/FileBrowser.cs
Log:
2004-06-07 John Luke <jluke at cfl.rr.com>
* FileBrowser/FileBrowser.cs: use a toolbar with tooltips
instead of a hbuttonbox.
Modified: trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/ChangeLog 2004-06-07 22:46:10 UTC (rev 1704)
+++ trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/ChangeLog 2004-06-07 23:33:31 UTC (rev 1705)
@@ -1,3 +1,8 @@
+2004-06-07 John Luke <jluke at cfl.rr.com>
+
+ * FileBrowser/FileBrowser.cs: use a toolbar with tooltips
+ instead of a hbuttonbox.
+
2004-06-06 John Luke <jluke at cfl.rr.com>
* TabLabel/TabLabel.cs: fix the size of the button to 18 so it is
Modified: trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/FileBrowser/FileBrowser.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/FileBrowser/FileBrowser.cs 2004-06-07 22:46:10 UTC (rev 1704)
+++ trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/FileBrowser/FileBrowser.cs 2004-06-07 23:33:31 UTC (rev 1705)
@@ -75,10 +75,10 @@
entry = new Entry ();
entry.Activated += new EventHandler (OnEntryActivated);
- HBox buttonbox = new HBox (false, 0);
- buttonbox.PackStart (upbutton, false, false, 0);
- buttonbox.PackStart (homebutton, false, false, 0);
- buttonbox.PackStart (entry, true, true, 0);
+ Toolbar toolbar = new Toolbar ();
+ toolbar.AppendWidget (upbutton, GettextCatalog.GetString ("Up one level"), GettextCatalog.GetString ("Up one level"));
+ toolbar.AppendWidget (homebutton, GettextCatalog.GetString ("Home"), GettextCatalog.GetString ("Home"));
+ toolbar.AppendWidget (entry, GettextCatalog.GetString ("Location"), GettextCatalog.GetString ("Location"));
IProperties p = (IProperties) PropertyService.GetProperty ("SharpDevelop.UI.SelectStyleOptions", new DefaultProperties ());
ignoreHidden = !p.GetProperty ("MonoDevelop.Gui.FileScout.ShowHidden", false);
@@ -110,7 +110,7 @@
scrolledwindow.Add (tv);
this.Homogeneous = false;
- this.PackStart (buttonbox, false, false, 0);
+ this.PackStart (toolbar, false, false, 0);
this.PackStart (scrolledwindow);
this.ShowAll ();
init = true;
More information about the Monodevelop-patches-list
mailing list