From 533d59e2cd30ba79a99a71907ffdda65505e633a Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 28 Jan 2009 17:19:34 +0000 Subject: 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 " will open a shell window set to . - Running "evolution " will open an appropriate window for . The second process will then terminate immediately. svn path=/branches/kill-bonobo/; revision=37147 --- shell/e-shell-window-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/e-shell-window-private.h') 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 ***/ -- cgit v1.2.3