mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
use standard function to refresh shell icons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24577 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ad247d6be1
commit
2fd9caac50
@ -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