Force launching nautilus in the home directory, rather than relying on it

2007-06-11  Bastien Nocera  <hadess@hadess.net>

	* gnome-settings-multimedia-keys.c: (do_action): Force launching
	nautilus in the home directory, rather than relying on it
	opening there (Closes: #356069)


svn path=/trunk/; revision=7716
This commit is contained in:
Bastien Nocera 2007-06-11 09:06:15 +00:00 committed by Bastien Nocera
parent dcb6f5bd6f
commit 0faffda202
2 changed files with 13 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2007-06-11 Bastien Nocera <hadess@hadess.net>
* gnome-settings-multimedia-keys.c: (do_action): Force launching
nautilus in the home directory, rather than relying on it
opening there (Closes: #356069)
2007-06-06 Rodrigo Moya <rodrigo@gnome-db.org>
* gnome-settings-default-editor.c:
@ -550,7 +556,7 @@
* actions/acme-volume-gstreamer.c: (_acme_set_mixer),
(acme_volume_gstreamer_open):
optional use of gstreamer0.10, patch based on the work
done by Saleem Abdulrasool and Tim-Philipp Müller (Fixes: #326257)
done by Saleem Abdulrasool and Tim-Philipp M?ller (Fixes: #326257)
2006-01-14 Rodney Dawes <dobey@novell.com>

View file

@ -631,6 +631,7 @@ static gboolean
do_action (Acme *acme, int type)
{
gchar *cmd;
gchar *path;
switch (type) {
case MUTE_KEY:
@ -645,7 +646,11 @@ do_action (Acme *acme, int type)
do_eject_action (acme);
break;
case HOME_KEY:
execute (acme, "nautilus", FALSE, FALSE);
path = g_shell_quote (g_get_home_dir ());
cmd = g_strconcat ("nautilus ", path, NULL);
g_free (path);
execute (acme, cmd, FALSE, FALSE);
g_free (cmd);
break;
case SEARCH_KEY:
execute (acme, "gnome-search-tool", FALSE, FALSE);