From b24eaafcb868b3fb1f0f0fa1bf93c6640160d203 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 11 Nov 2003 18:43:09 +0000 Subject: kill the right thing (kill_old_dataserver): rename and check the version 2003-11-11 JP Rosevear * main.c (kill_dataserver): kill the right thing (kill_old_dataserver): rename and check the version correctly 2003-11-11 JP Rosevear * configure.in: determine the e-d-s version, version the gettext files properly svn path=/trunk/; revision=23288 --- shell/ChangeLog | 9 +++++++++ shell/main.c | 20 ++++++++++---------- 2 files changed, 19 insertions(+), 10 deletions(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index 0212982d6f..bc8031d33a 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2003-11-11 JP Rosevear + + * main.c (kill_dataserver): kill the right thing + (kill_old_dataserver): rename and check the version correctly + 2003-11-10 Ettore Perazzoli * main.c: Added a new "-c" command-line arg. @@ -43,6 +48,10 @@ * e-component-registry.h (struct _EComponentInfo): New member "alias". +2003-11-07 JP Rosevear + + * Makefile.am: don't include top level libical + 2003-11-07 JP Rosevear * Makefile.am: make sure the marshal header is in the sources too diff --git a/shell/main.c b/shell/main.c index 3c7e3678ee..6743a22cc4 100644 --- a/shell/main.c +++ b/shell/main.c @@ -165,19 +165,19 @@ shell_weak_notify (void *data, #ifdef KILL_PROCESS_CMD static void -kill_wombat (void) +kill_dataserver (void) { - g_print ("(Killing old version of Wombat...)\n"); + g_print ("(Killing old version of evolution-data-server...)\n"); - system (KILL_PROCESS_CMD " -9 lt-evolution-wombat 2> /dev/null"); - system (KILL_PROCESS_CMD " -9 evolution-wombat 2> /dev/null"); + system (KILL_PROCESS_CMD " -9 lt-evolution-data-server 2> /dev/null"); + system (KILL_PROCESS_CMD " -9 evolution-data-server 2> /dev/null"); system (KILL_PROCESS_CMD " -9 lt-evolution-alarm-notify 2> /dev/null"); system (KILL_PROCESS_CMD " -9 evolution-alarm-notify 2> /dev/null"); } static void -kill_old_wombat (void) +kill_old_dataserver (void) { GNOME_Evolution_DataServer_InterfaceCheck iface; CORBA_Environment ev; @@ -187,22 +187,22 @@ kill_old_wombat (void) iface = bonobo_activation_activate_from_id ("OAFIID:GNOME_Evolution_DataServer_InterfaceCheck", 0, NULL, &ev); if (BONOBO_EX (&ev) || iface == CORBA_OBJECT_NIL) { - kill_wombat (); + kill_dataserver (); CORBA_exception_free (&ev); return; } version = GNOME_Evolution_DataServer_InterfaceCheck__get_interfaceVersion (iface, &ev); if (BONOBO_EX (&ev)) { - kill_wombat (); + kill_dataserver (); CORBA_Object_release (iface, &ev); CORBA_exception_free (&ev); return; } - if (strcmp (version, VERSION) != 0) { + if (strcmp (version, DATASERVER_VERSION) != 0) { CORBA_free (version); - kill_wombat (); + kill_dataserver (); CORBA_Object_release (iface, &ev); CORBA_exception_free (&ev); return; @@ -352,7 +352,7 @@ idle_cb (void *data) gboolean displayed_any; #ifdef KILL_PROCESS_CMD - kill_old_wombat (); + kill_old_dataserver (); #endif CORBA_exception_init (&ev); -- cgit v1.2.3