mirror of
https://github.com/chylex/Nextcloud-Desktop.git
synced 2025-02-25 03:46:00 +01:00
Overlay icons: Fix duplicate icons in nautilus #3249
This commit is contained in:
parent
12bf6e39b7
commit
b4cf17d99d
@ -259,6 +259,7 @@ class SyncStateExtension(GObject.GObject, Nautilus.ColumnProvider, Nautilus.Info
|
||||
if itemStore:
|
||||
if( not itemStore['state'] or newState != itemStore['state'] ):
|
||||
item = itemStore['item']
|
||||
item.invalidate_extension_info() # clears the old emblem
|
||||
item.add_emblem(emblem)
|
||||
# print("Setting emblem on " + filename + "<>" + emblem + "<>") # For debug only
|
||||
socketConnect.nautilusVFSFile_table[filename] = {'item': item, 'state':newState}
|
||||
|
Loading…
Reference in New Issue
Block a user