mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Merge pull request #6031 from tintou/master
Add compatibility with the new libcloudproviders integration
This commit is contained in:
commit
298e069190
@ -197,7 +197,7 @@ Comment[lb]=@APPLICATION_NAME@ Desktop Synchronisatioun Client
|
||||
GenericName[lb]=Dossier Dync
|
||||
Name[lb]=@APPLICATION_NAME@ Desktop Sync Client
|
||||
Icon[lb]=@APPLICATION_ICON_NAME@
|
||||
|
||||
@LIBCLOUDPROVIDERS_DESKTOP_IMPLEMENTS@
|
||||
|
||||
[Desktop Action Quit]
|
||||
Exec=@APPLICATION_EXECUTABLE@ --quit
|
||||
|
||||
@ -659,6 +659,12 @@ if(TARGET PkgConfig::CLOUDPROVIDERS)
|
||||
PkgConfig::GLIB2
|
||||
PkgConfig::GIO
|
||||
)
|
||||
|
||||
list(APPEND LIBCLOUDPROVIDERS_DESKTOP_IMPLEMENTS "Implements=org.freedesktop.CloudProviders\n")
|
||||
list(APPEND LIBCLOUDPROVIDERS_DESKTOP_IMPLEMENTS "[org.freedesktop.CloudProviders]")
|
||||
list(APPEND LIBCLOUDPROVIDERS_DESKTOP_IMPLEMENTS "BusName=${LIBCLOUDPROVIDERS_DBUS_BUS_NAME}")
|
||||
list(APPEND LIBCLOUDPROVIDERS_DESKTOP_IMPLEMENTS "ObjectPath=${LIBCLOUDPROVIDERS_DBUS_OBJECT_PATH}")
|
||||
list(JOIN LIBCLOUDPROVIDERS_DESKTOP_IMPLEMENTS "\n" LIBCLOUDPROVIDERS_DESKTOP_IMPLEMENTS)
|
||||
endif()
|
||||
|
||||
## handle DBUS for Fdo notifications
|
||||
|
||||
Loading…
Reference in New Issue
Block a user