[Pkg-owncloud-commits] [owncloud-client] 328/470: nautilus integration: Handle NOP as empty.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Thu May 12 16:25:21 UTC 2016
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 8eb53fa9aea96ccd96c0c8d3c8ce372af72d657b
Author: Klaas Freitag <freitag at owncloud.com>
Date: Thu Apr 14 15:24:46 2016 +0200
nautilus integration: Handle NOP as empty.
---
shell_integration/nautilus/syncstate.py | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/shell_integration/nautilus/syncstate.py b/shell_integration/nautilus/syncstate.py
index 8682833..868e3fa 100644
--- a/shell_integration/nautilus/syncstate.py
+++ b/shell_integration/nautilus/syncstate.py
@@ -225,10 +225,11 @@ class SyncStateExtension(GObject.GObject, Nautilus.ColumnProvider, Nautilus.Info
for p in socketConnect.nautilusVFSFile_table:
if p == path or p.startswith(path):
item = socketConnect.nautilusVFSFile_table[p]['item']
- update_items.append(item)
+ update_items.append(p)
- for item in update_items:
- item.invalidate_extension_info()
+ for path1 in update_items:
+ socketConnect.nautilusVFSFile_table[path1]['item'].invalidate_extension_info()
+ print "Invalidated: "+path1
# Handles a single line of server response and sets the emblem
def handle_commands(self, action, args):
@@ -242,7 +243,7 @@ class SyncStateExtension(GObject.GObject, Nautilus.ColumnProvider, Nautilus.Info
'NEW+SWM' : appname +'_sync_shared',
'IGNORE+SWM': appname +'_warn_shared',
'ERROR+SWM' : appname +'_error_shared',
- 'NOP' : appname +'_error'
+ 'NOP' : ''
}
# file = args[0] # For debug only
--
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