diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-03-10 04:07:28 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-03-10 04:07:28 +0800 |
commit | 89d666e54338b9f8e8c6574aef45060f2371d8d5 (patch) | |
tree | ebf99b47d0190c61a368ff004d7e41da51dbdb4d /shell/e-shell-view.c | |
parent | f7e0850ff206d1aed3922000a8cba39d7bc8848a (diff) | |
download | gsoc2013-evolution-89d666e54338b9f8e8c6574aef45060f2371d8d5.tar.gz 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/e-shell-view.c')
-rw-r--r-- | shell/e-shell-view.c | 4 |
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; } |