[Pkg-owncloud-commits] [owncloud-client] 59/120: Account Settings: rename and re-order the options in the context menu
Sandro Knauß
hefee-guest at moszumanska.debian.org
Mon Aug 24 00:02:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit b49e9e8f30cc826c2c1954963dba505380a90007
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Thu Aug 13 12:32:59 2015 +0200
Account Settings: rename and re-order the options in the context menu
---
src/gui/accountsettings.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/gui/accountsettings.cpp b/src/gui/accountsettings.cpp
index 960a9ae..d652a88 100644
--- a/src/gui/accountsettings.cpp
+++ b/src/gui/accountsettings.cpp
@@ -156,12 +156,12 @@ void AccountSettings::slotCustomContextMenuRequested(const QPoint &pos)
QMenu *menu = new QMenu(tv);
menu->setAttribute(Qt::WA_DeleteOnClose);
+ connect(menu->addAction(tr("Open folder")), SIGNAL(triggered(bool)),
+ this, SLOT(slotOpenCurrentFolder()));
connect(menu->addAction(tr("Remove folder")), SIGNAL(triggered(bool)),
this, SLOT(slotRemoveCurrentFolder()));
- connect(menu->addAction(folderPaused ? tr("Resume") : tr("Pause")), SIGNAL(triggered(bool)),
+ connect(menu->addAction(folderPaused ? tr("Resume sync") : tr("Pause sync")), SIGNAL(triggered(bool)),
this, SLOT(slotEnableCurrentFolder()));
- connect(menu->addAction(tr("Open folder in file browser")), SIGNAL(triggered(bool)),
- this, SLOT(slotOpenCurrentFolder()));
menu->exec(tv->mapToGlobal(pos));
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list