From 0da54e5c1beb880efbc580f2202108ea46d52a1c Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 10 Dec 2010 21:54:53 +0000 Subject: Show an undetermined progress indication within one second after changing an URL. svn path=/trunk/KDE/kdebase/apps/; revision=1205329 --- src/dolphinviewcontainer.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/dolphinviewcontainer.cpp') 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); } } -- cgit v1.3