1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-23 22:52:34 +01:00

applied patch to rename .AppInfo directory

This commit is contained in:
kojima
2005-03-11 01:58:55 +00:00
parent 3301b57d4b
commit 25c37b7637
7 changed files with 25 additions and 9 deletions

View File

@@ -496,7 +496,7 @@ getnameforicon(WWindow *wwin)
prefix = wusergnusteppath();
len = strlen(prefix)+64+strlen(suffix);
path = wmalloc(len+1);
snprintf(path, len, "%s/.AppInfo", prefix);
snprintf(path, len, "%s/Library/WindowMaker/CachedPixmaps", prefix);
if (access(path, F_OK)!=0) {
if (mkdir(path, S_IRUSR|S_IWUSR|S_IXUSR)) {
@@ -527,7 +527,7 @@ getnameforicon(WWindow *wwin)
/*
* wIconStore--
* Stores the client supplied icon at ~/GNUstep/.AppInfo/WindowMaker
* Stores the client supplied icon at ~/GNUstep/Library/WindowMaker/CachedPixmaps
* and returns the path for that icon. Returns NULL if there is no
* client supplied icon or on failure.
*