From 8b11e79c4bdf1811a5822a9db33a6370dfdb1948 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 16 Jul 2001 09:31:14 +0000 Subject: Removed. (load_shortcuts): Don't call it. * e-shortcuts.c (override_shortcut_name_and_type_from_storage_set): Removed. (load_shortcuts): Don't call it. svn path=/trunk/; revision=11120 --- shell/e-shortcuts.c | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'shell/e-shortcuts.c') 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 @@ -231,30 +231,6 @@ update_shortcut_and_emit_signal (EShortcuts *shortcuts, return FALSE; } -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) { @@ -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); -- cgit v1.2.3