[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_2_BRANCH: kdebase/kate/app
From: Christoph Cullmann <crossfire () babylon2k ! de>
Date: 2004-03-01 19:05:11
Message-ID: 20040301190511.973329959 () office ! kde ! org
[Download RAW message or body]
CVS commit by cullmann:
backport: set view configuration, so view details gets restored
M +6 -3 katefileselector.cpp 1.39.2.1
--- kdebase/kate/app/katefileselector.cpp #1.39:1.39.2.1
@@ -139,5 +139,5 @@ KateFileSelector::KateFileSelector( Kate
dir = new KDirOperator(QString::null, this, "operator");
- dir->setView(KFile::/*Simple*/Detail);
+ dir->setView(KFile::/* Simple */Detail);
KActionCollection *coll = dir->actionCollection();
@@ -227,4 +227,5 @@ KateFileSelector::~KateFileSelector()
void KateFileSelector::readConfig(KConfig *config, const QString & name)
{
+ dir->setViewConfig( config, name + ":view" );
dir->readConfig(config, name + ":dir");
dir->setView( KFile::Default );
@@ -419,8 +420,10 @@ void KateFileSelector::btnFilterClick()
void KateFileSelector::setActiveDocumentDir()
{
-//kdDebug(13001)<<"KateFileSelector::setActiveDocumentDir()"<<endl;
+// kdDebug(13001)<<"KateFileSelector::setActiveDocumentDir()"<<endl;
KURL u = mainwin->activeDocumentUrl();
+// kdDebug(13001)<<"URL: "<<u.prettyURL()<<endl;
if (!u.isEmpty())
setDir( u.upURL() );
+// kdDebug(13001)<<"... setActiveDocumentDir() DONE!"<<endl;
}
@@ -461,5 +464,5 @@ void KateFileSelector::showEvent( QShowE
// sync if we should
if ( autoSyncEvents & GotVisible ) {
- kdDebug(13001)<<"syncing fs on show"<<endl;
+// kdDebug(13001)<<"syncing fs on show"<<endl;
setActiveDocumentDir();
waitingUrl = QString::null;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic