2009-03-02 23:31:01 +00:00
|
|
|
/*
|
|
|
|
* icons.[ch] written by Paolo Bacchilega, who writes:
|
|
|
|
* "There is no problem for me, you can license my code under whatever licence you wish :)"
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ICONS_H
|
|
|
|
#define ICONS_H
|
|
|
|
|
|
|
|
#define DIRECTORY_MIME_TYPE "folder"
|
2009-11-24 02:16:31 +00:00
|
|
|
#define UNKNOWN_MIME_TYPE "unknown"
|
2009-03-02 23:31:01 +00:00
|
|
|
|
|
|
|
const char * get_mime_type_from_filename( const char *file );
|
|
|
|
|
|
|
|
GdkPixbuf * get_mime_type_icon( const char * mime_type,
|
|
|
|
GtkIconSize icon_size,
|
|
|
|
GtkWidget * for_widget );
|
|
|
|
|
|
|
|
#endif
|