diff options
Diffstat (limited to 'shell/e-shortcuts.c')
-rw-r--r-- | shell/e-shortcuts.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/shell/e-shortcuts.c b/shell/e-shortcuts.c index dcc24fd3d0..7c8505ab79 100644 --- a/shell/e-shortcuts.c +++ b/shell/e-shortcuts.c @@ -232,30 +232,6 @@ update_shortcut_and_emit_signal (EShortcuts *shortcuts, } static void -override_shortcut_name_and_type_from_storage_set (EShortcuts *shortcuts, - EShortcutItem *shortcut_item) -{ - EShortcutsPrivate *priv; - EFolder *folder; - - priv = shortcuts->priv; - - /* If it is not an evolution: link, there is not much we can do. */ - if (strncmp (shortcut_item->uri, E_SHELL_URI_PREFIX, E_SHELL_URI_PREFIX_LEN) != 0) - return; - - folder = e_storage_set_get_folder (priv->storage_set, - shortcut_item->uri + E_SHELL_URI_PREFIX_LEN); - if (folder == NULL) - return; - - shortcut_item_update (shortcut_item, - shortcut_item->uri, - NULL, - e_folder_get_type_string (folder)); -} - -static void unload_shortcuts (EShortcuts *shortcuts) { EShortcutsPrivate *priv; @@ -337,11 +313,6 @@ load_shortcuts (EShortcuts *shortcuts, shortcut_item = shortcut_item_new (uri, name, type); - /* The name and type are the ones we saved from the - last session. If the folder is in the storage, we - have to get the type and name from this storage. */ - override_shortcut_name_and_type_from_storage_set (shortcuts, shortcut_item); - shortcut_group->shortcuts = g_slist_prepend (shortcut_group->shortcuts, shortcut_item); |