[Pkg-owncloud-commits] [owncloud-client] 328/484: AccountSettings: Address jans suggestions in #4139

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Dec 16 00:38:00 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 becbb7b28493843831f48e0fb6e0b7160b7aaae2
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Mon Nov 16 15:50:32 2015 +0100

    AccountSettings: Address jans suggestions  in #4139
    
    - Changed sequence of menu items
    - lowercased entries
    - removed the "Account" from entries, its in the toolbox button already
    - added a little space between toolbox button label and the rectangle.
---
 src/gui/accountsettings.cpp | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/gui/accountsettings.cpp b/src/gui/accountsettings.cpp
index d5f5d76..2bb7206 100644
--- a/src/gui/accountsettings.cpp
+++ b/src/gui/accountsettings.cpp
@@ -135,19 +135,19 @@ AccountSettings::AccountSettings(AccountState *accountState, QWidget *parent) :
 void AccountSettings::createAccountToolbox()
 {
     QMenu *menu = new QMenu();
-    _toggleSignInOutAction = new QAction(tr("Sign Out"), this);
+    _addAccountAction = new QAction(tr("Add new"), this);
+    menu->addAction(_addAccountAction);
+    connect(_addAccountAction, SIGNAL(triggered(bool)), SLOT(slotOpenAccountWizard()));
+
+    _toggleSignInOutAction = new QAction(tr("Sign out"), this);
     connect(_toggleSignInOutAction, SIGNAL(triggered(bool)), SLOT(slotToggleSignInState()));
     menu->addAction(_toggleSignInOutAction);
 
-    QAction *action = new QAction(tr("Remove Account"), this);
+    QAction *action = new QAction(tr("Remove"), this);
     menu->addAction(action);
     connect( action, SIGNAL(triggered(bool)), SLOT(slotDeleteAccount()));
 
-    _addAccountAction = new QAction(tr("Add new Account..."), this);
-    menu->addAction(_addAccountAction);
-    connect(_addAccountAction, SIGNAL(triggered(bool)), SLOT(slotOpenAccountWizard()));
-
-    ui->_accountToolbox->setText(tr("Account"));
+    ui->_accountToolbox->setText(tr("Account") + QLatin1Char(' '));
     ui->_accountToolbox->setMenu(menu);
     ui->_accountToolbox->setPopupMode(QToolButton::InstantPopup);
 

-- 
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