From 924c883edc98dbe9d3101847c0eef0b62e5c0f8c Mon Sep 17 00:00:00 2001 From: l10n daemon script Date: Fri, 12 Apr 2019 07:49:57 +0200 Subject: GIT_SILENT made messages (after extraction) --- src/org.kde.dolphin.appdata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org.kde.dolphin.appdata.xml b/src/org.kde.dolphin.appdata.xml index 9479ca5f4..82dc763df 100644 --- a/src/org.kde.dolphin.appdata.xml +++ b/src/org.kde.dolphin.appdata.xml @@ -544,6 +544,7 @@ Gerente de file in Dolphin Pengelolaan file di Dolphin Gestione dei file in Dolphin + Dolphin으로 파일 관리 Bestandsbeheer in Dolphin Filhandsaming i Dolphin Zarządzanie plikami w Dolphinie -- cgit v1.3 From 48c082767e3124b1ac6575f83bfcdcdc3e3e9b62 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Thu, 18 Apr 2019 07:43:09 -0600 Subject: Fix adding "Create New..." menu to toolbar Summary: Access the object by its existing name rather than renaming it. BUG: 405780 FIXED-IN: 19.04.1 Test Plan: - Add {nav Create New} item to toolbar; it now works - Verify that {nav Create New} menu and toolbar items are disabled when in the trash - All tests still pass Reviewers: elvisangelaccio, broulik, #dolphin, cfeck Reviewed By: cfeck Subscribers: cfeck, kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D20664 --- src/dolphinmainwindow.cpp | 1 - src/tests/dolphinmainwindowtest.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 296cb1400..7224c8ea9 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1103,7 +1103,6 @@ void DolphinMainWindow::setupActions() { // setup 'File' menu m_newFileMenu = new DolphinNewFileMenu(actionCollection(), this); - m_newFileMenu->setObjectName("newFileMenu"); QMenu* menu = m_newFileMenu->menu(); menu->setTitle(i18nc("@title:menu Create new folder, file, link, etc.", "Create New")); menu->setIcon(QIcon::fromTheme(QStringLiteral("document-new"))); diff --git a/src/tests/dolphinmainwindowtest.cpp b/src/tests/dolphinmainwindowtest.cpp index c98ababa6..3d09699fe 100644 --- a/src/tests/dolphinmainwindowtest.cpp +++ b/src/tests/dolphinmainwindowtest.cpp @@ -243,7 +243,7 @@ void DolphinMainWindowTest::testNewFileMenuEnabled() QVERIFY(QTest::qWaitForWindowExposed(m_mainWindow.data())); QVERIFY(m_mainWindow->isVisible()); - auto newFileMenu = m_mainWindow->findChild("newFileMenu"); + auto newFileMenu = m_mainWindow->findChild("new_menu"); QVERIFY(newFileMenu); QFETCH(bool, expectedEnabled); -- cgit v1.3