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, 4 insertions, 1 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index bc4084e473..a8ece91adf 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -1724,7 +1724,10 @@ e_shell_view_unblock_update_actions (EShellView *shell_view)
g_return_if_fail (shell_view->priv->update_actions_blocked > 0);
shell_view->priv->update_actions_blocked--;
- if (!shell_view->priv->update_actions_blocked && shell_view->priv->update_actions_called) {
+
+ if (!shell_view->priv->update_actions_blocked &&
+ shell_view->priv->update_actions_called) {
+
shell_view->priv->update_actions_called = FALSE;
e_shell_view_update_actions (shell_view);
}