[Pkg-owncloud-commits] [owncloud-client] 396/470: Overlay icons: Fix duplicate icons in nautilus #3249

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu May 12 16:25:31 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 b4cf17d99d218cbaa0d31c394a0b4e0cf7c603c7
Author: Christian Kamm <mail at ckamm.de>
Date:   Tue Apr 26 11:01:01 2016 +0200

    Overlay icons: Fix duplicate icons in nautilus #3249
---
 shell_integration/nautilus/syncstate.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/shell_integration/nautilus/syncstate.py b/shell_integration/nautilus/syncstate.py
index 9dcfec7..33d53fa 100644
--- a/shell_integration/nautilus/syncstate.py
+++ b/shell_integration/nautilus/syncstate.py
@@ -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}

-- 
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