From c8f260c8e2487cf12031ef60cb71cc7ca81c3dd3 Mon Sep 17 00:00:00 2001 From: arcan1s Date: Mon, 29 Dec 2014 08:35:23 +0300 Subject: [PATCH] rename applet to *plasma* --- sources/plasmoid/CMakeLists.txt | 4 ++-- sources/plasmoid/plasmoid/contents/ui/main.qml | 2 +- sources/plasmoid/plasmoid/metadata.desktop | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sources/plasmoid/CMakeLists.txt b/sources/plasmoid/CMakeLists.txt index 8902235..c152176 100644 --- a/sources/plasmoid/CMakeLists.txt +++ b/sources/plasmoid/CMakeLists.txt @@ -39,7 +39,7 @@ message (STATUS "Subproject ${SUBPROJECT}") # install (TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGIN_INSTALL_DIR}) # install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${SUBPROJECT_DESKTOP} DESTINATION ${SERVICES_INSTALL_DIR}) # install (FILES ${SUBPROJECT_NOTIFY} DESTINATION ${DATA_INSTALL_DIR}/${PLUGIN_NAME}) -# plasma_install_package(plasmoid org.kde.netctl) +# plasma_install_package(plasmoid org.kde.plasma.netctl) find_package (Qt5 REQUIRED COMPONENTS Core Qml Widgets) find_package (ECM 0.0.12 REQUIRED NO_MODULE) set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) @@ -63,7 +63,7 @@ set (PLUGIN_NAME netctlplugin) add_subdirectory (plugin) set(dir plasmoid) -set(component org.kde.netctl) +set(component org.kde.plasma.netctl) set(root ${ARGV2}) set(type ${ARGV3}) if(NOT root) diff --git a/sources/plasmoid/plasmoid/contents/ui/main.qml b/sources/plasmoid/plasmoid/contents/ui/main.qml index e230276..4417e41 100644 --- a/sources/plasmoid/plasmoid/contents/ui/main.qml +++ b/sources/plasmoid/plasmoid/contents/ui/main.qml @@ -16,9 +16,9 @@ ***************************************************************************/ import QtQuick 2.2 +import org.kde.plasma.plasmoid 2.0 import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.components 2.0 as PlasmaComponents -import org.kde.plasma.plasmoid 2.0 import org.kde.plasma.private.netctl 1.0 diff --git a/sources/plasmoid/plasmoid/metadata.desktop b/sources/plasmoid/plasmoid/metadata.desktop index 11757e8..3a816c5 100644 --- a/sources/plasmoid/plasmoid/metadata.desktop +++ b/sources/plasmoid/plasmoid/metadata.desktop @@ -13,7 +13,7 @@ X-Plasma-RemoteLocation= X-KDE-PluginInfo-Author=Evgeniy Alekseev aka arcanis X-KDE-PluginInfo-Email=esalexeev@gmail.com -X-KDE-PluginInfo-Name=org.kde.netctl +X-KDE-PluginInfo-Name=org.kde.plasma.netctl X-KDE-PluginInfo-Version=@PROJECT_VERSION@ X-KDE-PluginInfo-Website=http://arcanis.name/projects/netctl-gui X-KDE-PluginInfo-Category=Network