D15813: Respect users prefered text editor for shared text
Nicolas Fella
noreply at phabricator.kde.org
Fri Sep 28 14:07:30 BST 2018
nicolasfella created this revision.
nicolasfella added reviewers: KDE Connect, broulik.
Herald added a project: KDE Connect.
Herald added a subscriber: kdeconnect.
nicolasfella requested review of this revision.
REVISION SUMMARY
A user may have Kate installed but another editor set as default for text/plain. Respect that.
Also add .txt extension to the temp file name to make mime-type detection easier.
BUG: 399174
TEST PLAN
Set default text editor to Kate -> Text opens in Kate
Set default text editor to Atom -> Text opens in Atom
REPOSITORY
R224 KDE Connect
BRANCH
editor
REVISION DETAIL
https://phabricator.kde.org/D15813
AFFECTED FILES
plugins/share/shareplugin.cpp
To: nicolasfella, #kde_connect, broulik
Cc: kdeconnect, wistak, dvalencia, rmenezes, julioc, Leptopoda, timothyc, jdvr, yannux, Danial0_0, johnq, Pitel, adeen-s, SemperPeritus, ndavis, daniel.z.tg, jeanv, seebauer, bugzy, MayeulC, menasshock, tctara, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20180928/cc7fead2/attachment.html>
More information about the KDEConnect
mailing list