David Golub  committed aa110c5

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.

  • Participants
  • Parent commits 21dbad2
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/util/

                                  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