Squeeze is in need for an icon.

Jean-Francois Wauthy pollux at xfce.org
Wed Jan 17 13:26:46 CET 2007



On Wed, 17 Jan 2007 07:47:28 +0100, "Giuseppe Torelli" <colossus73 at gmail.com> wrote:
> 
> I want to use it for displaying the mime icons next to the filename. I
> just have to understand the mechanism, for example, to build the path
> to: /usr/share/icons/Nuovo/scalable/mimetypes/audio/audio-midi.svg for
> midi files contained in an archive.

Use the GtkIconTheme and gtk_icon_theme_load_icon using 'audio-midi'
as icon name once you known the mime type. This will also enable icon
theming support.

-- 
Jean-Francois Wauthy <pollux at xfce.org>




More information about the Xfce4-dev mailing list