[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeartwork/kwin-styles/icewm
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2003-12-11 10:15:12
[Download RAW message or body]

CVS commit by lunakl: 

Don't use appdata KStandardDirs resource, the plugin can be used also
outside of kwin.
CCMAIL: 70098-done@bugs.kde.org


  M +4 -4      icewm.cpp   1.35


--- kdeartwork/kwin-styles/icewm/icewm.cpp  #1.34:1.35
@@ -266,5 +266,5 @@ void ThemeHandler::initTheme()
         // We use kconfig to read icewm config files...
         // this is easy since icewm uses key=value pairs!
-        KConfig config( locate("appdata", QString("icewm-themes/") +
+        KConfig config( locate("data", QString("kwin/icewm-themes/") +
                                         themeName + QString("default.theme")) );
 
@@ -560,7 +560,7 @@ void ThemeHandler::setPixmap( QPixmap* p
                 qWarning("kwin-icewm: setPixmap - should be null (2)\n");
 
-        p[Active]   = new QPixmap( locate("appdata", QString("icewm-themes/")
+        p[Active]   = new QPixmap( locate("data", QString("kwin/icewm-themes/")
                                                                 + themeName + s1 + "A" + s2) );
-        p[InActive] = new QPixmap( locate("appdata", QString("icewm-themes/")
+        p[InActive] = new QPixmap( locate("data", QString("kwin/icewm-themes/")
                                                                 + themeName + s1 + "I" + s2) );
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic