Added autostart desktop file.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 11 months ago
parent 75932c4261
commit 47af68ccb7
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF
  1. 17
      CMakeLists.txt.ORI
  2. 9
      src/CMakeLists.txt
  3. 13
      src/org.freedesktop.PolicyKit.AuthenticationAgent.xml
  4. 177
      src/policykit1-kde.notifyrc
  5. 23
      src/polkit-agent-tde.desktop.cmake

@ -1,17 +0,0 @@
kde4_add_executable(polkit-kde-authentication-agent-1 ${policykit_SRCS})
target_link_libraries(polkit-kde-authentication-agent-1
${KDE4_TDEUI_LIBS}
${POLKITQT-1_LIBRARIES}
)
configure_file(polkit-kde-authentication-agent-1.desktop.in ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop)
install(TARGETS polkit-kde-authentication-agent-1 DESTINATION ${LIBEXEC_INSTALL_DIR})
install(FILES ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop DESTINATION ${AUTOSTART_INSTALL_DIR})
install(FILES policykit1-kde.notifyrc DESTINATION ${DATA_INSTALL_DIR}/policykit1-kde)
include(MacroOptionalAddSubdirectory)
macro_optional_add_subdirectory( po )

@ -25,7 +25,14 @@ link_directories(
)
##### executables #########################
##### autostart file #####
configure_file( polkit-agent-tde.desktop.cmake polkit-agent-tde.desktop @ONLY )
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/polkit-agent-tde.desktop
DESTINATION ${AUTOSTART_INSTALL_DIR} )
##### executables #####
tde_add_executable( polkit-agent-tde AUTOMOC
SOURCES AuthDialogWidget.ui AuthDetailsWidget.ui AuthDialog.h AuthDialog.cpp

@ -1,13 +0,0 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="org.freedesktop.PolicyKit.AuthenticationAgent">
<method name="ObtainAuthorization" >
<!-- IN: PolicyKit action identifier; see PolKitAction -->
<arg direction="in" type="s" name="action_id" />
<!-- IN: Process ID to grant authorization to -->
<arg direction="in" type="u" name="pid" />
<!-- OUT: whether the user gained the authorization -->
<arg direction="out" type="b" name="gained_authorization" />
</method>
</interface>
</node>

@ -1,177 +0,0 @@
[Global]
IconName=dialog-password
Comment=PolicyKit authentication dialog
Comment[ar]=مربع حوار الاستيثاق PolicyKit
Comment[bs]=PolicyKit dijalog provjere identiteta
Comment[ca]=Diàleg d'autenticació del PolicyKit
Comment[ca@valencia]=Diàleg d'autenticació del PolicyKit
Comment[cs]=Ověřovací dialog PolicyKitu
Comment[da]=PolicyKit autentificeringsdialog
Comment[de]=PolicyKit-Berechtigungsdialog
Comment[el]=PolicyKit διάλογος πιστοποίησης
Comment[en_GB]=PolicyKit authentication dialogue
Comment[es]=Diálogo de autenticación de PolicyKit
Comment[et]=PolicyKiti autentimisdialoog
Comment[fi]=PolicyKit-tunnistautumisikkuna
Comment[fr]=Boîte de dialogue d'authentification de PolicyKit
Comment[gl]=Diálogo de autenticación de PolicyKit
Comment[hr]=PolicyKit-ov dijaloški prozor za autentifikaciju
Comment[hu]=PolicyKit hitelesítési párbeszédablak
Comment[it]=Finestra di autenticazione di PolicyKit
Comment[km]=បរអបមត PolicyKit
Comment[lt]=PolicyKit tapatumo nustatymo dialogas
Comment[ms]=Dialog pengesahan PolicyKit
Comment[nb]=PolicyKit autentiseringsdialog
Comment[nds]=Regelsett-Identiteetprööv-Dialoog
Comment[nl]=Authenticatiedialoog van PolicyKit
Comment[pa]=ਪਲਸਿਟ ਪਰਮਣਕਿਈਲ
Comment[pl]=Okno dialogowe uwierzytelnienia PolicyKit
Comment[pt]=Janela de autenticação do PolicyKit
Comment[pt_BR]=Diálogo de autenticação do PolicyKit
Comment[ro]=Dialog de autentificare PolicyKit
Comment[ru]=Диалоговое окно аутентификации PolicyKit
Comment[sl]=Pogovorno okno overitve PolicyKit
Comment[sr]=Полисикитов дијалог за аутентификовање
Comment[sr@ijekavian]=Полисикитов дијалог за аутентификовање
Comment[sr@ijekavianlatin]=PolicyKitov dijalog za autentifikovanje
Comment[sr@latin]=PolicyKitov dijalog za autentifikovanje
Comment[sv]=Policykit behörighetsdialogruta
Comment[tr]=PolicyKit kimlik doğrulama penceresi
Comment[ug]=PolicyKit سالاھىيەت دەلىللەش سۆزلەشكۈسى
Comment[uk]=Діалогове вікно розпізнавання PolicyKit
Comment[vi]=Hộp thoại xác thực PolicyKit
Comment[x-test]=xxPolicyKit authentication dialogxx
Comment[zh_CN]=PolicyKit 认证对话框
Comment[zh_TW]=PolicyKit 認證對話框
Name=policykit1-kde
Name[ar]=policykit1-kde
Name[bs]=policykit1-kde
Name[ca]=policykit1-kde
Name[ca@valencia]=policykit1-kde
Name[cs]=policykit1-kde
Name[da]=policykit1-kde
Name[de]=policykit1-kde
Name[el]=policykit1-kde
Name[en_GB]=policykit1-kde
Name[es]=policykit1-kde
Name[et]=policykit1-kde
Name[fi]=policykit1-kde
Name[fr]=policykit1-kde
Name[gl]=policykit1-kde
Name[hr]=policykit1-kde
Name[hu]=policykit1-kde
Name[it]=policykit1-kde
Name[km]=policykit1-kde
Name[lt]=policykit1-kde
Name[ms]=policykit1-kde
Name[nb]=policykit1-kde
Name[nds]=Regelsett1-KDE
Name[nl]=policykit1-kde
Name[pa]=policykit1-kde
Name[pl]=policykit1-kde
Name[pt]=policykit1-kde
Name[pt_BR]=policykit1-kde
Name[ro]=policykit1-kde
Name[ru]=policykit1-kde
Name[sk]=policykit1-kde
Name[sl]=policykit1-kde
Name[sr]=Полисикит1‑КДЕ
Name[sr@ijekavian]=Полисикит1‑КДЕ
Name[sr@ijekavianlatin]=PolicyKit1‑KDE
Name[sr@latin]=PolicyKit1‑KDE
Name[sv]=policykit1-kde
Name[tr]=policykit1-kde
Name[ug]=policykit1-kde
Name[uk]=policykit1-kde
Name[vi]=policykit1-kde
Name[x-test]=xxpolicykit1-kdexx
Name[zh_CN]=policykit1-kde
Name[zh_TW]=policykit1-kde
[Event/authenticate]
Name=authenticate
Name[ar]=الاستيثاق
Name[bs]=autentifikacija
Name[ca]=autentica
Name[ca@valencia]=autentica
Name[cs]=ověřit
Name[da]=autentificér
Name[de]=Berechtigen
Name[el]=πιστοποίηση
Name[en_GB]=authenticate
Name[es]=autenticarse
Name[et]=Autentimine
Name[fi]=tunnistaudu
Name[fr]=s'authentifier
Name[gl]=autenticar
Name[hr]=autentifikacija
Name[hu]=hitelesítés
Name[it]=autenticazione
Name[km]=ផ
Name[lt]=nustatyti tapatybę
Name[ms]=pengesahan
Name[nb]=autentiser
Name[nds]=Identiteet pröven
Name[nl]=authenticatie
Name[pa]=ਪਰਮਣਕਿ
Name[pl]=uwierzytelnij
Name[pt]=autenticar
Name[pt_BR]=autenticar
Name[ro]=autentificare
Name[ru]=аутентификация
Name[sl]=overi
Name[sr]=Аутентификовање
Name[sr@ijekavian]=Аутентификовање
Name[sr@ijekavianlatin]=Autentifikovanje
Name[sr@latin]=Autentifikovanje
Name[sv]=behörighetskontrollera
Name[tr]=yetkilendir
Name[ug]=سالاھىيەت دەلىللەش
Name[uk]=розпізнавання
Name[vi]=xác thực
Name[x-test]=xxauthenticatexx
Name[zh_CN]=认证
Name[zh_TW]=認證
Comment=You are required to authenticate
Comment[ar]=أنت مطالب بالاستيثاق
Comment[bs]=Trebate se autentificirati
Comment[ca]=Se us demana que us autentiqueu
Comment[ca@valencia]=Se vos demana que vos autentiqueu
Comment[cs]=Je vyžadováno ověření totožnosti
Comment[da]=Du skal autentificere
Comment[de]=Sie benötigen eine Berechtigung
Comment[el]=Απαιτείται να πιστοποιηθείτε
Comment[en_GB]=You are required to authenticate
Comment[es]=Es necesario que se autentique
Comment[et]=Vajalik on autentimine
Comment[fi]=Tunnistautuminen vaaditaan
Comment[fr]=Vous devez vous authentifier
Comment[gl]=Debe identificarse.
Comment[hr]=Potrebno je autentificirati se
Comment[hu]=Hitelesítés szükséges
Comment[it]=Devi effettuare l'autenticazione
Comment[km]=អនក
Comment[lt]=Reikia nustatyti jūsų tapatybę
Comment[nb]=Du må autentisere
Comment[nds]=Identiteetprööv deit noot
Comment[nl]=Authenticeren is verplicht
Comment[pa]=ਤ ਪਰਮਿਤ ਹਣ ਦੜ ਹ
Comment[pl]=Musisz się uwierzytelnić
Comment[pt]=É necessária a sua autenticação
Comment[pt_BR]=É necessária a sua autenticação
Comment[ro]=Vi se solicită autentificarea
Comment[ru]=Необходимо выполнить аутентификацию
Comment[sl]=Zahtevana je overitev
Comment[sr]=Треба да се аутентификујете
Comment[sr@ijekavian]=Треба да се аутентификујете
Comment[sr@ijekavianlatin]=Treba da se autentifikujete
Comment[sr@latin]=Treba da se autentifikujete
Comment[sv]=Det krävs att din behörighet kontrolleras
Comment[tr]=Kimlik doğrulaması yapmanız gerekiyor
Comment[ug]=سالاھىيىتىڭىزنى دەلىللەش زۆرۈر
Comment[uk]=Вам слід пройти розпізнавання
Comment[vi]=Bạn được yêu cầu phải xác thực
Comment[x-test]=xxYou are required to authenticatexx
Comment[zh_CN]=您需要认证
Comment[zh_TW]=您需要認證
Action=Popup

@ -1,24 +1,27 @@
[Desktop Entry]
Name=PolicyKit Authentication Agent
Name=TDE PolicyKit Authentication Agent
Name[da]=PolicyKit autentificeringsagent
Name[en_GB]=PolicyKit Authentication Agent
Name[et]=PolicyKiti autentimisagent
Name[it]=Agente di autenticazione PolicyKit per TDE
Name[pt]=Agente de Autenticação do PolicyKit
Name[sv]=Policykit behörighetskontrollverktyg
Name[uk]=Агент розпізнавання PolicyKit
Name[x-test]=xxPolicyKit Authentication Agentxx
Comment=PolicyKit Authentication Agent
Comment=TDE PolicyKit Authentication Agent
Comment[da]=PolicyKit autentificeringsagent
Comment[en_GB]=PolicyKit Authentication Agent
Comment[et]=PolicyKiti autentimisagent
Comment[it]=Agente di autenticazione PolicyKit per TDE
Comment[pt]=Agente de Autenticação do PolicyKit
Comment[sv]=Policykit behörighetskontrollverktyg
Comment[uk]=Агент розпізнавання PolicyKit
Comment[x-test]=xxPolicyKit Authentication Agentxx
Exec=${LIBEXEC_INSTALL_DIR}/polkit-kde-authentication-agent-1
Terminal=false
Type=Application
Categories=
X-Desktop-File-Install-Version=0.15
OnlyShowIn=KDE;
Exec=@BIN_INSTALL_DIR@/polkit-agent-tde
Terminal=false
Categories=Qt;TDE;System;
X-TDE-autostart-after=panel
X-TDE-StartupNotify=false
X-TDE-UniqueApplet=true
Loading…
Cancel
Save