FS#37149 - [p7zip] kde menu actions appear twice

Attached to Project: Arch Linux
Opened by Ray Rashif (schivmeister) - Monday, 30 September 2013, 18:14 GMT
Last edited by Gaetan Bisson (vesath) - Monday, 30 September 2013, 18:46 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Low
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Upon further inspection, there are actually two service files that are almost similar, save for one or two lines:

/usr/share/kde4/services/ServiceMenus/

--- p7zip_compress2.desktop 2013-06-15 12:43:17.000000000 +0800
+++ p7zip_compress.desktop 2013-06-15 12:43:17.000000000 +0800
@@ -1,12 +1,12 @@
[Desktop Entry]
Type=Service
-ServiceTypes=all/allfiles
+ServiceTypes=inode/directory
MimeType=all/all;
Actions=CompressDialog;Compress7z;CompressZip;extractHere;ExtractSubdir;ExtractTo;test;Benchmark;
X-KDE-Priority=TopLevel
X-KDE-Submenu=7-Zip
X-KDE-Icon=p7zip
-X-KDE-ServiceTypes=KonqPopupMenu/Plugin
+X-KDE-ServiceTypes=KonqPopupMenu/Plugin,inode/directory

[Desktop Action CompressDialog]
Name=Add to Archive ...

The compress2 file looks proper since the service is for all files and not just dirs, but I'm not a KDE expert. Anyway, it has been like this for almost as long as I have had Arch Linux. I don't think upstream would bother, so I'm suggesting we just remove one.
This task depends upon

Closed by  Gaetan Bisson (vesath)
Monday, 30 September 2013, 18:46 GMT
Reason for closing:  Fixed
Additional comments about closing:  p7zip-9.20.1-8 in [extra]
Comment by Gaetan Bisson (vesath) - Monday, 30 September 2013, 18:21 GMT
Sounds good.

Loading...