diff options
| author | Peter Penz <[email protected]> | 2009-07-12 14:00:45 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-07-12 14:00:45 +0000 |
| commit | fa4680cb38028aceb68d41e1937d27c71d1f121b (patch) | |
| tree | da709625c38a42bf448077d985c75b0365a58252 /src/dolphinview.cpp | |
| parent | 2df2d4ea7ee63a43a327b4ffb1c5cddd176aff91 (diff) | |
Enable Dolphin to show the revision states of files that are under revision control systems like SVN, Git, CVS, ... The current code is an early draft and it is planned that all plugins (SVN, Git, CVS, ...) are maintained outside Dolphin. If the API is stable enough, a discussion will be done at [email protected] regarding the location of the plugins (the current implementation of SubversionPlugin is only temporary located in Dolphin for testing purposes).
RevisionControlObserver is implemented in a way that no recognizable slowdown is given for directories that are not under revision control.
CCBUG: 192158
svn path=/trunk/KDE/kdebase/apps/; revision=995351
Diffstat (limited to 'src/dolphinview.cpp')
| -rw-r--r-- | src/dolphinview.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 4a81b12ea..c454d65a5 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -62,6 +62,7 @@ #include "draganddrophelper.h" #include "folderexpander.h" #include "renamedialog.h" +#include "revisioncontrolobserver.h" #include "tooltips/tooltipmanager.h" #include "settings/dolphinsettings.h" #include "viewproperties.h" @@ -1460,6 +1461,8 @@ void DolphinView::createView() m_previewGenerator = new KFilePreviewGenerator(view); m_previewGenerator->setPreviewShown(m_showPreview); + new RevisionControlObserver(view); + if (DolphinSettings::instance().generalSettings()->showToolTips()) { m_toolTipManager = new ToolTipManager(view, m_proxyModel); connect(m_controller, SIGNAL(hideToolTip()), |
