]> git.pld-linux.org Git - packages/kdelibs.git/blob - kdelibs-appicon_themable.patch
- old patch
[packages/kdelibs.git] / kdelibs-appicon_themable.patch
1 --- kdelibs-3.2.3/kdecore/kiconloader.cpp.orig  2004-06-02 13:15:48.869011792 +0000
2 +++ kdelibs-3.2.3/kdecore/kiconloader.cpp       2004-06-02 13:22:09.558138248 +0000
3 @@ -216,7 +216,11 @@
4         if (!d->mpGroups[i].size)
5             d->mpGroups[i].size = d->mpThemeRoot->theme->defaultSize(i);
6      }
7 -
8 +    // Make the app icons themable!!!
9 +    d->mpDirs->addResourceType("appicon", KStandardDirs::kde_default("icon") +
10 +               KIconTheme::current() + appname + "/pics/");
11 +    d->mpDirs->addResourceType("appicon", KStandardDirs::kde_default("icon") +
12 +               KIconTheme::current() + appname + "/toolbar/");
13      // Insert application specific themes at the top.
14      d->mpDirs->addResourceType("appicon", KStandardDirs::kde_default("data") +
15                 appname + "/pics/");
This page took 0.026334 seconds and 3 git commands to generate.