Merge lp:~jeremywootten/pantheon-files/bookmark-delete-by-dragging into lp:~elementary-apps/pantheon-files/trunk
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Cody Garver | ||||
Approved revision: | 1437 | ||||
Merged at revision: | 1456 | ||||
Proposed branch: | lp:~jeremywootten/pantheon-files/bookmark-delete-by-dragging | ||||
Merge into: | lp:~elementary-apps/pantheon-files/trunk | ||||
Diff against target: |
240 lines (+155/-4) 4 files modified
icons/CMakeLists.txt (+1/-1) libwidgets/CMakeLists.txt (+8/-2) libwidgets/PoofWindow.vala (+117/-0) src/View/Sidebar.vala (+29/-1) |
||||
To merge this branch: | bzr merge lp:~jeremywootten/pantheon-files/bookmark-delete-by-dragging | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
elementary Apps team | Pending | ||
Review via email: mp+206615@code.launchpad.net |
This proposal supersedes a proposal from 2014-02-16.
Commit message
Dragging a bookmark completely out of the sidebar window now triggers its removal.
The "PoofWindow" animation code and graphic from Plank has been copied into the Files code. This fixes bug #691696.
Description of the change
Dragging a bookmark completely out of the sidebar window now triggers its removal.
The "PoofWindow" animation code and graphic from Plank has been copied into the Files code.
In the longer term, it would be desirable to have this animation, or a similar one, provided by Granite to both Files and Plank (and potentially other Elementary apps) for consistency and to avoid duplication of code. See https:/
At the moment, the animation is only triggered by dragging out of window. Other means of deleting a bookmark (context menu or keyboard shortcut) are not animated. This could be added if thought desirable.
Re-submitted after replacing tabs by spaces in Plank derived files and removing unused Plank derived file.
There is no need for the AnimatedRenderer.
Drop CompositedWindows as well and add the needed calls of construct {...} to PoofWindow