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-shell-view.c | |
parent | 85e032b504cc9a12affba776150df6908d84bea3 (diff) | |
download | gsoc2013-evolution-d2d0eebd74237b46adb8115b2f89e2b1eb2a3898.tar.gz 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-shell-view.c')
-rw-r--r-- | shell/e-shell-view.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 6e12ed4323..ad016da488 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -423,22 +423,22 @@ handle_current_folder_removed (EShellView *shell_view) current_path = priv->uri + E_SHELL_URI_PREFIX_LEN; - g_assert (*current_path == G_DIR_SEPARATOR); + g_assert (*current_path == E_PATH_SEPARATOR); new_path = NULL; /* If we have a parent folder (not a parent storage), try to display that one. */ - p = strrchr (current_path + 1, G_DIR_SEPARATOR); - if (p != NULL && p[1] != '\0' && strchr (current_path + 1, G_DIR_SEPARATOR) != p) { + p = strrchr (current_path + 1, E_PATH_SEPARATOR); + if (p != NULL && p[1] != '\0' && strchr (current_path + 1, E_PATH_SEPARATOR) != p) { new_path = g_strndup (current_path, p - current_path); } else { /* We don't have a parent folder, so try to see if there is an Inbox folder in the same storage. */ /* Extract the storage name. */ - p = strchr (current_path + 1, G_DIR_SEPARATOR); + p = strchr (current_path + 1, E_PATH_SEPARATOR); if (p == NULL) { /* The URL points itself to a storage, so just redirect to the default case. */ |