ALT Linux Bugzilla
– Attachment 6322 Details for
Bug 31161
KDE5 support
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
xdg-open-kde5.patch
xdg-open-kde5.patch (text/plain), 740 bytes, created by
Sergey V Turchin
on 2015-07-23 18:40:57 MSK
(
hide
)
Description:
xdg-open-kde5.patch
Filename:
MIME Type:
Creator:
Sergey V Turchin
Created:
2015-07-23 18:40:57 MSK
Size:
740 bytes
patch
obsolete
>--- xdg-open.in~ 2015-07-23 18:29:30.531001059 +0300 >+++ xdg-open.in 2015-07-23 18:36:10.726247359 +0300 >@@ -55,15 +55,18 @@ open_darwin() > > open_kde() > { >- if kde-open -v 2>/dev/null 1>&2; then >- kde-open "$1" >+ if [ -n "${KDE_SESSION_VERSION}" ]; then >+ case "${KDE_SESSION_VERSION}" in >+ 4) >+ kde-open "$1" >+ ;; >+ 5) >+ kde-open${KDE_SESSION_VERSION} "$1" >+ ;; >+ esac > else >- if [ x"$KDE_SESSION_VERSION" = x"4" ]; then >- kfmclient openURL "$1" >- else >- kfmclient exec "$1" >- kfmclient_fix_exit_code $? >- fi >+ kfmclient exec "$1" >+ kfmclient_fix_exit_code $? > fi > > if [ $? -eq 0 ]; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 31161
: 6322 |
6323