diff options
Diffstat (limited to 'shell/e-shortcuts-view-model.c')
-rw-r--r-- | shell/e-shortcuts-view-model.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/e-shortcuts-view-model.c b/shell/e-shortcuts-view-model.c index 105ccb0df9..d311590cf7 100644 --- a/shell/e-shortcuts-view-model.c +++ b/shell/e-shortcuts-view-model.c @@ -29,6 +29,8 @@ #include "e-shortcuts-view-model.h" +#include "e-icon-factory.h" + #include <glib.h> #include <gtk/gtksignal.h> #include <libgnome/gnome-i18n.h> @@ -55,6 +57,9 @@ get_icon_for_item (EShortcutsViewModel *shortcuts_view_model, priv = shortcuts_view_model->priv; + if (item->custom_icon_name != NULL) + return e_icon_factory_get_icon (item->custom_icon_name, want_mini); + if (item->type != NULL) { EStorageSet *storage_set; EFolderTypeRegistry *folder_type_registry; |