[krb5-auth-dialog] fix icon path for prefs dialog
- From: Guido Günther <guidog src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [krb5-auth-dialog] fix icon path for prefs dialog
- Date: Sun, 9 Aug 2009 12:11:53 +0000 (UTC)
commit 0a5ebf8c8a68bffc6eb650e268f584bbdfba148c
Author: Guido Günther <agx sigxcpu org>
Date: Sun Aug 9 14:11:19 2009 +0200
fix icon path for prefs dialog
preferences/Makefile.am | 1 +
preferences/krb5-auth-dialog-preferences.c | 3 +++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/preferences/Makefile.am b/preferences/Makefile.am
index 15bbf00..4bd76ac 100644
--- a/preferences/Makefile.am
+++ b/preferences/Makefile.am
@@ -13,6 +13,7 @@ krb5_auth_dialog_preferences_SOURCES = \
krb5_auth_dialog_preferences_CPPFLAGS = \
-I$(top_srcdir)/src \
-DKA_DATA_DIR=\""$(pkgdatadir)"\" \
+ -DDATA_DIR=\""$(datadir)"\" \
-DLOCALE_DIR=\""$(localedir)/"\"
$(AM_CPPFLAGS)
diff --git a/preferences/krb5-auth-dialog-preferences.c b/preferences/krb5-auth-dialog-preferences.c
index 442d4f3..fc37580 100644
--- a/preferences/krb5-auth-dialog-preferences.c
+++ b/preferences/krb5-auth-dialog-preferences.c
@@ -825,6 +825,9 @@ main (int argc, char *argv[])
bind_textdomain_codeset (PACKAGE, "UTF-8");
bindtextdomain (PACKAGE, LOCALE_DIR);
+ gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),
+ DATA_DIR G_DIR_SEPARATOR_S "icons");
+
ka_preferences_dialog_init(&dialog);
gtk_main ();
ka_preferences_dialog_finalize(&dialog);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]