[nautilus-actions] Send an identification message to syslog at module initialization



commit 0163688adffec2e7fa2af151d92bc175595bda8c
Author: Pierre Wieser <pwieser trychlos org>
Date:   Mon Jun 1 11:52:46 2009 +0200

    Send an identification message to syslog at module initialization
---
 ChangeLog                    |    6 ++++++
 configure.ac                 |    2 +-
 src/plugin/nautilus-module.c |    2 ++
 3 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 320cc6e..257100d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-06-01 Pierre Wieser <pwieser trychlos org>
+
+	* configure.ac: Have a more funny package string.
+
+	* src/plugin/nautilus-module.c: Syslog at module initialization.
+
 2009-05-29 Pierre Wieser <pwieser trychlos org>
 
 	Move all sources directories under src/
diff --git a/configure.ac b/configure.ac
index 9e02d9a..5c9cd5f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,7 +29,7 @@
 AC_PREREQ([2.53])
 
 # odd version is unstable
-AC_INIT([nautilus-actions],[1.11],[maintainer nautilus-actions org])
+AC_INIT([Nautilus-Actions],[1.11],[maintainer nautilus-actions org])
 AC_CANONICAL_TARGET
 AM_INIT_AUTOMAKE
 
diff --git a/src/plugin/nautilus-module.c b/src/plugin/nautilus-module.c
index 0df4742..6f10c5d 100644
--- a/src/plugin/nautilus-module.c
+++ b/src/plugin/nautilus-module.c
@@ -56,6 +56,8 @@ static void nact_log_handler( const gchar *log_domain, GLogLevelFlags log_level,
 void
 nautilus_module_initialize( GTypeModule *module )
 {
+	syslog( LOG_USER | LOG_INFO, "%s initializing...", PACKAGE_STRING );
+
 #ifdef NACT_MAINTAINER_MODE
 	/*
 	 *  install a debug log handler



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]