diff options
| author | Peter Penz <[email protected]> | 2009-07-29 21:56:37 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-07-29 21:56:37 +0000 |
| commit | a70be712fd5b33071c4733c47f810948d86dd4d8 (patch) | |
| tree | 5683e3ac6880810013a001257ce1079beeb31436 /src/dolphinviewcontainer.cpp | |
| parent | a48c813fd9b4c416f23c48914889946074b96084 (diff) | |
Allow the revision control plugins to indicate information-, error- and operation-completed messages.
svn path=/trunk/KDE/kdebase/apps/; revision=1004346
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 3111925ff..475b002e2 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -335,7 +335,13 @@ void DolphinViewContainer::slotDirListerCompleted() void DolphinViewContainer::showItemInfo(const KFileItem& item) { if (item.isNull()) { - m_statusBar->clear(); + // Only clear the status bar if unimportant messages are shown. + // This prevents that information- or error-messages get hidden + // by moving the mouse above the viewport or when closing the + // context menu. + if (m_statusBar->type() == DolphinStatusBar::Default) { + m_statusBar->clear(); + } } else { m_statusBar->setMessage(item.getStatusBarInfo(), DolphinStatusBar::Default); } |
