xdg-email fails on kde with desktop files #187

Merged Mladen Milinkovic requested to merge maxrd2/xdg-utils:fix-kde-email into master

This fixes issue #187 (closed)

Variable client below will contain "mail-app.desktop" in some cases.

            local client=$($kreadconfig --file emaildefaults \
                                        --group "PROFILE_$profile" \
                                        --key EmailClient \
                                  | cut -d ' ' -f 1)

Script will now detect those cases and get executable path by calling desktop_file_to_binary like open_gnome3/generic() do.

Merge request reports