aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/e-shell-content.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell-content.c b/shell/e-shell-content.c
index bc24b22222..61490fd8d5 100644
--- a/shell/e-shell-content.c
+++ b/shell/e-shell-content.c
@@ -260,7 +260,7 @@ shell_content_forall (GtkContainer *container,
priv = E_SHELL_CONTENT_GET_PRIVATE (container);
- if (include_internals && priv->searchbar != NULL)
+ if (include_internals && priv->searchbar != NULL && container == priv->searchbar->parent)
callback (priv->searchbar, callback_data);
/* Chain up to parent's forall() method. */