summaryrefslogtreecommitdiff
path: root/daemon/daemon-main-generic.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2008-02-28 21:34:30 +0000
committerBenjamin Otte <otte@src.gnome.org>2008-02-28 21:34:30 +0000
commitcd1d355b80603b622c2c699cd15026c02477cbcb (patch)
tree0a26fd8f894073cffeeda8db6cd0e46f9fd2b589 /daemon/daemon-main-generic.c
parenta020a38f2d719b2c9b1f072c2a609dfec85fe8bc (diff)
reviewed by: A. Walton <awalton@svn.gnome.org>
2008-02-28 Benjamin Otte <otte@gnome.org> reviewed by: A. Walton <awalton@svn.gnome.org> * daemon/daemon-main-generic.c: (main): * daemon/daemon-main.c: (daemon_setup): * daemon/daemon-main.h: * daemon/gvfsbackendcdda.c: (g_vfs_cdda_daemon_init): * daemon/gvfsbackendcdda.h: * daemon/gvfsbackendsmb.c: (g_vfs_smb_daemon_init): * daemon/gvfsbackendsmb.h: * daemon/gvfsbackendsmbbrowse.c: (g_vfs_smb_browse_daemon_init): * daemon/gvfsbackendsmbbrowse.h: provide default application names for the daemons. This is necessary to avoid gnome-keyring from saying "Application" wants access to the keyring, which could sound very evil for a casual user. Adds some more strings for the poor translators, too! svn path=/trunk/; revision=1434
Diffstat (limited to 'daemon/daemon-main-generic.c')
-rw-r--r--daemon/daemon-main-generic.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/daemon/daemon-main-generic.c b/daemon/daemon-main-generic.c
index ff12e187..3de0133b 100644
--- a/daemon/daemon-main-generic.c
+++ b/daemon/daemon-main-generic.c
@@ -23,6 +23,7 @@
#include <config.h>
#include <glib.h>
+#include <glib/gi18n.h>
#include "daemon-main.h"
#include G_STRINGIFY(BACKEND_HEADER)
@@ -30,6 +31,11 @@ int
main (int argc, char *argv[])
{
daemon_init ();
+#ifdef BACKEND_SETUP_FUNC
+ BACKEND_SETUP_FUNC ();
+#else
+ daemon_setup ();
+#endif
daemon_main (argc, argv,
#ifdef MAX_JOB_THREADS
MAX_JOB_THREADS,