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

List:       kde-commits
Subject:    kdelibs/kdoctools
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2003-12-08 21:16:53
[Download RAW message or body]

CVS commit by ossi: 

moving kio_help cache to "cache" resource


  A            kio_help.upd   1.1
  A            move_kio_help_cache.sh   1.1
  M +3 -0      Makefile.am   1.60
  M +2 -2      kio_help.cpp   1.53
  M +2 -2      xslt.cpp   1.68


--- kdelibs/kdoctools/Makefile.am  #1.59:1.60
@@ -38,4 +38,7 @@
 METASOURCES = AUTO
 
+update_DATA = kio_help.upd move_kio_help_cache.sh
+updatedir = $(kde_datadir)/kconf_update
+
 messages:
         $(XGETTEXT) *.cpp -o $(podir)/kio_help.pot

--- kdelibs/kdoctools/kio_help.cpp  #1.52:1.53
@@ -235,6 +235,6 @@ void HelpProtocol::get( const KURL& url 
                 infoMessage( i18n( "Saving to cache" ) );
                 QString cache = file.left( file.length() - 7 );
-                saveToCache( mParsed, locateLocal( "data",
-                                                        "kio_help/cache" + cache +
+                saveToCache( mParsed, locateLocal( "cache",
+                                                        "kio_help" + cache +
                                                         "cache.bz2" ) );
             }

--- kdelibs/kdoctools/xslt.cpp  #1.67:1.68
@@ -280,6 +280,6 @@ QString lookForCache( const QString &fil
         return output;
     if ( readCache( filename,
-                    locateLocal( "data",
-                                 "kio_help/cache" + cache +
+                    locateLocal( "cache",
+                                 "kio_help" + cache +
                                  "cache.bz2" ), output ) )
         return output;


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

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