diff options
author | Saturn&Eric <[email protected]> | 2022-01-05 20:02:19 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2022-01-05 20:02:19 +0000 |
commit | a3ca1bf1d4404327d68d3d49127085638c272152 (patch) | |
tree | deb10c33977e5002fa6e9b434f2b07d2719a4e31 /src/ui/main_window/MainWindowUI.cpp | |
parent | Merge pull request #37 from saturneric/document (diff) | |
parent | <doc>(navbar): take repository and GitHub apart. (diff) | |
download | GpgFrontend-a3ca1bf1d4404327d68d3d49127085638c272152.tar.gz GpgFrontend-a3ca1bf1d4404327d68d3d49127085638c272152.zip |
Merge pull request #36 from saturneric/developv2.0.4
v2.0.4
Diffstat (limited to 'src/ui/main_window/MainWindowUI.cpp')
-rw-r--r-- | src/ui/main_window/MainWindowUI.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/ui/main_window/MainWindowUI.cpp b/src/ui/main_window/MainWindowUI.cpp index 0c557d16..cb7962f7 100644 --- a/src/ui/main_window/MainWindowUI.cpp +++ b/src/ui/main_window/MainWindowUI.cpp @@ -258,7 +258,7 @@ void MainWindow::createActions() { /* Popup-Menu-Action for KeyList */ appendSelectedKeysAct = - new QAction(_("Append Selected Key(s) To Text"), this); + new QAction(_("Append Public Key To Text Editor"), this); appendSelectedKeysAct->setToolTip( _("Append The Selected Keys To Text in Editor")); connect(appendSelectedKeysAct, SIGNAL(triggered()), this, @@ -297,7 +297,7 @@ void MainWindow::createActions() { connect(addPgpHeaderAct, SIGNAL(triggered()), this, SLOT(slotAddPgpHeader())); #ifdef SMTP_SUPPORT - sendMailAct = new QAction(_("Send An Email"), this); + sendMailAct = new QAction(_("New Message"), this); sendMailAct->setIcon(QIcon(":email.png")); connect(sendMailAct, &QAction::triggered, this, [=]() { auto* dialog = new SendMailDialog({}, this); @@ -421,6 +421,11 @@ void MainWindow::createToolBars() { specialEditToolBar->hide(); viewMenu->addAction(specialEditToolBar->toggleViewAction()); + emailToolBar = addToolBar(_("Email")); + emailToolBar->setObjectName("emailToolBar"); + emailToolBar->addAction(sendMailAct); + viewMenu->addAction(emailToolBar->toggleViewAction()); + // Add dropdown menu for key import to keytoolbar importButton = new QToolButton(); importButton->setMenu(importKeyMenu); |