diff options
author | Peter Williams <peterw@src.gnome.org> | 2000-08-26 02:41:45 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2000-08-26 02:41:45 +0800 |
commit | c1f3e5432aab231b1e565e9a79e065abf622d4a7 (patch) | |
tree | 32eacc8918db22de87c599ce85b9e9d8038ded62 /shell/e-shell-view.c | |
parent | a70be7b583b452066fd48ce2ff90280f501c8a8a (diff) | |
download | gsoc2013-evolution-c1f3e5432aab231b1e565e9a79e065abf622d4a7.tar.gz gsoc2013-evolution-c1f3e5432aab231b1e565e9a79e065abf622d4a7.tar.zst gsoc2013-evolution-c1f3e5432aab231b1e565e9a79e065abf622d4a7.zip |
Ref a few things that need it. Avoid triggering some assertions.
svn path=/trunk/; revision=5039
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r-- | shell/e-shell-view.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index c7bc911aad..be0845da32 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -850,8 +850,10 @@ update_folder_title_bar (EShellView *shell_view, folder_name = e_folder_get_name (folder); } - e_shell_folder_title_bar_set_icon (E_SHELL_FOLDER_TITLE_BAR (priv->view_title_bar), folder_icon); - e_shell_folder_title_bar_set_title (E_SHELL_FOLDER_TITLE_BAR (priv->view_title_bar), folder_name); + if (folder_icon) + e_shell_folder_title_bar_set_icon (E_SHELL_FOLDER_TITLE_BAR (priv->view_title_bar), folder_icon); + if (folder_name) + e_shell_folder_title_bar_set_title (E_SHELL_FOLDER_TITLE_BAR (priv->view_title_bar), folder_name); } static void |