Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph

shlib: tell the shell that an association change occurred when notifying it

This will cause the icon overlays to be automatically updated after an
operation (e.g. add, revert) is performed with the user having to manually
refresh in Windows Explorer.

Changeset a249bb5fa320

Parent 75f56462d71a

by David Golub

Changes to one file · Browse files at a249bb5fa320 Showing diff from parent 75f56462d71a Diff from another changeset...

 
57
58
59
 
 
 
60
61
62
 
57
58
59
60
61
62
63
64
65
@@ -57,6 +57,9 @@
  shell.SHChangeNotify(shellcon.SHCNE_UPDATEITEM,   shellcon.SHCNF_IDLIST | shellcon.SHCNF_FLUSH,   pidl, None) + shell.SHChangeNotify(shellcon.SHCNE_ASSOCCHANGED, + shellcon.SHCNF_FLUSH, + None, None)     def update_thgstatus(ui, root, wait=False):   '''Rewrite the file .hg/thgstatus