diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-07-20 15:32:34 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-07-20 15:32:34 +0800 |
commit | 1168da7072a57fb9fc66be77df43e82392659c18 (patch) | |
tree | 7d6cd4043be44186bbda30bacda3a6ed624f7319 /shell/e-shell.c | |
parent | b05db271facb10107b78a7d7c58a1ab9e744eda5 (diff) | |
download | gsoc2013-evolution-1168da7072a57fb9fc66be77df43e82392659c18.tar gsoc2013-evolution-1168da7072a57fb9fc66be77df43e82392659c18.tar.gz gsoc2013-evolution-1168da7072a57fb9fc66be77df43e82392659c18.tar.bz2 gsoc2013-evolution-1168da7072a57fb9fc66be77df43e82392659c18.tar.lz gsoc2013-evolution-1168da7072a57fb9fc66be77df43e82392659c18.tar.xz gsoc2013-evolution-1168da7072a57fb9fc66be77df43e82392659c18.tar.zst gsoc2013-evolution-1168da7072a57fb9fc66be77df43e82392659c18.zip |
Added/fixed support for multiple views.
svn path=/trunk/; revision=4234
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r-- | shell/e-shell.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c index cd73795ee5..63c4b08f92 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -349,8 +349,12 @@ view_destroy_cb (GtkObject *object, shell = E_SHELL (data); shell->priv->views = g_list_remove (shell->priv->views, object); - if (shell->priv->views == NULL) + if (shell->priv->views == NULL) { + /* FIXME: This looks like a Bonobo bug to me. */ + bonobo_object_ref (BONOBO_OBJECT (shell)); gtk_signal_emit (GTK_OBJECT (shell), signals[NO_VIEWS_LEFT]); + bonobo_object_unref (BONOBO_OBJECT (shell)); + } } |