~bas-dotbas/do/win32-next

« back to all changes in this revision

Viewing changes to Do.Addins/src/Do.UI/BaseWidgets/IconBox.cs

  • Committer: David Siegel
  • Date: 2008-11-28 19:21:05 UTC
  • Revision ID: david@x-20081128192105-9khbfl5omrcdqoh8
Moved IconProvider to Do.Interface.Linux.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
using Do.Addins;
26
26
using Do.Universe;
27
27
using Do.Platform;
 
28
using Do.Interface.Linux;
28
29
 
29
30
namespace Do.UI
30
31
{
52
53
                public IconBox (int icon_size) : base ()
53
54
                {
54
55
                        this.icon_size = icon_size;
55
 
                        overlay_pixbuf = Icons.PixbufFromIconName ("gnome-mime-text", icon_size);
 
56
                        overlay_pixbuf = IconProvider.PixbufFromIconName ("gnome-mime-text", icon_size);
56
57
                        Build ();
57
58
                }
58
59
                
174
175
                        set {
175
176
                                if (value == null || textOverlay) return;
176
177
                                icon_name = value;
177
 
                                using (Gdk.Pixbuf pix = Icons.PixbufFromIconName (value, icon_size)) {
 
178
                                using (Gdk.Pixbuf pix = IconProvider.PixbufFromIconName (value, icon_size)) {
178
179
                                        Pixbuf = pix;
179
180
                                }
180
181
                        }