[gnome-control-center] [universal-access] Use the UI dir set in the Makefile.am
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] [universal-access] Use the UI dir set in the Makefile.am
- Date: Mon, 1 Nov 2010 02:26:36 +0000 (UTC)
commit ced070982aa6dfe35626ec11c2dd3b758d413970
Author: William Jon McCann <jmccann redhat com>
Date: Sun Oct 31 21:54:24 2010 -0400
[universal-access] Use the UI dir set in the Makefile.am
panels/universal-access/Makefile.am | 1 +
panels/universal-access/cc-ua-panel.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/panels/universal-access/Makefile.am b/panels/universal-access/Makefile.am
index fe8e510..55b36e5 100644
--- a/panels/universal-access/Makefile.am
+++ b/panels/universal-access/Makefile.am
@@ -1,6 +1,7 @@
INCLUDES = \
$(PANEL_CFLAGS) \
$(GNOMECC_CAPPLETS_CFLAGS) \
+ -DGNOMECC_UI_DIR="\"$(uidir)\"" \
-DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
-DGNOMECC_DATA_DIR="\"$(pkgdatadir)\"" \
$(NULL)
diff --git a/panels/universal-access/cc-ua-panel.c b/panels/universal-access/cc-ua-panel.c
index 59a4ccf..cd94453 100644
--- a/panels/universal-access/cc-ua-panel.c
+++ b/panels/universal-access/cc-ua-panel.c
@@ -744,7 +744,7 @@ cc_ua_panel_init (CcUaPanel *self)
priv->builder = gtk_builder_new ();
gtk_builder_add_objects_from_file (priv->builder,
- GNOMECC_DATA_DIR "/ui/uap.ui",
+ GNOMECC_UI_DIR "/uap.ui",
objects,
&err);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]