aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-03-10 04:07:28 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-03-10 04:07:28 +0800
commit89d666e54338b9f8e8c6574aef45060f2371d8d5 (patch)
treeebf99b47d0190c61a368ff004d7e41da51dbdb4d /shell
parentf7e0850ff206d1aed3922000a8cba39d7bc8848a (diff)
downloadgsoc2013-evolution-89d666e54338b9f8e8c6574aef45060f2371d8d5.tar
gsoc2013-evolution-89d666e54338b9f8e8c6574aef45060f2371d8d5.tar.gz
gsoc2013-evolution-89d666e54338b9f8e8c6574aef45060f2371d8d5.tar.bz2
gsoc2013-evolution-89d666e54338b9f8e8c6574aef45060f2371d8d5.tar.lz
gsoc2013-evolution-89d666e54338b9f8e8c6574aef45060f2371d8d5.tar.xz
gsoc2013-evolution-89d666e54338b9f8e8c6574aef45060f2371d8d5.tar.zst
gsoc2013-evolution-89d666e54338b9f8e8c6574aef45060f2371d8d5.zip
Bug 610023 - Does not restore "Current View" on startup
Adds a GalViewInstance::loaded signal so EShellView gets notified when the initial view is loaded.
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 0be1dc193e..9a8ec9c267 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -1594,5 +1594,9 @@ e_shell_view_new_view_instance (EShellView *shell_view,
view_instance, "changed",
G_CALLBACK (shell_view_update_view_id), shell_view);
+ g_signal_connect_swapped (
+ view_instance, "loaded",
+ G_CALLBACK (shell_view_update_view_id), shell_view);
+
return view_instance;
}