Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37710991
en ru br
Репозитории ALT

Группа :: Графические оболочки/KDE
Пакет: plasma5-kmenuedit

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: alt-menueditor.patch
Скачать


--- a/treeview.cpp
+++ b/treeview.cpp
@@ -271,7 +271,7 @@ TreeView::TreeView(KActionCollection *ac
     connect(this, &QTreeWidget::currentItemChanged, this, &TreeView::itemSelected);
 
     m_menuFile = new MenuFile(QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + QStringLiteral("/menus/") +
-                              QStringLiteral("applications-kmenuedit.menu"));
+                              QStringLiteral("applications-menueditor.menu"));
     m_rootFolder = new MenuFolderInfo;
     m_separator = new MenuSeparatorInfo;
 }
@@ -1762,7 +1762,7 @@ void TreeView::restoreMenuSystem()
     if (KMessageBox::warningYesNo(this, i18n("Do you want to restore the system menu? Warning: This will remove all custom menus.")) == KMessageBox::No) {
         return;
     }
-    const QString kmenueditfile = QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + QStringLiteral("/menus/applications-kmenuedit.menu");
+    const QString kmenueditfile = QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + QStringLiteral("/menus/applications-menueditor.menu");
     if (QFile::exists(kmenueditfile)) {
         if (!QFile::remove(kmenueditfile)) {
             qCWarning(KMENUEDIT_LOG) << "Could not delete " << kmenueditfile;
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin