chore: 插件名更改

dcc-dock-setting-plugin改名为dcc-dock-plugin,符合命名规范

Log:
Task: https://pms.uniontech.com/zentao/task-view-91199.html
Influence: 安装了旧的插件的话,需要先卸载再安装新的插件
Change-Id: I3af9d1d0c51c044076d2f71d6a359eaf188f3ea8
This commit is contained in:
范朋程 2021-11-11 10:50:01 +08:00
parent 5a5703da6a
commit 9b7b84b41d
45 changed files with 50 additions and 50 deletions

2
debian/control vendored
View File

@ -72,7 +72,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, onboard
Description: deepin desktop-environment - dock plugin for onboard
Dock plugin for onboard of deepin desktop-environment
Package: dcc-dock-settings-plugin
Package: dcc-dock-plugin
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, onboard
Description: deepin desktop-environment - dcc plugin for dock settings

1
debian/dcc-dock-plugin.install vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/dde-control-center/modules/libdcc-dock-plugin.so

View File

@ -1 +0,0 @@
usr/lib/dde-control-center/modules/libdcc-dock-settings-plugin.so

View File

@ -11,4 +11,4 @@ add_subdirectory("overlay-warning")
add_subdirectory("show-desktop")
add_subdirectory("multitasking")
add_subdirectory("bluetooth")
add_subdirectory("dcc-dock-settings-plugin")
add_subdirectory("dcc-dock-plugin")

View File

