aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shortcuts-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shortcuts-view.c')
-rw-r--r--shell/e-shortcuts-view.c23
1 files changed, 14 insertions, 9 deletions
diff --git a/shell/e-shortcuts-view.c b/shell/e-shortcuts-view.c
index 32aa46fa56..0b07bce156 100644
--- a/shell/e-shortcuts-view.c
+++ b/shell/e-shortcuts-view.c
@@ -104,18 +104,23 @@ icon_callback (EShortcutBar *shortcut_bar,
storage_set = e_shortcuts_get_storage_set (shortcuts);
folder_type_registry = e_storage_set_get_folder_type_registry (storage_set);
- folder = e_storage_set_get_folder (storage_set,
- get_storage_set_path_from_uri (uri));
-
- if (folder == NULL)
- return NULL;
-
- type = e_folder_get_type_string (folder);
- if (type == NULL)
- return NULL;
+ if (strcmp ("evolution:/My Evolution", uri) == 0) {
+ type = g_strdup ("My Evolution");
+ } else {
+ folder = e_storage_set_get_folder (storage_set,
+ get_storage_set_path_from_uri (uri));
+
+ if (folder == NULL)
+ return NULL;
+
+ type = g_strdup (e_folder_get_type_string (folder));
+ if (type == NULL)
+ return NULL;
+ }
/* FIXME mini icons? */
pixbuf = e_folder_type_registry_get_icon_for_type (folder_type_registry, type, FALSE);
+ g_free (type);
if (pixbuf != NULL)
gdk_pixbuf_ref (pixbuf);
='insertions'>+327 * Add files missed in previous commitswills2018-02-063-0/+94 * Fix cross build of base/ portsswills2018-02-063-63/+82 * Changes from BZ PR 224217 plus minor changes to fix base/gcc fetchswills2018-02-063-28/+61 * The output of tools like awk, date, sort, tr,... depends on the currenttijl2017-01-181-2/+0 * Add a Makefile to unbreak some scripts that lookup for all lowercase directoriesbapt2016-11-121-0/+5 * ${RM} already has -f.mat2016-10-211-1/+1 * Remove things that are now handled by bsd.port.mkbapt2016-09-091-16/+0 * Remove everything that is now in bsd.port.mk which simplifies the codebapt2016-09-091-15/+1 * Update the README to include how to cross build gccbapt2016-09-091-0/+12 * New cross build ready version of gcc.bapt2016-09-095-0/+549 * base/binutils: fix strippingswills2016-08-281-2/+4 * Properly export the binutils as the cross onesbapt2016-08-281-1/+1 * Really fix the strip issuebapt2016-08-271-1/+1 * Fix up stripingbapt2016-08-271-2/+1 * Reduce the number of files packaged to the one not provided by the bsd elftoo...bapt2016-08-271-40/+0 * base/binutils: add powerpc64 plistswills2016-08-273-1/+109 * Remove more tings provided by the elftoolchainbapt2016-08-271-6/+0