[Monodevelop-patches-list] r776 - trunk/MonoDevelop/src/Main/Base/Gui/Pads
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Tue Feb 3 21:10:55 EST 2004
Author: tberman
Date: 2004-02-03 21:10:55 -0500 (Tue, 03 Feb 2004)
New Revision: 776
Modified:
trunk/MonoDevelop/src/Main/Base/Gui/Pads/FileScout.cs
Log:
this icon is a bit better spaced.
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Pads/FileScout.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Pads/FileScout.cs 2004-02-04 01:58:39 UTC (rev 775)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Pads/FileScout.cs 2004-02-04 02:10:55 UTC (rev 776)
@@ -25,15 +25,11 @@
private FileSystemWatcher watcher;
private ItemCollection Items;
private Gtk.ListStore store;
- private static Gnome.IconTheme theme;
- private static Gnome.ThumbnailFactory tFactory;
// private MagicMenus.PopupMenu menu = null;
public FileList()
{
- theme = new Gnome.IconTheme ();
- tFactory = new Gnome.ThumbnailFactory (Gnome.ThumbnailSize.Normal);
Items = new ItemCollection(this);
ResourceManager resources = new ResourceManager("ProjectComponentResources", this.GetType().Module.Assembly);
FileUtilityService fileUtilityService = (FileUtilityService)ServiceManager.Services.GetService(typeof(FileUtilityService));
@@ -390,12 +386,14 @@
Gtk.Frame treef = new Gtk.Frame();
Gtk.VBox utilVBox = new Gtk.VBox (false, 0);
- Gtk.HBox hbox = new Gtk.HBox (false, 0);
+ Gtk.HBox hbox = new Gtk.HBox (false, 6);
pathEntry = new Gtk.Entry (fb.CurrentDir);
//pathEntry.Activated += new EventHandler (OnPathEntryActivated);
hbox.PackStart (pathEntry);
Gtk.Button homeButton = new Gtk.Button ();
- homeButton.Child = new Gtk.Image (FileIconLoader.GetPixbufForType ("gnome-home"));
+ Gdk.Pixbuf pix = FileIconLoader.GetPixbufForType ("gnome-home");
+ homeButton.Child = new Gtk.Image (pix.ScaleSimple (20, 20, Gdk.InterpType.Bilinear));
+ homeButton.Relief = Gtk.ReliefStyle.None;
homeButton.Clicked += new EventHandler (OnHomeClicked);
hbox.PackStart (homeButton, false, false, 0);
utilVBox.PackStart (hbox, false, true, 0);
More information about the Monodevelop-patches-list
mailing list