@ -0,0 +1,10 @@
[main]
host = https://www.transifex.com
minimum_perc = 80
mode = developer
[deepin-desktop-environment.dcc-dock-plugin]
file_filter = translations/dcc-dock-plugin_<lang>.ts
source_file = translations/dcc-dock-plugin.ts
source_lang = en
type = QT

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.7)
set(PLUGIN_NAME "dcc-dock-settings-plugin")
set(PLUGIN_NAME "dcc-dock-plugin")
project(${PLUGIN_NAME})
@ -43,7 +43,7 @@ qt5_add_translation(QM_FILES ${TS_FILES})
add_custom_target(translations ALL DEPENDS ${QM_FILES})
install(FILES ${QM_FILES} DESTINATION share/${PLUGIN_NAME}/translations)
install(FILES com.deepin.dde.control-center.dock-settings.gschema.xml
install(FILES com.deepin.dde.control-center.dock-plugin.gschema.xml
DESTINATION share/glib-2.0/schemas)
install(TARGETS ${PLUGIN_NAME} LIBRARY DESTINATION lib/dde-control-center/modules)

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 873 B

After

Width:  |  Height:  |  Size: 873 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 981 B

After

Width:  |  Height:  |  Size: 981 B

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 831 B

After

Width:  |  Height:  |  Size: 831 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1,30 @@
<RCC>
<qresource prefix="/icons/deepin/builtin">
<file>actions/icon_dock_32px.svg</file>
</qresource>
<qresource prefix="/">
<file>icons/plugins/time.svg</file>
<file>icons/plugins/assistant.svg</file>
<file>icons/plugins/desktop.svg</file>
<file>icons/plugins/keyboard.svg</file>
<file>icons/plugins/notify.svg</file>
<file>icons/plugins/plug-in2.svg</file>
<file>icons/plugins/power.svg</file>
<file>icons/plugins/task.svg</file>
<file>icons/plugins/trash.svg</file>
<file>translations/dcc-dock-plugin.ts</file>
<file>translations/dcc-dock-plugin_bo.ts</file>
<file>translations/dcc-dock-plugin_az.ts</file>
<file>translations/dcc-dock-plugin_cs.ts</file>
<file>translations/dcc-dock-plugin_fi.ts</file>
<file>translations/dcc-dock-plugin_hu.ts</file>
<file>translations/dcc-dock-plugin_nl.ts</file>
<file>translations/dcc-dock-plugin_pt.ts</file>
<file>translations/dcc-dock-plugin_sq.ts</file>
<file>translations/dcc-dock-plugin_ug.ts</file>
<file>translations/dcc-dock-plugin_uk.ts</file>
<file>translations/dcc-dock-plugin_zh_CN.ts</file>
<file>translations/dcc-dock-plugin_zh_HK.ts</file>
<file>translations/dcc-dock-plugin_zh_TW.ts</file>
</qresource>
</RCC>

View File

@ -75,7 +75,7 @@ QIcon SettingsModule::icon() const
QString SettingsModule::translationPath() const
{
return QString(":/translations/dcc-dock-settings-plugin_%1.ts");
return QString(":/translations/dcc-dock-plugin_%1.ts");
}
QString SettingsModule::path() const

View File

@ -1,10 +0,0 @@
[main]
host = https://www.transifex.com
minimum_perc = 80
mode = developer
[deepin-desktop-environment.dcc-dock-settings-plugin]
file_filter = translations/dcc-dock-settings-plugin_<lang>.ts
source_file = translations/dcc-dock-settings-plugin.ts
source_lang = en
type = QT

View File

@ -1,30 +0,0 @@
<RCC>
<qresource prefix="/icons/deepin/builtin">
<file>actions/icon_dock_32px.svg</file>
</qresource>
<qresource prefix="/">
<file>icons/plugins/time.svg</file>
<file>icons/plugins/assistant.svg</file>
<file>icons/plugins/desktop.svg</file>
<file>icons/plugins/keyboard.svg</file>
<file>icons/plugins/notify.svg</file>
<file>icons/plugins/plug-in2.svg</file>
<file>icons/plugins/power.svg</file>
<file>icons/plugins/task.svg</file>
<file>icons/plugins/trash.svg</file>
<file>translations/dcc-dock-settings-plugin.ts</file>
<file>translations/dcc-dock-settings-plugin_bo.ts</file>
<file>translations/dcc-dock-settings-plugin_az.ts</file>
<file>translations/dcc-dock-settings-plugin_cs.ts</file>
<file>translations/dcc-dock-settings-plugin_fi.ts</file>
<file>translations/dcc-dock-settings-plugin_hu.ts</file>
<file>translations/dcc-dock-settings-plugin_nl.ts</file>
<file>translations/dcc-dock-settings-plugin_pt.ts</file>
<file>translations/dcc-dock-settings-plugin_sq.ts</file>
<file>translations/dcc-dock-settings-plugin_ug.ts</file>
<file>translations/dcc-dock-settings-plugin_uk.ts</file>
<file>translations/dcc-dock-settings-plugin_zh_CN.ts</file>
<file>translations/dcc-dock-settings-plugin_zh_HK.ts</file>
<file>translations/dcc-dock-settings-plugin_zh_TW.ts</file>
</qresource>
</RCC>

View File

@ -20,13 +20,13 @@ file(GLOB_RECURSE PLUGIN_SRCS
"../plugins/bluetooth/*.cpp"
"../plugins/bluetooth/componments/*.h"
"../plugins/bluetooth/componments/*.cpp"
"../plugins/dcc-dock-settings-plugin/*.h"
"../plugins/dcc-dock-settings-plugin/*.cpp"
"../plugins/dcc-dock-plugin/*.h"
"../plugins/dcc-dock-plugin/*.cpp"
"../frame/util/horizontalseperator.h"
"../frame/util/horizontalseperator.cpp")
# "interface/moduleinterface.h"ModuleInterface_iidinterface
list(FILTER PLUGIN_SRCS EXCLUDE REGEX "../plugins/dcc-dock-settings-plugin/settings_module.*")
list(FILTER PLUGIN_SRCS EXCLUDE REGEX "../plugins/dcc-dock-plugin/settings_module.*")
#
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage -lgcov")
@ -77,7 +77,7 @@ target_include_directories(${BIN_NAME} PUBLIC
fakedbus
../plugins/bluetooth
../plugins/bluetooth/componments
../plugins/dcc-dock-settings-plugin
../plugins/dcc-dock-plugin
)
#