mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 06:25:56 +03:00
nautilus integration: Handle NOP as empty.
This commit is contained in:
parent
15988c6fda
commit
8eb53fa9ae
1 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue