Skip to content

Commit

Permalink
fix: update dde-shell app name to org.deepin.dde-shell
Browse files Browse the repository at this point in the history
- Update dde-shell app name in discdevicescanner.cpp
- Update dde-shell app name in dconfighiddenmenuscene.cpp
- Update dde-shell app name in menuhelper.cpp

This change aligns with the new standardized application naming convention.

Log:
  • Loading branch information
Johnson-zs committed Dec 2, 2024
1 parent 7a58c1a commit a32280f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/dfm-base/base/device/private/discdevicescanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <unistd.h>

static constexpr int kTimerInterval { 3000 };
static const char kDesktopAppName[] { "dde-shell" };
static const char kDesktopAppName[] { "org.deepin.dde-shell" };
static constexpr char kBlockDeviceIdPrefix[] { "/org/freedesktop/UDisks2/block_devices/" };

using namespace dfmbase;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void DConfigHiddenMenuScene::updateActionHidden(QMenu *parent)
{
static const QMap<QString, QString> appKeyMap {
{ "dde-file-manager", "dfm.menu.action.hidden" },
{ "dde-shell", "dd.menu.action.hidden" },
{ "org.deepin.dde-shell", "dd.menu.action.hidden" },
{ "dde-select-dialog-x11", "dfd.menu.action.hidden" },
{ "dde-select-dialog-wayland", "dfd.menu.action.hidden" },
{ "dde-file-dialog", "dfd.menu.action.hidden" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ bool isHiddenMenu(const QString &app)
}
}

if (app == "dde-desktop" || app == "dde-shell")
if (app == "dde-desktop" || app == "org.deepin.dde-shell")
return isHiddenDesktopMenu();

return false;
Expand Down

0 comments on commit a32280f

Please sign in to comment.