aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-folder-cache.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-07-05 22:37:54 +0800
committerPeter Williams <peterw@src.gnome.org>2001-07-05 22:37:54 +0800
commit5438b275894ae095116ef0312cc687da09de248d (patch)
treee0dafe5fb37578bcba2bb15427ee3560b2cf65ad /mail/mail-folder-cache.c
parent4495c61899a6ad87fee5cbce4e46811739cd8d3f (diff)
downloadgsoc2013-evolution-5438b275894ae095116ef0312cc687da09de248d.tar
gsoc2013-evolution-5438b275894ae095116ef0312cc687da09de248d.tar.gz
gsoc2013-evolution-5438b275894ae095116ef0312cc687da09de248d.tar.bz2
gsoc2013-evolution-5438b275894ae095116ef0312cc687da09de248d.tar.lz
gsoc2013-evolution-5438b275894ae095116ef0312cc687da09de248d.tar.xz
gsoc2013-evolution-5438b275894ae095116ef0312cc687da09de248d.tar.zst
gsoc2013-evolution-5438b275894ae095116ef0312cc687da09de248d.zip
Clear the shell view label if mailer loses focus.
2001-07-05 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (mail_folder_cache_set_folder_browser): Clear the shell view label if mailer loses focus. * mail-ops.c (do_update_subfolders_rec): Check for NULL url before calling folder cache functions. svn path=/trunk/; revision=10804
Diffstat (limited to 'mail/mail-folder-cache.c')
-rw-r--r--mail/mail-folder-cache.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c
index d6fb475813..d3e64c73d3 100644
--- a/mail/mail-folder-cache.c
+++ b/mail/mail-folder-cache.c
@@ -805,6 +805,17 @@ mail_folder_cache_set_folder_browser (FolderBrowser *fb)
if (fb) {
dm ("Reffing new browser %p", fb);
gtk_object_ref (GTK_OBJECT (fb));
+ } else if (shell_view != CORBA_OBJECT_NIL) {
+ CORBA_Environment ev;
+
+ CORBA_exception_init (&ev);
+ GNOME_Evolution_ShellView_setFolderBarLabel (shell_view,
+ "",
+ &ev);
+ if (BONOBO_EX (&ev))
+ g_warning ("Exception in folder bar label clear: %s",
+ bonobo_exception_get_text (&ev));
+ CORBA_exception_free (&ev);
}
LOCK_FOLDERS ();