From 44f482262c0154e373c9efee52ae79ca871438db Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 15 Nov 2002 22:06:22 +0000 Subject: [PATCH] Added rule to generate GNOME_Evolution_Shell.server.in from * Makefile.am: Added rule to generate GNOME_Evolution_Shell.server.in from GNOME_Evolution_Shell.server.in.in, substituting @BINDIR@. * GNOME_Evolution_Shell.server.in.in: Renamed from GNOME_Evolution_Shell.server.in. Prepend @BINDIR@ to the location of the executable. svn path=/trunk/; revision=18792 --- shell/ChangeLog | 10 ++++++++++ ...ll.server.in => GNOME_Evolution_Shell.server.in.in} | 2 +- shell/Makefile.am | 6 ++++-- shell/e-shell.c | 4 ++-- 4 files changed, 17 insertions(+), 5 deletions(-) rename shell/{GNOME_Evolution_Shell.server.in => GNOME_Evolution_Shell.server.in.in} (97%) diff --git a/shell/ChangeLog b/shell/ChangeLog index d0fdf4e641..ec585ad2af 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,13 @@ +2002-11-15 Ettore Perazzoli + + * Makefile.am: Added rule to generate + GNOME_Evolution_Shell.server.in from + GNOME_Evolution_Shell.server.in.in, substituting @BINDIR@. + + * GNOME_Evolution_Shell.server.in.in: Renamed from + GNOME_Evolution_Shell.server.in. Prepend @BINDIR@ to the location + of the executable. + 2002-11-15 Ettore Perazzoli * evolution-storage.c (impl_finalize): Fix typo; p -> sp. diff --git a/shell/GNOME_Evolution_Shell.server.in b/shell/GNOME_Evolution_Shell.server.in.in similarity index 97% rename from shell/GNOME_Evolution_Shell.server.in rename to shell/GNOME_Evolution_Shell.server.in.in index 54d80530d9..0dbeb6f8bb 100644 --- a/shell/GNOME_Evolution_Shell.server.in +++ b/shell/GNOME_Evolution_Shell.server.in.in @@ -2,7 +2,7 @@ + location="@BINDIR@/evolution"> diff --git a/shell/Makefile.am b/shell/Makefile.am index 81ad69cec4..838e582237 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -255,8 +255,10 @@ install-test-component: evolution-test-component # Misc stuff serverdir = $(libdir)/bonobo/servers -server_in_files = GNOME_Evolution_Shell.server.in -server_DATA = $(server_in_files:.server.in=.server) +server_in_files = GNOME_Evolution_Shell.server.in.in +server_DATA = $(server_in_files:.server.in.in=.server) +$(server_in_files:.server.in.in=.server.in): $(server_in_files) + sed -e "s|\@BINDIR\@|$(bindir)|" $< > $@ etspecdir = $(datadir)/evolution/etspec/ etspec_DATA = \ diff --git a/shell/e-shell.c b/shell/e-shell.c index a02cc1e89b..36b14f4d2b 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -961,14 +961,14 @@ notify_no_views_left_idle_cb (void *data) { EShell *shell; - puts (__FUNCTION__); - shell = E_SHELL (data); set_interactive (shell, FALSE); bonobo_object_ref (BONOBO_OBJECT (shell)); + g_signal_emit (shell, signals [NO_VIEWS_LEFT], 0); + bonobo_object_unref (BONOBO_OBJECT (shell)); return FALSE;