diff options
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm')
-rw-r--r-- | src-qt5/desktop-utils/lumina-fm/MainUI.ui | 10 | ||||
-rw-r--r-- | src-qt5/desktop-utils/lumina-fm/lumina-fm.pro | 4 | ||||
-rw-r--r-- | src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp | 7 |
3 files changed, 10 insertions, 11 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/MainUI.ui b/src-qt5/desktop-utils/lumina-fm/MainUI.ui index 8a635199..a15f91c9 100644 --- a/src-qt5/desktop-utils/lumina-fm/MainUI.ui +++ b/src-qt5/desktop-utils/lumina-fm/MainUI.ui @@ -111,7 +111,7 @@ </property> <widget class="QMenu" name="menuFile"> <property name="title"> - <string>File</string> + <string>&File</string> </property> <addaction name="actionNew_Window"/> <addaction name="actionNew_Tab"/> @@ -125,7 +125,7 @@ </widget> <widget class="QMenu" name="menuView"> <property name="title"> - <string>View</string> + <string>&View</string> </property> <widget class="QMenu" name="menuView_Mode"> <property name="title"> @@ -142,7 +142,7 @@ </widget> <widget class="QMenu" name="menuBookmarks"> <property name="title"> - <string>Bookmarks</string> + <string>&Bookmarks</string> </property> <addaction name="actionManage_Bookmarks"/> <addaction name="actionAdd_Bookmark"/> @@ -150,14 +150,14 @@ </widget> <widget class="QMenu" name="menuExternal_Devices"> <property name="title"> - <string>External Devices</string> + <string>&External Devices</string> </property> <addaction name="actionScan"/> <addaction name="separator"/> </widget> <widget class="QMenu" name="menuGit"> <property name="title"> - <string>Git</string> + <string>&Git</string> </property> <addaction name="actionRepo_Status"/> <addaction name="actionClone_Repository"/> diff --git a/src-qt5/desktop-utils/lumina-fm/lumina-fm.pro b/src-qt5/desktop-utils/lumina-fm/lumina-fm.pro index 4f66ce0a..b59aface 100644 --- a/src-qt5/desktop-utils/lumina-fm/lumina-fm.pro +++ b/src-qt5/desktop-utils/lumina-fm/lumina-fm.pro @@ -126,13 +126,13 @@ TRANSLATIONS = i18n/lumina-fm_af.ts \ i18n/lumina-fm_zu.ts dotrans.path=$${L_SHAREDIR}/lumina-desktop/i18n/ -dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/ +dotrans.extra=cd $$PWD/i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/ desktop.files=lumina-fm.desktop desktop.path=$${L_SHAREDIR}/applications/ manpage.path=$${L_MANDIR}/man1/ -manpage.extra="$${MAN_ZIP} lumina-fm.1 > $(INSTALL_ROOT)$${L_MANDIR}/man1/lumina-fm.1.gz" +manpage.extra="$${MAN_ZIP} $$PWD/lumina-fm.1 > $(INSTALL_ROOT)$${L_MANDIR}/man1/lumina-fm.1.gz" INSTALLS += target desktop icons manpage diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp index 453e9e61..d3b0ae2b 100644 --- a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp +++ b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp @@ -289,7 +289,9 @@ void DirWidget::createMenus(){ cOpenMenu->addAction(LXDG::findIcon("utilities-terminal",""), tr("Open Current Dir in a Terminal"), this, SLOT(openTerminal()), kOpTerm->key()); cOpenMenu->addAction(LXDG::findIcon("media-slideshow",""), tr("SlideShow"), this, SLOT(openInSlideshow()), kOpSS->key()); cOpenMenu->addAction(LXDG::findIcon("media-playback-start-circled","media-playback-start"), tr("Multimedia Player"), this, SLOT(openMultimedia()), kOpMM->key()); - if(LUtils::isValidBinary("qsudo")){ cOpenMenu->addAction(LXDG::findIcon("", ""), tr("Open Current Dir as Root"), this, SLOT(openRootFM())); + if(LUtils::isValidBinary("qsudo")){ + cOpenMenu->addAction(LXDG::findIcon("", ""), tr("Open Current Dir as Root"), this, SLOT(openRootFM())); + } if(cArchiveMenu==0){ cArchiveMenu = new QMenu(this); } cArchiveMenu->setTitle(tr("Archive Options")); @@ -327,9 +329,6 @@ void DirWidget::createMenus(){ if(LUtils::isValidBinary("lumina-fileinfo")){ cFViewMenu->addAction(LXDG::findIcon("edit-find-replace",""), tr("Properties"), this, SLOT(fileProperties()) ); } - -} - } BrowserWidget* DirWidget::currentBrowser(){ |