diff options
author | guidog <guidog@517b70f8-ed25-0410-8bf6-f5db08f7b76e> | 2009-01-12 18:13:29 +0000 |
---|---|---|
committer | guidog <guidog@517b70f8-ed25-0410-8bf6-f5db08f7b76e> | 2009-01-12 18:13:29 +0000 |
commit | 807916523f75ae12a653f00f5eff3cc134568d54 (patch) | |
tree | 4437382f282406825f3eff08168e502fc3f4b045 /src/krb5-auth-applet.c | |
parent | bfc744775f26cfcff5c732b0e99a4903363eb0ce (diff) |
move icons to $(datadir)/krb5-auth-dialog
and add this to the icon search path. Fixes installations with prefix !=
/usr
git-svn-id: http://svn.gnome.org/svn/krb5-auth-dialog/trunk@121 517b70f8-ed25-0410-8bf6-f5db08f7b76e
Diffstat (limited to 'src/krb5-auth-applet.c')
-rw-r--r-- | src/krb5-auth-applet.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/krb5-auth-applet.c b/src/krb5-auth-applet.c index c915240..99b4007 100644 --- a/src/krb5-auth-applet.c +++ b/src/krb5-auth-applet.c @@ -254,6 +254,9 @@ ka_create_tray_icon (Krb5AuthApplet* applet) int ka_setup_icons (Krb5AuthApplet* applet) { + /* Add application specific icons to search path */ + gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (), + KA_DATA_DIR G_DIR_SEPARATOR_S "icons"); applet->icons[val_icon] = "krb-valid-ticket"; applet->icons[exp_icon] = "krb-expiring-ticket"; applet->icons[inv_icon] = "krb-no-valid-ticket"; |