Activate the settings daemon if its not already running.
2002-03-10 Seth Nickell <snickell@stanford.edu> * main.c: (main): * sound-properties-capplet.c: (main): Activate the settings daemon if its not already running.
This commit is contained in:
parent
eacc848769
commit
024ad269ad
3 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2002-03-10 Seth Nickell <snickell@stanford.edu>
|
||||
|
||||
* main.c: (main):
|
||||
* sound-properties-capplet.c: (main):
|
||||
|
||||
Activate the settings daemon if its not already running.
|
||||
|
||||
2002-03-07 Richard Hestilow <hestilow@ximian.com>
|
||||
|
||||
* sound-properties-capplet.c (main): Okay, so I'm an idiot.
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "activate-settings-daemon.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <gnome.h>
|
||||
#include <libgnomeui/gnome-window-icon.h>
|
||||
|
@ -211,6 +213,8 @@ main (int argc, char **argv)
|
|||
VERSION, argc, argv, NULL,
|
||||
0, NULL);
|
||||
|
||||
activate_settings_daemon ();
|
||||
|
||||
if (res < 0) {
|
||||
g_error ("Could not initialize the capplet.");
|
||||
}
|
||||
|
|
|
@ -39,6 +39,8 @@
|
|||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "activate-settings-daemon.h"
|
||||
|
||||
/* Capplet-specific prototypes */
|
||||
|
||||
static SoundProperties *props = NULL;
|
||||
|
@ -147,6 +149,8 @@ main (int argc, char **argv)
|
|||
GNOME_PARAM_POPT_TABLE, cap_options,
|
||||
NULL);
|
||||
|
||||
activate_settings_daemon ();
|
||||
|
||||
client = gconf_client_get_default ();
|
||||
gconf_client_add_dir (client, "/desktop/gnome/sound", GCONF_CLIENT_PRELOAD_ONELEVEL, NULL);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue