Summary: | Generate ServiceMenu entries for each preset | ||
---|---|---|---|
Product: | [Applications] ark | Reporter: | Soukyuu <chrno-sphered> |
Component: | general | Assignee: | Elvis Angelaccio <elvis.angelaccio> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | elvis.angelaccio |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Bug Depends on: | 348581 | ||
Bug Blocks: |
Description
Soukyuu
2015-06-02 11:38:21 UTC
New dependency: https://phabricator.kde.org/D1761 Once this lands in master, it will be possible to dynamically create the Compress service menu for Dolphin. Git commit c369264d6c9ba2763b338f025c359c1b4c86f66e by Elvis Angelaccio. Committed on 05/06/2016 at 17:50. Pushed by elvisangelaccio into branch 'master'. Port service menus to KFileItemAction The Compress and Extract service menus shown in Dolphin's context menu are now provided by two new KFileItemAction plugins. This allows us to do a lot of useful checks before actually showing the actions in the context menu. We can also stop hardcoding the supported mimetypes for the Extract menu. This is actually required in order to support the Extract menu when more than one archive is selected. In this case Dolphin sends to the kfileitemaction plugins the generic 'application/octet-stream' mimetype, so we have to manually check anyway the mimetype of any given URL (to be sure that Ark supports it). This also paves the way to dynamically generate the service menus (e.g. based on some kind of user preset). Related: bug 189177, bug 268163 FIXED-IN: 16.08.0 Differential Revision: D1761 M +22 -6 app/CMakeLists.txt D +0 -179 app/ark_addtoservicemenu.desktop D +0 -167 app/ark_servicemenu.desktop.cmake A +99 -0 app/compressfileitemaction.cpp [License: GPL (v2+)] A +54 -0 app/compressfileitemaction.h [License: GPL (v2+)] A +15 -0 app/compressfileitemaction.json A +103 -0 app/extractfileitemaction.cpp [License: GPL (v2+)] A +54 -0 app/extractfileitemaction.h [License: GPL (v2+)] A +13 -0 app/extractfileitemaction.json http://commits.kde.org/ark/c369264d6c9ba2763b338f025c359c1b4c86f66e |