diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-07-19 02:16:18 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-07-19 02:16:18 +0800 |
commit | d2d0eebd74237b46adb8115b2f89e2b1eb2a3898 (patch) | |
tree | b03350f63b15335e4527cebe95404ac3c4d67bb7 /shell/e-storage-set-view.c | |
parent | 85e032b504cc9a12affba776150df6908d84bea3 (diff) | |
download | gsoc2013-evolution-d2d0eebd74237b46adb8115b2f89e2b1eb2a3898.tar gsoc2013-evolution-d2d0eebd74237b46adb8115b2f89e2b1eb2a3898.tar.gz gsoc2013-evolution-d2d0eebd74237b46adb8115b2f89e2b1eb2a3898.tar.bz2 gsoc2013-evolution-d2d0eebd74237b46adb8115b2f89e2b1eb2a3898.tar.lz gsoc2013-evolution-d2d0eebd74237b46adb8115b2f89e2b1eb2a3898.tar.xz gsoc2013-evolution-d2d0eebd74237b46adb8115b2f89e2b1eb2a3898.tar.zst gsoc2013-evolution-d2d0eebd74237b46adb8115b2f89e2b1eb2a3898.zip |
Removed unused variable.
* evolution-storage-set-view.c
(impl_StorageSetView__set_checkedFolders): Removed unused
variable.
* e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
Removed unused variable.
* e-storage.c
(e_storage_path_is_absolute)
(e_storage_path_is_relative)
(e_storage_async_xfer_folder)
* e-storage-set.c
(make_full_path)
(get_storage_for_path)
(signal_new_folder_for_all_folders_under_paths)
(signal_new_folder_for_all_folders_in_storage)
(e_storage_set_get_path_for_physical_uri)
* e-storage-set-view.c
(storage_sort_callback)
(new_storage_cb)
(removed_storage_cb)
(new_folder_cb)
* e-shortcuts-view.c
(get_shortcut_info):
* e-shell-view.c
(handle_current_folder_removed)
* e-shell-utils.c
(e_shell_folder_name_is_valid):
* e-local-storage.c
(construct):
* e-folder-tree.c
(get_parent_path)
(get_parent_path)
(e_folder_tree_destroy)
(e_folder_tree_add)
(e_folder_tree_foreach)
* e-folder-dnd-bridge.c
(handle_data_received_path)
* evolution-storage.c
(make_full_uri):
* e-shell-constants.h: New #defines E_PATH_SEPARATOR and
E_PATH_SEPARATOR_S.
* e-local-storage.c (load_folder): Don't add the folder if its
type isn't registered.
svn path=/trunk/; revision=17510
Diffstat (limited to 'shell/e-storage-set-view.c')
-rw-r--r-- | shell/e-storage-set-view.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c index 6f2c520654..02ac2d2986 100644 --- a/shell/e-storage-set-view.c +++ b/shell/e-storage-set-view.c @@ -160,13 +160,13 @@ storage_sort_callback (ETreeMemory *etmm, /* FIXME bad hack to put the "my evolution" and "local" storages on top. */ - if (strcmp (folder_path_1, G_DIR_SEPARATOR_S E_SUMMARY_STORAGE_NAME) == 0) + if (strcmp (folder_path_1, E_PATH_SEPARATOR_S E_SUMMARY_STORAGE_NAME) == 0) return -1; - if (strcmp (folder_path_2, G_DIR_SEPARATOR_S E_SUMMARY_STORAGE_NAME) == 0) + if (strcmp (folder_path_2, E_PATH_SEPARATOR_S E_SUMMARY_STORAGE_NAME) == 0) return +1; - path_1_local = ! strcmp (folder_path_1, G_DIR_SEPARATOR_S E_LOCAL_STORAGE_NAME); - path_2_local = ! strcmp (folder_path_2, G_DIR_SEPARATOR_S E_LOCAL_STORAGE_NAME); + path_1_local = ! strcmp (folder_path_1, E_PATH_SEPARATOR_S E_LOCAL_STORAGE_NAME); + path_2_local = ! strcmp (folder_path_2, E_PATH_SEPARATOR_S E_LOCAL_STORAGE_NAME); if (path_1_local && path_2_local) return 0; @@ -1446,7 +1446,7 @@ new_storage_cb (EStorageSet *storage_set, storage_set_view = E_STORAGE_SET_VIEW (data); priv = storage_set_view->priv; - path = g_strconcat (G_DIR_SEPARATOR_S, e_storage_get_name (storage), NULL); + path = g_strconcat (E_PATH_SEPARATOR_S, e_storage_get_name (storage), NULL); node = e_tree_memory_node_insert (E_TREE_MEMORY(priv->etree_model), priv->root_node, -1, path); e_tree_memory_sort_node (E_TREE_MEMORY(priv->etree_model), priv->root_node, @@ -1473,7 +1473,7 @@ removed_storage_cb (EStorageSet *storage_set, priv = storage_set_view->priv; etree = priv->etree_model; - path = g_strconcat (G_DIR_SEPARATOR_S, e_storage_get_name (storage), NULL); + path = g_strconcat (E_PATH_SEPARATOR_S, e_storage_get_name (storage), NULL); node = lookup_node_in_hash (storage_set_view, path); g_free (path); @@ -1500,7 +1500,7 @@ new_folder_cb (EStorageSet *storage_set, priv = storage_set_view->priv; etree = priv->etree_model; - last_separator = strrchr (path, G_DIR_SEPARATOR); + last_separator = strrchr (path, E_PATH_SEPARATOR); parent_path = g_strndup (path, last_separator - path); parent_node = g_hash_table_lookup (priv->path_to_etree_node, parent_path); |