Review request for Dolphin.
By Emmanuel Pescosta.
Updated Feb. 4, 2014, 9:12 p.m.
Changes
@Phil:
Please test it and give some feedback if it works or not ;)
With Frank's help (he has always great ideas/clues!) I have found a way to fix this problem with only a few lines of code.
It should also be relatively resource-efficient, only one dir to check.
@Frank:
Thanks for the great hint!!! :) http://doc-snapshot.qt-project.org/4.8/qdir.html#canonicalPath
|
Repository:
dolphin-plugins
Description
Added a Dropbox version control plugin for Dolphin.
This Dropbox plugin is based on the work of:
Sergei Stolyarovs - https://bitbucket.org/cancel/dolphin-dropbox-plugin
Thomas Richards - http://trichard-kde.blogspot.co.at/2010/12/introducing-dropbox-integration-for.html
What I have done:
- Ported the old source code to the newer KVersionControlPlugin2 interface
- Use the Dropbox client to form the context menu more dynamically
(If the Dropbox guys add a new feature to their client, Dolphin can make use of it automatically)
- Fixed a crash (Dolphin-4.8.2 segfaults when a file with special characters is present)
- Replaced the item version changed timer with a file system watcher -> No useless updates every 10 seconds and immediate update on real changes
- A lot of code/coding style related changes
I think that this plugin is small enough to include it into the official Dolphin-plugins collection. ;)
|
Testing
Diffs (updated)
- CMakeLists.txt (4d87420)
- dropbox/CMakeLists.txt (PRE-CREATION)
- dropbox/fileviewdropboxplugin.cpp (PRE-CREATION)
- dropbox/fileviewdropboxplugin.desktop (PRE-CREATION)
- dropbox/fileviewdropboxplugin.h (PRE-CREATION)
View Diff
|