[Gtk-sharp-list] Gtk Icons
peter at peterjohanson.com
Thu Oct 9 13:16:04 EDT 2008
On Thu, Oct 09, 2008 at 11:20:06AM -0500, Iggy wrote:
> I've been curious why the Gtk Icons are different in Windows than in
> Linux? In Linux Gtk has some nice looking icons. Why aren't the same
> ones used for Windows? The Windows icons look like they haven't been
> updated since Windows 95...
On Windows, the bundled icon theme is used, as no others get installed
(Assuming you're using the Medsphere Gtk# for MS .NET installer, no idea
about the mono + gtk# installer). On Linux, your desktop environment is
probably supplying settings so you use the Tango or Gnome theme, etc.
If you want to, you can install your own theme and set it to be used by
updating the gtkrc. For example, I did the following to switch to using
the Tango icon theme:
1) Copied /usr/share/icons/Tango from my Linux machine to C:\Program
2) Openned C:\Program Files\Medsphere\GtkSDK\etc\gtk-2.0\gtkrc in a text
editor, and added the following line:
gtk-icon-theme-name = "Tango"
After that, running our application showed the Tango icons instead of
the stock gtk+ ones.
More information about the Gtk-sharp-list