summaryrefslogtreecommitdiff
path: root/applets/brightness
diff options
context:
space:
mode:
Diffstat (limited to 'applets/brightness')
-rw-r--r--applets/brightness/Makefile.am4
-rw-r--r--applets/brightness/brightness-applet.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/applets/brightness/Makefile.am b/applets/brightness/Makefile.am
index 7962787..5977106 100644
--- a/applets/brightness/Makefile.am
+++ b/applets/brightness/Makefile.am
@@ -6,13 +6,13 @@ AM_CPPFLAGS = \
$(PANEL_CFLAGS) \
$(LIBNOTIFY_CFLAGS) \
-DBINDIR=\"$(bindir)\" \
- -DMATELOCALEDIR=\""$(datadir)/locale"\" \
+ -DMATELOCALEDIR=\""$(datadir)/locale"\" \
-DDATADIR=\"$(datadir)\" \
-DPREFIX=\""$(prefix)"\" \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
-DLIBDIR=\""$(libdir)"\" \
-DVERSION="\"$(VERSION)\"" \
- -DGPM_DATA=\"$(pkgdatadir)\" \
+ -DGPM_ICONS_DATA=\"$(pkgdatadir)/icons\" \
-DBRIGHTNESS_MENU_UI_DIR=\""$(uidir)"\" \
-DEGG_LOG_FILE=\""~/mate-power-manager.log"\" \
-DEGG_VERBOSE="\"GPM_VERBOSE\"" \
diff --git a/applets/brightness/brightness-applet.c b/applets/brightness/brightness-applet.c
index 9074fa9..ebf9914 100644
--- a/applets/brightness/brightness-applet.c
+++ b/applets/brightness/brightness-applet.c
@@ -996,7 +996,7 @@ gpm_brightness_applet_init (GpmBrightnessApplet *applet)
/* Add application specific icons to search path */
gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),
- GPM_DATA G_DIR_SEPARATOR_S "icons");
+ GPM_ICONS_DATA);
/* monitor the daemon */
applet->bus_watch_id =