Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 16e77619 authored by Nathaniel Graham's avatar Nathaniel Graham

Display "Downloaded From" by default, if file supports it

Summary:
FEATURE: 386261

By default, show "Downloaded From" information from files' extended attributes, if present. No change for files without the xattr.

Test Plan:
Tested in KDE Neon. Blew away dolphinrc and baloofileinformationrc, deployed the baloo-widgets change, rebuilt dolphin, downloaded a file using Chromium (which writes the user.xdg.origin.url xattr), opened Dolphin, navigated to the file, selected it, and turned on the Information panel. Downloaded From was visible. It was (correctly) not visible for any other file that lacked the user.xdg.origin.url xattr.

{F5453057}

Reviewers: #dolphin, #frameworks, broulik, dfaure, markg, vhanda

Reviewed By: markg, vhanda

Subscribers: vhanda

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D8527
parent 38681e7d
......@@ -41,7 +41,7 @@ MetadataFilter::~MetadataFilter()
void MetadataFilter::initMetaInformationSettings()
{
const int currentVersion = 7; // increase version, if the blacklist of disabled
const int currentVersion = 8; // increase version, if the blacklist of disabled
// properties should be updated
KConfig config("baloofileinformationrc", KConfig::NoGlobals);
......@@ -85,7 +85,6 @@ void MetadataFilter::initMetaInformationSettings()
"Exif.Image.Orientation",
"kfileitem#owner",
"kfileitem#permissions",
"originUrl",
0 // mandatory last entry
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment