aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r--shell/e-shell-view.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 03906a20d3..c8385ebbc4 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -1122,6 +1122,7 @@ updated_folder_cb (EStorageSet *storage_set,
{
EShellView *shell_view;
EShellViewPrivate *priv;
+ const char *view_path;
shell_view = E_SHELL_VIEW (data);
priv = shell_view->priv;
@@ -1134,6 +1135,10 @@ updated_folder_cb (EStorageSet *storage_set,
g_free (uri);
#endif
+ view_path = get_storage_set_path_from_uri (priv->uri);
+ if (strcmp (path, view_path) != 0)
+ return;
+
/* Update the folder title bar and the window title bar */
update_for_current_uri (shell_view);
}