mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +00:00
use standard function to refresh shell icons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24576 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f9e5128e31
commit
21a6136481
@ -35,15 +35,10 @@ Configuration of standard NSIS header files
|
||||
!include MultiUser.nsh
|
||||
!include nsDialogs.nsh
|
||||
|
||||
#--------------------------------
|
||||
# Windows constants
|
||||
|
||||
!define SHCNE_ASSOCCHANGED 0x08000000
|
||||
!define SHCNF_IDLIST 0x0000
|
||||
|
||||
#--------------------------------
|
||||
# Include standard functions
|
||||
|
||||
!insertmacro GetParent
|
||||
!insertmacro RefreshShellIcons
|
||||
!insertmacro VersionCompare
|
||||
!insertmacro WordFind2X
|
||||
|
@ -31,7 +31,7 @@ Section -FileAssociations
|
||||
${REG_FILEEXT} "Content Type" "${APP_MIME_TYPE}"
|
||||
|
||||
# Refresh shell
|
||||
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) (${SHCNE_ASSOCCHANGED}, ${SHCNF_IDLIST}, 0, 0)'
|
||||
${RefreshShellIcons}
|
||||
|
||||
SectionEnd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user