[vlc-commits] nsis: Rename RegisterExtensionSection -> AssociateExtensionSection
Hugo Beauzée-Luyssen
git at videolan.org
Tue Jan 31 10:12:47 CET 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Jan 27 11:25:50 2017 +0100| [d9acb1e01e98310af3ffb7c4c7bf9dde8a0a285a] | committer: Hugo Beauzée-Luyssen
nsis: Rename RegisterExtensionSection -> AssociateExtensionSection
To have a clear distinction between extensions we register as handled,
and extensions we associate with to be opened by double clicking
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d9acb1e01e98310af3ffb7c4c7bf9dde8a0a285a
---
extras/package/win32/NSIS/helpers/extensions.nsh | 4 ++--
extras/package/win32/NSIS/vlc.win32.nsi.in | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/extras/package/win32/NSIS/helpers/extensions.nsh b/extras/package/win32/NSIS/helpers/extensions.nsh
index d86b194..d19ccaa 100644
--- a/extras/package/win32/NSIS/helpers/extensions.nsh
+++ b/extras/package/win32/NSIS/helpers/extensions.nsh
@@ -59,7 +59,7 @@ NoOwn:
DeleteRegKey HKLM "Software\Clients\Media\VLC\Capabilities\FileAssociations\VLC$R0" ; for vista
FunctionEnd
-!macro RegisterExtensionSection TYPE EXT
+!macro AssociateExtensionSection TYPE EXT
${MementoSection} ${EXT} SEC_EXT_${TYPE}_${EXT}
SectionIn 1 3
Push $R0
@@ -69,7 +69,7 @@ FunctionEnd
${MementoSectionEnd}
!macroend
-!macro RegisterSkinExtensionSection TYPE EXT
+!macro AssociateSkinExtensionSection TYPE EXT
${MementoUnselectedSection} ${EXT} SEC_EXT_SKIN_${EXT}
SectionIn 1 3
Push $R0
diff --git a/extras/package/win32/NSIS/vlc.win32.nsi.in b/extras/package/win32/NSIS/vlc.win32.nsi.in
index 3d7fb34..731cd92 100644
--- a/extras/package/win32/NSIS/vlc.win32.nsi.in
+++ b/extras/package/win32/NSIS/vlc.win32.nsi.in
@@ -412,14 +412,14 @@ ${MementoSectionEnd}
SectionGroup /e !$Name_Section06 SEC06
SectionGroup $Name_SectionGroupAudio
- !insertmacro MacroAudioExtensions RegisterExtensionSection
+ !insertmacro MacroAudioExtensions AssociateExtensionSection
SectionGroupEnd
SectionGroup $Name_SectionGroupVideo
- !insertmacro MacroVideoExtensions RegisterExtensionSection
+ !insertmacro MacroVideoExtensions AssociateExtensionSection
SectionGroupEnd
SectionGroup $Name_SectionGroupOther
- !insertmacro MacroOtherExtensions RegisterExtensionSection
- !insertmacro MacroSkinExtensions RegisterSkinExtensionSection
+ !insertmacro MacroOtherExtensions AssociateExtensionSection
+ !insertmacro MacroSkinExtensions AssociateSkinExtensionSection
SectionGroupEnd
SectionGroupEnd
More information about the vlc-commits
mailing list