From ba14e3cb74ca760cccba21b6e6829f978f81a17b Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 2 Oct 2001 20:31:13 +0000 Subject: [Fix #11326, The folder list can become detached from its parent window.] * e-shell-view.c (folder_context_menu_popped_down_cb): Pop down the folder bar if it's popped up. svn path=/trunk/; revision=13346 --- shell/ChangeLog | 8 ++++++++ shell/e-shell-view.c | 3 +++ 2 files changed, 11 insertions(+) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index 40daa553ac..b6ab8d4dce 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,11 @@ +2001-10-02 Ettore Perazzoli + + [Fix #11326, The folder list can become detached from its parent + window.] + + * e-shell-view.c (folder_context_menu_popped_down_cb): Pop down + the folder bar if it's popped up. + 2001-10-02 Ettore Perazzoli * e-shell.c (e_shell_component_maybe_crashed): Make the crash diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 650e76030d..893c6fe4e9 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -740,6 +740,9 @@ folder_context_menu_popped_down_cb (EStorageSetView *storage_set_view, shell_view = E_SHELL_VIEW (data); setup_verb_sensitivity_for_folder (shell_view, e_shell_view_get_current_path (shell_view)); + + if (shell_view->priv->folder_bar_popup != NULL) + popdown_transient_folder_bar (shell_view); } /* Callback called when the button on the tree's title bar is clicked. */ -- cgit v1.2.3