[Pkg-owncloud-commits] [owncloud-client] 213/332: SocketAPI: Send an UPDATE_VIEW to the shell plugin on connect.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Thu Aug 14 21:07:01 UTC 2014
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 743c1c2eda5e4d049e10c51d0a512bfe4f682fbf
Author: Klaas Freitag <freitag at owncloud.com>
Date: Tue Jul 15 17:55:55 2014 +0200
SocketAPI: Send an UPDATE_VIEW to the shell plugin on connect.
For each configured sync folder send an UPDATE_VIEW directly after
the socket connect to make the shell integration updating the view.
---
src/mirall/socketapi.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/mirall/socketapi.cpp b/src/mirall/socketapi.cpp
index a4f6965..2211d1a 100644
--- a/src/mirall/socketapi.cpp
+++ b/src/mirall/socketapi.cpp
@@ -189,6 +189,10 @@ void SocketApi::slotNewConnection()
Q_ASSERT(socket->readAll().isEmpty());
_listeners.append(socket);
+
+ foreach( QString alias, FolderMan::instance()->map().keys() ) {
+ slotUpdateFolderView(alias);
+ }
}
void SocketApi::onLostConnection()
--
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