pkgsrc/x11/kdebase/patches/patch-az
hubertf a9c8c52fd1 When we alter installation pathes, alter them everywhere.
Now kcmkwm(sp?) finds the icons for the buttons etc.,
fixing PR 8841 by Juha-Matti Liukkonen <jml@cubical.fi>
2001-02-26 19:21:57 +00:00

22 lines
868 B
Text

$NetBSD: patch-az,v 1.1 2001/02/26 19:21:57 hubertf Exp $
--- kcontrol/kwm/titlebar.cpp.orig Mon Feb 26 15:10:39 2001
+++ kcontrol/kwm/titlebar.cpp
@@ -66,7 +66,7 @@
static QPixmap* loadIcon(const char* name)
{
QPixmap *result = new QPixmap;
- QString fn = "/share/apps/kwm/pics/";
+ QString fn = "/share/kde/apps/kwm/pics/";
fn.append(name);
QString s = KApplication::findFile(fn);
if (!s.isEmpty())
@@ -1146,7 +1146,7 @@
iconLoader->getDirList()->clear();
- iconLoader->insertDirectory(0, kapp->localkdedir()+"/share/apps/kwm/pics");
+ iconLoader->insertDirectory(0, kapp->localkdedir()+"/share/kde/apps/kwm/pics");
iconLoader->insertDirectory(1, kapp->kde_datadir()+"/kwm/pics");
iconLoader->insertDirectory(2, kapp->localkdedir()+"/share/apps/kwm/toolbar");
iconLoader->insertDirectory(3, kapp->kde_datadir()+"/kwm/toolbar");