mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 14:36:01 +03:00
Nautilus Shell Integration: Re-Assemble the whole filename after split.
The socketapi uses the colon as delimiter, which splits files that contain a colon. This patch re-assembles the filename again in case that happened.
This commit is contained in:
parent
b012fae144
commit
cbbc5af834
1 changed files with 3 additions and 1 deletions
|
@ -237,8 +237,10 @@ class SyncStateExtension(GObject.GObject, Nautilus.ColumnProvider, Nautilus.Info
|
|||
if action == 'STATUS':
|
||||
newState = args[0]
|
||||
emblem = Emblems[newState]
|
||||
filename = ':'.join(args[1:])
|
||||
|
||||
if emblem:
|
||||
itemStore = self.find_item_for_file(args[1])
|
||||
itemStore = self.find_item_for_file(filename)
|
||||
if itemStore:
|
||||
if( not itemStore['state'] or newState != itemStore['state'] ):
|
||||
item = itemStore['item']
|
||||
|
|
Loading…
Reference in a new issue