aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shortcuts.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-07-16 17:31:14 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-07-16 17:31:14 +0800
commit8b11e79c4bdf1811a5822a9db33a6370dfdb1948 (patch)
tree731ad2e3925fb5b32b8e4a4d70d34137e0d81298 /shell/e-shortcuts.c
parent4f04fb23bb9fb71489581ff3e4bb45bb9d0bd044 (diff)
downloadgsoc2013-evolution-8b11e79c4bdf1811a5822a9db33a6370dfdb1948.tar
gsoc2013-evolution-8b11e79c4bdf1811a5822a9db33a6370dfdb1948.tar.gz
gsoc2013-evolution-8b11e79c4bdf1811a5822a9db33a6370dfdb1948.tar.bz2
gsoc2013-evolution-8b11e79c4bdf1811a5822a9db33a6370dfdb1948.tar.lz
gsoc2013-evolution-8b11e79c4bdf1811a5822a9db33a6370dfdb1948.tar.xz
gsoc2013-evolution-8b11e79c4bdf1811a5822a9db33a6370dfdb1948.tar.zst
gsoc2013-evolution-8b11e79c4bdf1811a5822a9db33a6370dfdb1948.zip
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
Diffstat (limited to 'shell/e-shortcuts.c')
-rw-r--r--shell/e-shortcuts.c29
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);