┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2009-11-18 22:27:31 +0000
committerDavid Faure <[email protected]>2009-11-18 22:27:31 +0000
commitf2c315a147ff4ec9c76e28e0636a02f81fba9548 (patch)
tree24b1ee52ba2acc90acde69346ef7dab0d30adab5 /src/dolphinmainwindow.cpp
parentd4a983d98c9832cee6bc400078dd5c2551a15529 (diff)
Warn when the unsuspecting user is about to create a directory that starts with a dot,
like Sabine's ".csv test files" folder, which did not appear in the directory view after being created. svn path=/trunk/KDE/kdebase/apps/; revision=1051124
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index e9f8d6769..a8847f494 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -552,12 +552,14 @@ void DolphinMainWindow::readProperties(const KConfigGroup& group)
void DolphinMainWindow::updateNewMenu()
{
+ m_newMenu->setViewShowsHiddenFiles(activeViewContainer()->view()->showHiddenFiles());
m_newMenu->slotCheckUpToDate();
m_newMenu->setPopupFiles(activeViewContainer()->url());
}
void DolphinMainWindow::createDirectory()
{
+ m_newMenu->setViewShowsHiddenFiles(activeViewContainer()->view()->showHiddenFiles());
m_newMenu->setPopupFiles(activeViewContainer()->url());
m_newMenu->createDirectory();
}
@@ -1658,7 +1660,7 @@ void DolphinMainWindow::setUrlAsCaption(const KUrl& url)
caption = url.protocol();
}
}
-
+
setCaption(caption);
}