diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2009-01-29 01:19:34 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-01-29 01:19:34 +0800 |
commit | 533d59e2cd30ba79a99a71907ffdda65505e633a (patch) | |
tree | ba6f611ce6a1bb9d3dfb98a6a6a670cf99a55b9d /shell/e-shell-window-private.h | |
parent | 3e339d5ecc63d912840c6f885460c58f60eb85e0 (diff) | |
download | gsoc2013-evolution-533d59e2cd30ba79a99a71907ffdda65505e633a.tar.gz gsoc2013-evolution-533d59e2cd30ba79a99a71907ffdda65505e633a.tar.zst gsoc2013-evolution-533d59e2cd30ba79a99a71907ffdda65505e633a.zip |
Add unique-1.0 requirement (blessed external dependency).
Make EShell a subclass of UniqueApp and handle single-instance negotiation.
When another Evolution process is running:
- Running "evolution" will simply present the existing windows.
- Running "evolution -c <view>" will open a shell window set to <view>.
- Running "evolution <uri>" will open an appropriate window for <uri>.
The second process will then terminate immediately.
svn path=/branches/kill-bonobo/; revision=37147
Diffstat (limited to 'shell/e-shell-window-private.h')
-rw-r--r-- | shell/e-shell-window-private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell-window-private.h b/shell/e-shell-window-private.h index 3d0d913863..1f0bec799b 100644 --- a/shell/e-shell-window-private.h +++ b/shell/e-shell-window-private.h @@ -65,7 +65,7 @@ G_BEGIN_DECLS struct _EShellWindowPrivate { - EShell *shell; + gpointer shell; /* weak pointer */ /*** UI Management ***/ |