┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewcontainer.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-12-10 21:54:53 +0000
committerPeter Penz <[email protected]>2010-12-10 21:54:53 +0000
commit0da54e5c1beb880efbc580f2202108ea46d52a1c (patch)
tree7e5338eb6db48e80474d173678c6afc232c89850 /src/dolphinviewcontainer.cpp
parent934c7bd12ff77eb0e1bb14e9033efff08813251b (diff)
Show an undetermined progress indication within one second after changing an URL.
svn path=/trunk/KDE/kdebase/apps/; revision=1205329
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
-rw-r--r--src/dolphinviewcontainer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp
index d3363cf64..240cfb783 100644
--- a/src/dolphinviewcontainer.cpp
+++ b/src/dolphinviewcontainer.cpp
@@ -289,6 +289,7 @@ void DolphinViewContainer::setUrl(const KUrl& newUrl)
{
if (newUrl != m_urlNavigator->locationUrl()) {
m_urlNavigator->setLocationUrl(newUrl);
+
// Temporary disable the 'File'->'Create New...' menu until
// the write permissions can be checked in a fast way at
// DolphinViewContainer::slotDirListerCompleted().
@@ -296,6 +297,11 @@ void DolphinViewContainer::setUrl(const KUrl& newUrl)
if (isActive()) {
emit writeStateChanged(false);
}
+
+ // Trigger an undetermined progress indication. The progress
+ // information in percent will be triggered by the percent() signal
+ // of the directory lister later.
+ updateProgress(-1);
}
}