only start esd if not running.
2006-02-06 Rodrigo Moya <rodrigo@novell.com> * gnome-settings-sound.c (start_esd): only start esd if not running.
This commit is contained in:
parent
98d6c3d686
commit
b4622dda5d
2 changed files with 20 additions and 11 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2006-02-06 Rodrigo Moya <rodrigo@novell.com>
|
||||||
|
|
||||||
|
* gnome-settings-sound.c (start_esd): only start esd if not running.
|
||||||
|
|
||||||
2006-01-30 Rodrigo Moya <rodrigo@novell.com>
|
2006-01-30 Rodrigo Moya <rodrigo@novell.com>
|
||||||
|
|
||||||
* gnome-settings-multimedia-keys.c: reverted commit from 2006-01-11.
|
* gnome-settings-multimedia-keys.c: reverted commit from 2006-01-11.
|
||||||
|
|
|
@ -55,6 +55,10 @@ start_esd (void)
|
||||||
char *tmpargv[3];
|
char *tmpargv[3];
|
||||||
char argbuf[32];
|
char argbuf[32];
|
||||||
time_t starttime;
|
time_t starttime;
|
||||||
|
|
||||||
|
gnome_sound_init (NULL);
|
||||||
|
if (gnome_sound_connection_get () < 0)
|
||||||
|
{
|
||||||
GnomeClient *client = gnome_master_client ();
|
GnomeClient *client = gnome_master_client ();
|
||||||
|
|
||||||
esdpid = gnome_execute_async (NULL, 2, (char **)esd_cmdline);
|
esdpid = gnome_execute_async (NULL, 2, (char **)esd_cmdline);
|
||||||
|
@ -73,6 +77,7 @@ start_esd (void)
|
||||||
gnome_sound_init(NULL);
|
gnome_sound_init(NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static gboolean set_standby = TRUE;
|
static gboolean set_standby = TRUE;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue