[evolution] Anjal's search bar is outside of EShellContent. Handle that.



commit b687d95facc104af1e7f03beaf27cb36f402b625
Author: Srinivasa Ragavan <sragavan gnome org>
Date:   Mon Dec 21 21:39:38 2009 +0530

    Anjal's search bar is outside of EShellContent. Handle that.

 shell/e-shell-content.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/e-shell-content.c b/shell/e-shell-content.c
index bc24b22..61490fd 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. */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]