[universal-access] Use the UI dir set in the Makefile.am

This commit is contained in:
William Jon McCann 2010-10-31 21:54:24 -04:00
parent 3c843ca3ac
commit ced070982a
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
INCLUDES = \
$(PANEL_CFLAGS) \
$(GNOMECC_CAPPLETS_CFLAGS) \
-DGNOMECC_UI_DIR="\"$(uidir)\"" \
-DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
-DGNOMECC_DATA_DIR="\"$(pkgdatadir)\"" \
$(NULL)

View file

@ -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);