diff --git a/debian/control b/debian/control index 69391aaab..2edbb43a3 100644 --- a/debian/control +++ b/debian/control @@ -38,7 +38,8 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, dde-daemon (>=5.13.12), startdde (>=5.8.9), lastore-daemon (>=5.2.9), - qtxdg-dev-tools + qtxdg-dev-tools, + dbus-bin Recommends: dde-disk-mount-plugin, dde-dock-onboard-plugin, diff --git a/frame/window/components/brightnessmonitorwidget.cpp b/frame/window/components/brightnessmonitorwidget.cpp index ac707795a..96892c67a 100644 --- a/frame/window/components/brightnessmonitorwidget.cpp +++ b/frame/window/components/brightnessmonitorwidget.cpp @@ -116,7 +116,7 @@ void BrightnessMonitorWidget::initConnection() DDBusSender().service("com.deepin.dde.ControlCenter") .path("/com/deepin/dde/ControlCenter") .interface("com.deepin.dde.ControlCenter") - .method("ShowModule").arg(QString("display")).call(); + .method("ShowPage").arg(QString("display")).call(); hide(); } }); diff --git a/frame/window/components/volumedeviceswidget.cpp b/frame/window/components/volumedeviceswidget.cpp index 9be4706cc..f44a8fe20 100644 --- a/frame/window/components/volumedeviceswidget.cpp +++ b/frame/window/components/volumedeviceswidget.cpp @@ -164,7 +164,7 @@ void VolumeDevicesWidget::initConnection() DDBusSender().service("com.deepin.dde.ControlCenter") .path("/com/deepin/dde/ControlCenter") .interface("com.deepin.dde.ControlCenter") - .method("ShowModule").arg(QString("sound")).call(); + .method("ShowPage").arg(QString("sound")).call(); hide(); } }); diff --git a/plugins/bluetooth/componments/bluetoothapplet.cpp b/plugins/bluetooth/componments/bluetoothapplet.cpp index b5e9b728a..98ba00522 100644 --- a/plugins/bluetooth/componments/bluetoothapplet.cpp +++ b/plugins/bluetooth/componments/bluetoothapplet.cpp @@ -280,7 +280,7 @@ void BluetoothApplet::initConnect() .service("com.deepin.dde.ControlCenter") .interface("com.deepin.dde.ControlCenter") .path("/com/deepin/dde/ControlCenter") - .method(QString("ShowModule")) + .method(QString("ShowPage")) .arg(QString("bluetooth")) .call(); }); diff --git a/plugins/datetime/datetimeplugin.cpp b/plugins/datetime/datetimeplugin.cpp index 93c4e8932..b22df827f 100644 --- a/plugins/datetime/datetimeplugin.cpp +++ b/plugins/datetime/datetimeplugin.cpp @@ -194,7 +194,7 @@ void DatetimePlugin::invokedMenuItem(const QString &itemKey, const QString &menu .service("com.deepin.dde.ControlCenter") .interface("com.deepin.dde.ControlCenter") .path("/com/deepin/dde/ControlCenter") - .method(QString("ShowModule")) + .method(QString("ShowPage")) .arg(QString("datetime")) .call(); } else { diff --git a/plugins/power/powerplugin.cpp b/plugins/power/powerplugin.cpp index ff6ef5d60..ec7358888 100644 --- a/plugins/power/powerplugin.cpp +++ b/plugins/power/powerplugin.cpp @@ -113,7 +113,7 @@ bool PowerPlugin::pluginIsDisable() const QString PowerPlugin::itemCommand(const QString &itemKey) { if (itemKey == POWER_KEY) - return QString("dbus-send --print-reply --dest=com.deepin.dde.ControlCenter /com/deepin/dde/ControlCenter com.deepin.dde.ControlCenter.ShowModule \"string:power\""); + return QString("dbus-send --print-reply --dest=com.deepin.dde.ControlCenter /com/deepin/dde/ControlCenter com.deepin.dde.ControlCenter.ShowPage \"string:power\""); return QString(); } @@ -153,7 +153,7 @@ void PowerPlugin::invokedMenuItem(const QString &itemKey, const QString &menuId, .service("com.deepin.dde.ControlCenter") .interface("com.deepin.dde.ControlCenter") .path("/com/deepin/dde/ControlCenter") - .method(QString("ShowModule")) + .method(QString("ShowPage")) .arg(QString("power")) .call(); } diff --git a/plugins/sound/sounditem.cpp b/plugins/sound/sounditem.cpp index 9b333c5d3..4690622e6 100644 --- a/plugins/sound/sounditem.cpp +++ b/plugins/sound/sounditem.cpp @@ -132,7 +132,7 @@ void SoundItem::invokeMenuItem(const QString menuId, const bool checked) .service("com.deepin.dde.ControlCenter") .interface("com.deepin.dde.ControlCenter") .path("/com/deepin/dde/ControlCenter") - .method(QString("ShowModule")) + .method(QString("ShowPage")) .arg(QString("sound")) .call(); }