From ffb0f3db9f476531bd683b8dd93d80d5cf8a85a0 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Thu, 30 Apr 2020 13:03:57 +0200 Subject: [PATCH] Combine handler desktop files --- urlhandler/CMakeLists.txt | 2 +- ...top => org.kde.kdeconnect.handler.desktop} | 4 +-- .../org.kde.kdeconnect.smshandler.desktop | 35 ------------------- 3 files changed, 3 insertions(+), 38 deletions(-) rename urlhandler/{org.kde.kdeconnect.telhandler.desktop => org.kde.kdeconnect.handler.desktop} (96%) delete mode 100644 urlhandler/org.kde.kdeconnect.smshandler.desktop diff --git a/urlhandler/CMakeLists.txt b/urlhandler/CMakeLists.txt index df9707007..2006235a3 100644 --- a/urlhandler/CMakeLists.txt +++ b/urlhandler/CMakeLists.txt @@ -13,4 +13,4 @@ target_link_libraries(kdeconnect-handler ) install(TARGETS kdeconnect-handler ${INSTALL_TARGETS_DEFAULT_ARGS}) -install(PROGRAMS org.kde.kdeconnect.telhandler.desktop org.kde.kdeconnect.smshandler.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +install(PROGRAMS org.kde.kdeconnect.handler.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) diff --git a/urlhandler/org.kde.kdeconnect.telhandler.desktop b/urlhandler/org.kde.kdeconnect.handler.desktop similarity index 96% rename from urlhandler/org.kde.kdeconnect.telhandler.desktop rename to urlhandler/org.kde.kdeconnect.handler.desktop index f8bd0ecf3..0c784b43e 100644 --- a/urlhandler/org.kde.kdeconnect.telhandler.desktop +++ b/urlhandler/org.kde.kdeconnect.handler.desktop @@ -1,5 +1,5 @@ [Desktop Entry] -Name=KDE Connect Phone URL Handler +Name=KDE Connect URL Handler Name[ca]=Gestor d'URL de telèfons del KDE Connect Name[ca@valencia]=Gestor d'URL de telèfons del KDE Connect Name[cs]=Nástroj pro práci s URL telefonu v KDE Connect @@ -39,4 +39,4 @@ Icon=kdeconnect Type=Application NoDisplay=true -MimeType=x-scheme-handler/tel +MimeType=x-scheme-handler/tel;x-scheme-handler/sms diff --git a/urlhandler/org.kde.kdeconnect.smshandler.desktop b/urlhandler/org.kde.kdeconnect.smshandler.desktop deleted file mode 100644 index 7e9012f16..000000000 --- a/urlhandler/org.kde.kdeconnect.smshandler.desktop +++ /dev/null @@ -1,35 +0,0 @@ -[Desktop Entry] -Name=KDE Connect SMS URL Handler -Name[ca]=Gestor d'URL de SMS del KDE Connect -Name[ca@valencia]=Gestor d'URL de SMS del KDE Connect -Name[cs]=Nástroj pro práci s URL v SMS pro KDE Connect -Name[da]=URL-håndtering til KDE Connect SMS -Name[de]=KDE-Connect-SMS-Dienstprogramm für URLs (Adressen) -Name[en_GB]=KDE Connect SMS URL Handler -Name[es]=Controlador de URL de SMS de KDE Connect -Name[et]=KDE Connecti SMS-i URL-ide käitleja -Name[eu]=KDE Connecten SMSen URL maneiatzailea -Name[fi]=KDE Connectin tekstiviestiosoitekäsittelijä -Name[fr]=Gestionnaire d'URL SMS de KDE Connect -Name[gl]=Xestor de URL de SMS de KDE Connect -Name[it]=Gestore URL SMS di KDE Connect -Name[ko]=KDE Connect SMS URL 처리기 -Name[lt]=KDE Connect SMS URL doroklė -Name[nl]=URL behandelaar van KDE-Connect-SMS -Name[nn]=SMS-URL-handsamar for KDE Connect -Name[pl]=KDE Connect - obsługa URL SMSów -Name[pt]=Tratamento de URL's de SMS do KDE Connect -Name[pt_BR]=Tratamento de URLs de SMS do KDE Connect -Name[ru]=Обработчик ссылок из SMS KDE Connect -Name[sk]=Obslužný program URL KDE Connect SMS -Name[sv]=KDE-anslut hanterare av SMS-webbadress -Name[uk]=Обробник адрес у SMS KDE Connect -Name[x-test]=xxKDE Connect SMS URL Handlerxx -Name[zh_CN]=KDE Connect 短信 URL 处理程序 -Name[zh_TW]=KDE 連線簡訊網址處理器 -Exec=kdeconnect-handler %U -Icon=kdeconnect -Type=Application -NoDisplay=true - -MimeType=x-scheme-handler/sms