Activate the settings daemon if its not already running.

2002-03-10  Seth Nickell  <snickell@stanford.edu>

	* gnome-mouse-properties.c: (main):

	Activate the settings daemon if its not already running.
This commit is contained in:
Seth Nickell 2002-03-11 01:46:13 +00:00 committed by Seth Nickell
parent 006261e341
commit a4e49d3f74
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2002-03-10 Seth Nickell <snickell@stanford.edu>
* gnome-mouse-properties.c: (main):
Activate the settings daemon if its not already running.
2002-02-27 Kjartan Maraas <kmaraas@gnome.org>
* gnome-mouse-properties.c: s/PACKAGE/GETTEXT_PACKAGE/g

View file

@ -35,6 +35,8 @@
#include "capplet-util.h"
#include "gconf-property-editor.h"
#include "activate-settings-daemon.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
@ -689,6 +691,8 @@ main (int argc, char **argv)
GNOME_PARAM_APP_DATADIR, GNOMECC_DATA_DIR,
NULL);
activate_settings_daemon ();
client = gconf_client_get_default ();
gconf_client_add_dir (client, "/desktop/gnome/peripherals/mouse", GCONF_CLIENT_PRELOAD_ONELEVEL, NULL);