[gnome-settings-daemon] Honour libexecdir when spawning gsd-locate-pointer
- From: Jens Granseuer <jensg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] Honour libexecdir when spawning gsd-locate-pointer
- Date: Fri, 30 Oct 2009 18:05:31 +0000 (UTC)
commit 2fe8419cc67644d3e83026dc4ad8094499b680e3
Author: Jens Granseuer <jensgr gmx net>
Date: Fri Oct 30 19:03:01 2009 +0100
Honour libexecdir when spawning gsd-locate-pointer
Fixes bug #599209.
plugins/mouse/Makefile.am | 1 +
plugins/mouse/gsd-mouse-manager.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/mouse/Makefile.am b/plugins/mouse/Makefile.am
index 315e1bc..d05a068 100644
--- a/plugins/mouse/Makefile.am
+++ b/plugins/mouse/Makefile.am
@@ -9,6 +9,7 @@ libmouse_la_SOURCES = \
libmouse_la_CPPFLAGS = \
-I$(top_srcdir)/gnome-settings-daemon \
-DGNOME_SETTINGS_LOCALEDIR=\""$(datadir)/locale"\" \
+ -DLIBEXECDIR=\""$(libexecdir)"\" \
$(AM_CPPFLAGS)
libmouse_la_CFLAGS = \
diff --git a/plugins/mouse/gsd-mouse-manager.c b/plugins/mouse/gsd-mouse-manager.c
index 4c463eb..d8c0e47 100644
--- a/plugins/mouse/gsd-mouse-manager.c
+++ b/plugins/mouse/gsd-mouse-manager.c
@@ -728,7 +728,7 @@ set_locate_pointer (GsdMouseManager *manager,
if (manager->priv->locate_pointer_spawned)
return;
- args[0] = "/usr/libexec/gsd-locate-pointer";
+ args[0] = LIBEXECDIR "/gsd-locate-pointer";
args[1] = NULL;
g_spawn_async (NULL, args, NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]