diff options
author | Dan Winship <danw@src.gnome.org> | 2003-07-03 20:28:22 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2003-07-03 20:28:22 +0800 |
commit | ef2bbff26f24acc0f6c8e1473660846922957805 (patch) | |
tree | 342aa7f4ae22092fddb8f2fa0118549cd660d23a /e-util/e-gui-utils.h | |
parent | 08759ca762beb162e661bc48e1aa52389fea9952 (diff) | |
download | gsoc2013-evolution-ef2bbff26f24acc0f6c8e1473660846922957805.tar.gz gsoc2013-evolution-ef2bbff26f24acc0f6c8e1473660846922957805.tar.zst gsoc2013-evolution-ef2bbff26f24acc0f6c8e1473660846922957805.zip |
New function to return an icon for a MIME type, using GnomeIconTheme if
* e-gui-utils.c (e_icon_for_mime_type): New function to return an
icon for a MIME type, using GnomeIconTheme if available or
gnome-vfs and gnome-mime-data if not.
svn path=/trunk/; revision=21733
Diffstat (limited to 'e-util/e-gui-utils.h')
-rw-r--r-- | e-util/e-gui-utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/e-util/e-gui-utils.h b/e-util/e-gui-utils.h index 1edb412733..8701949cb0 100644 --- a/e-util/e-gui-utils.h +++ b/e-util/e-gui-utils.h @@ -9,4 +9,6 @@ GtkWidget *e_create_image_widget (gchar *name, gchar *string1, gchar *st GtkWidget *e_button_new_with_stock_icon (const char *label_str, const char *stockid); +GdkPixbuf *e_icon_for_mime_type (const char *mime_type, int size); + #endif /* E_GUI_UTILS_H */ |