From efa2c65886af60dbf64fd12b34587179fdf44a6e Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Fri, 9 Dec 2022 10:28:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=8F=9C=E5=8D=95=E5=88=86?= =?UTF-8?q?=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mainwindow.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/mainwindow.py b/mainwindow.py index ec1fa09..8cff82b 100755 --- a/mainwindow.py +++ b/mainwindow.py @@ -2615,7 +2615,7 @@ easyPackager = QtWidgets.QAction(transla.transe("U", "使用简易打包器进 getDllOnInternet = QtWidgets.QAction(transla.transe("U", "从互联网获取DLL")) w7 = QtWidgets.QAction(transla.transe("U", "从镜像获取DLL(只支持官方安装镜像,DOS内核如 Windows 95 暂不支持)")) updateGeek = QtWidgets.QAction(transla.transe("U", "从 Geek Uninstaller 官网升级程序")) -deletePartIcon = QtWidgets.QAction(transla.transe("U", "删除部分 Wine 程序在启动器的快捷方式")) +deletePartIcon = QtWidgets.QAction(transla.transe("U", "快捷方式管理工具")) deleteDesktopIcon = QtWidgets.QAction(transla.transe("U", "删除所有 Wine 程序在启动器的快捷方式")) wineOption.addAction(w1) wineOption.addAction(w2) @@ -2626,6 +2626,7 @@ wineOption.addSeparator() wineOption.addAction(w5) wineOption.addAction(w6) wineOption.addAction(easyPackager) +wineOption.addAction(deletePartIcon) wineOption.addSeparator() wineOption.addAction(wineKeyboardLnk) wineOption.addSeparator() @@ -2663,13 +2664,14 @@ wm2.addAction(wm2_4) wm2.addAction(wm2_5) wm2.addAction(wm2_6) wineOption.addSeparator() +settingRunV3Sh = wineOption.addMenu(transla.transe("U", "run_v3.sh 管理")) w8 = QtWidgets.QAction(transla.transe("U", "设置 run_v3.sh 的文管为 Deepin 默认文管")) w9 = QtWidgets.QAction(transla.transe("U", "设置 run_v3.sh 的文管为 Wine 默认文管")) w10 = QtWidgets.QAction(transla.transe("U", "重新安装 deepin-wine-helper")) w11 = QtWidgets.QAction(transla.transe("U", "使用winetricks打开指定容器")) -wineOption.addAction(w8) -wineOption.addAction(w9) -wineOption.addAction(w10) +settingRunV3Sh.addAction(w8) +settingRunV3Sh.addAction(w9) +settingRunV3Sh.addAction(w10) wineOption.addSeparator() wineOption.addAction(w11) wineOption.addSeparator() @@ -2703,20 +2705,19 @@ uninstallvkd3d = QtWidgets.QAction(QtWidgets.QApplication.style().standardIcon(4 vkd3dMenu.addAction(installvkd3d) vkd3dMenu.addAction(uninstallvkd3d) wineOption.addSeparator() -wineOption.addAction(deletePartIcon) wineOption.addAction(deleteDesktopIcon) wineOption.addSeparator() -settingWineBottleCreateLink = wineOption.addMenu(transla.transe("U", "允许/禁止指定 wine 容器生成快捷方式")) +settingWineBottleCreateLink = wm3.addMenu(transla.transe("U", "启用/禁止指定 wine 容器生成快捷方式")) enabledWineBottleCreateLink = QtWidgets.QAction(QtWidgets.QApplication.style().standardIcon(45), transla.transe("U", "允许指定 wine 容器生成快捷方式")) disbledWineBottleCreateLink = QtWidgets.QAction(QtWidgets.QApplication.style().standardIcon(40), transla.transe("U", "禁止指定 wine 容器生成快捷方式")) settingWineBottleCreateLink.addAction(enabledWineBottleCreateLink) settingWineBottleCreateLink.addAction(disbledWineBottleCreateLink) -settingWineCrashDialog = wineOption.addMenu(transla.transe("U", "启用/禁用指定 wine 容器崩溃提示窗口")) +settingWineCrashDialog = wm3.addMenu(transla.transe("U", "启用/禁用指定 wine 容器崩溃提示窗口")) disbledWineCrashDialog = QtWidgets.QAction(QtWidgets.QApplication.style().standardIcon(40), transla.transe("U", "禁用指定 wine 容器崩溃提示窗口")) enabledWineCrashDialog = QtWidgets.QAction(QtWidgets.QApplication.style().standardIcon(45), transla.transe("U", "启用指定 wine 容器崩溃提示窗口")) settingWineCrashDialog.addAction(enabledWineCrashDialog) settingWineCrashDialog.addAction(disbledWineCrashDialog) -settingOpenProgram = wineOption.addMenu(transla.transe("U", "允许/禁止指定 wine 容器创建文件关联")) +settingOpenProgram = wm3.addMenu(transla.transe("U", "启用/禁止指定 wine 容器创建文件关联")) enabledOpenProgram = QtWidgets.QAction(QtWidgets.QApplication.style().standardIcon(45), transla.transe("U", "允许指定 wine 容器创建文件关联")) disbledOpenProgram = QtWidgets.QAction(QtWidgets.QApplication.style().standardIcon(40), transla.transe("U", "禁止指定 wine 容器创建文件关联")) settingOpenProgram.addAction(enabledOpenProgram)