aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-10 15:59:38 -0500
committerTed Gould <ted@canonical.com>2009-09-10 15:59:38 -0500
commitedba4f977f7ba9692e48cf40dea2466b07e967e1 (patch)
tree636957e59d0837fb6a30dd5de7230b1dc5e4332f
parent3211a5e810fbbe830a237127092d221018f4f6a2 (diff)
downloadayatana-indicator-session-edba4f977f7ba9692e48cf40dea2466b07e967e1.tar.gz
ayatana-indicator-session-edba4f977f7ba9692e48cf40dea2466b07e967e1.tar.bz2
ayatana-indicator-session-edba4f977f7ba9692e48cf40dea2466b07e967e1.zip
Grabbing the icons from the indicator dir where we install them.
-rw-r--r--src/gtk-dialog/Makefile.am2
-rw-r--r--src/gtk-dialog/gtk-logout-helper.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/gtk-dialog/Makefile.am b/src/gtk-dialog/Makefile.am
index 90a6209..5f2df2f 100644
--- a/src/gtk-dialog/Makefile.am
+++ b/src/gtk-dialog/Makefile.am
@@ -10,6 +10,6 @@ gtk_logout_helper_SOURCES = \
logout-dialog.c \
logout-dialog.h
-gtk_logout_helper_CFLAGS = $(GTKLOGOUTHELPER_CFLAGS) $(GCONF_CFLAGS) -Wall -Werror
+gtk_logout_helper_CFLAGS = $(GTKLOGOUTHELPER_CFLAGS) $(GCONF_CFLAGS) -Wall -Werror -DINDICATOR_ICONS_DIR="\"$(INDICATORICONSDIR)\""
gtk_logout_helper_LDADD = $(GTKLOGOUTHELPER_LIBS) $(GCONF_LIBS)
diff --git a/src/gtk-dialog/gtk-logout-helper.c b/src/gtk-dialog/gtk-logout-helper.c
index 13991ca..e6a9ef8 100644
--- a/src/gtk-dialog/gtk-logout-helper.c
+++ b/src/gtk-dialog/gtk-logout-helper.c
@@ -133,6 +133,10 @@ main (int argc, char * argv[])
return 1;
}
+ /* Init some theme/icon stuff */
+ gtk_icon_theme_append_search_path(gtk_icon_theme_get_default(),
+ INDICATOR_ICONS_DIR);
+
GtkWidget * dialog = NULL;
if (!pk_require_auth(type) && !supress_confirmations()) {
dialog = logout_dialog_new(type);