Plugins can now do out of version control actions (D29041), so we need them to inform of their state.
This change connects every plugin signal to Dolphin on plugin instantiation.
Details
- Reviewers
meven elvisangelaccio - Group Reviewers
Dolphin - Commits
- R318:9b7fc506aa3a: Added VCS plugins signals connections for outOfVersionControl() actions.
- Try SVN Update of inaccessible repository: see SVN error message shows up.
- Try pull inaccessible git repository: see GIT error message shows up.
- Try SVN Commit: see SVN message.
Diff Detail
- Repository
- R318 Dolphin
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
src/views/versioncontrol/versioncontrolobserver.cpp | ||
---|---|---|
170–171 | Then better without comment at all: code is self-explaining here. |
src/views/versioncontrol/versioncontrolobserver.cpp | ||
---|---|---|
184 | This happens for currently unversioned directory for any reason. | |
196 | We can connect all signals (even itemVersionsChanged) on plugin creation. This is a more straightforward way, its simpler. No need of this "disconnect all - connect needed" every time on directory update. Nice idea, i will code it. |
src/views/versioncontrol/versioncontrolobserver.cpp | ||
---|---|---|
183 | You can avoid touching this block now :) replacing back else { if { to else if { |
I think this can land.
So you can move forward on other great improvements to those dolphin plugins.