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

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

Parent 21dbad22b588

by David Golub

Changes to one file · Browse files at aa110c5fdc00 Showing diff from parent 21dbad22b588 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