[Pkg-owncloud-commits] [owncloud-client] 460/484: Use user-readable short folder path in the context menu

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Dec 16 00:38:21 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 ab5e543099c3eabebc699ac0a7672e57a1cb26b7
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Wed Dec 2 15:46:42 2015 +0100

    Use user-readable short folder path in the context menu
---
 src/gui/owncloudgui.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gui/owncloudgui.cpp b/src/gui/owncloudgui.cpp
index debb416..af8dc1b 100644
--- a/src/gui/owncloudgui.cpp
+++ b/src/gui/owncloudgui.cpp
@@ -335,7 +335,7 @@ void ownCloudGui::addAccountContextMenu(AccountStatePtr accountState, QMenu *men
             menu->addAction(tr("Managed Folders:"))->setDisabled(true);
         }
 
-        QAction *action = new QAction( tr("Open folder '%1'").arg(folder->path()), this );
+        QAction *action = new QAction( tr("Open folder '%1'").arg(folder->shortGuiPath()), this );
         connect(action, SIGNAL(triggered()),_folderOpenActionMapper, SLOT(map()));
         _folderOpenActionMapper->setMapping( action, folder->alias() );
         menu->addAction(action);

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