diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-03 21:18:08 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-03 21:18:08 +0800 |
commit | b5c3ca3079407391e099eea277f37ad45e5866d7 (patch) | |
tree | 6653316612fddf765586c32b6ed368e551ce02dd /shell/e-shortcuts-view.c | |
parent | f3680ee9f251c0225373909e5c7934c4e10e43e4 (diff) | |
download | gsoc2013-evolution-b5c3ca3079407391e099eea277f37ad45e5866d7.tar.gz gsoc2013-evolution-b5c3ca3079407391e099eea277f37ad45e5866d7.tar.zst gsoc2013-evolution-b5c3ca3079407391e099eea277f37ad45e5866d7.zip |
Make "My Evolution" a normal storage instead of being the toplevel
node that contains everything else.
svn path=/trunk/; revision=11610
Diffstat (limited to 'shell/e-shortcuts-view.c')
-rw-r--r-- | shell/e-shortcuts-view.c | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/shell/e-shortcuts-view.c b/shell/e-shortcuts-view.c index 6cae3293ab..ecc2b1487e 100644 --- a/shell/e-shortcuts-view.c +++ b/shell/e-shortcuts-view.c @@ -104,19 +104,15 @@ 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); - if (strcmp ("evolution:/My Evolution", uri) == 0) { - type = "My Evolution"; - } else { - folder = e_storage_set_get_folder (storage_set, - get_storage_set_path_from_uri (uri)); - - if (folder == NULL) - return NULL; + 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; - } + type = 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); |