VirtualBox

Changeset 37549 in vbox for trunk/src


Ignore:
Timestamp:
Jun 20, 2011 8:44:19 AM (13 years ago)
Author:
vboxsync
Message:

Desktop: add file icons for the supported virtual disk image formats

Location:
trunk/src/VBox
Files:
60 added
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/Info.plist

    r34519 r37549  
    3636      <key>CFBundleTypeIconFile</key>           <string>virtualbox-ova</string>
    3737     </dict>
     38     <dict>
     39      <key>CFBundleTypeName</key>               <string>Virtual Disk Image</string>
     40      <key>CFBundleTypeExtensions</key>         <array><string>vdi</string></array>
     41      <key>CFBundleTypeRole</key>               <string>None</string>
     42      <key>CFBundleTypeIconFile</key>           <string>virtualbox-vdi</string>
     43     </dict>
     44     <dict>
     45      <key>CFBundleTypeName</key>               <string>Virtual Machine Disk Format</string>
     46      <key>CFBundleTypeExtensions</key>         <array><string>vmdk</string></array>
     47      <key>CFBundleTypeRole</key>               <string>None</string>
     48      <key>CFBundleTypeIconFile</key>           <string>virtualbox-vmdk</string>
     49     </dict>
     50     <dict>
     51      <key>CFBundleTypeName</key>               <string>Virtual Hard Disk</string>
     52      <key>CFBundleTypeExtensions</key>         <array><string>vhd</string></array>
     53      <key>CFBundleTypeRole</key>               <string>None</string>
     54      <key>CFBundleTypeIconFile</key>           <string>virtualbox-vhd</string>
     55     </dict>
     56     <dict>
     57      <key>CFBundleTypeName</key>               <string>Virtual Hard Disk</string>
     58      <key>CFBundleTypeExtensions</key>         <array><string>hdd</string></array>
     59      <key>CFBundleTypeRole</key>               <string>None</string>
     60      <key>CFBundleTypeIconFile</key>           <string>virtualbox-hdd</string>
     61     </dict>
    3862    </array>
    3963</dict>
  • trunk/src/VBox/Installer/darwin/Makefile.kmk

    r36698 r37549  
    661661        Resources/virtualbox-ovf.icns \
    662662        Resources/virtualbox-ova.icns \
     663        Resources/virtualbox-vdi.icns \
     664        Resources/virtualbox-vmdk.icns \
     665        Resources/virtualbox-vhd.icns \
     666        Resources/virtualbox-hdd.icns \
    663667        MacOS/components/VBoxXPCOMBase.xpt \
    664668        MacOS/components/VirtualBox_XPCOM.xpt
  • trunk/src/VBox/Installer/linux/Makefile.kmk

    r37303 r37549  
    283283VBOX_MIME_ICONS = \
    284284        $(addprefix $(PATH_ROOT)/src/VBox/Resources/other/,\
    285             $(foreach f,ova ovf vbox vbox-extpack, \
     285            $(foreach f,ova ovf vbox vbox-extpack vdi vmdk vhd hdd, \
    286286                $(foreach s,16 20 24 32 48 64 72 96 128 256,\
    287287                    virtualbox-$(f)-$(s)px.png=>$(s)x$(s)/virtualbox-$(f).png)))
  • trunk/src/VBox/Installer/solaris/Makefile.kmk

    r37328 r37549  
    185185VBOX_MIME_ICONS = \
    186186        $(addprefix $(PATH_ROOT)/src/VBox/Resources/other/,\
    187             $(foreach f,ova ovf vbox vbox-extpack, \
     187            $(foreach f,ova ovf vbox vbox-extpack vdi vmdk vhd hdd, \
    188188                $(foreach s,16 20 24 32 48 64 72 96 128 256,\
    189189                    virtualbox-$(f)-$(s)px.png=>$(s)x$(s)/mimetypes/virtualbox-$(f).png)))
    190190
    191191SOLARIS_COMMON_ICONS = \
    192         $(foreach f,ova ovf vbox vbox-extpack, \
     192        $(foreach f,ova ovf vbox vbox-extpack vdi vmdk vhd hdd, \
    193193            $(foreach s,16 20 24 32 48 64 72 96 128 256,\
    194194                $(s)x$(s)/mimetypes/virtualbox-$(f).png))
  • trunk/src/VBox/Installer/solaris/virtualbox.applications.in

    r35092 r37549  
    55    can_open_multiple_files=true
    66    name=@VBOX_PRODUCT@
    7     mime_types=application/x-virtualbox-vbox;application/x-virtualbox-vbox-extpack;application/x-virtualbox-ovf;application/x-virtualbox-ova
     7    mime_types=application/x-virtualbox-vbox;application/x-virtualbox-vbox-extpack;application/x-virtualbox-ovf;application/x-virtualbox-ova;application/x-virtualbox-vdi;application/x-virtualbox-vmdk;application/x-virtualbox-vhd;application/x-virtualbox-hdd
    88
  • trunk/src/VBox/Installer/solaris/virtualbox.keys

    r35092 r37549  
    3939    use_category_default=no
    4040
     41application/x-virtualbox-vdi
     42    icon_filename=virtualbox-vdi
     43    description=Virtual Disk Image
     44    default_action_type=none
     45    short_list_application_ids_for_novice_user_level=virtualbox
     46    short_list_application_ids_for_intermediate_user_level=virtualbox
     47    short_list_application_ids_for_advanced_user_level=virtualbox
     48    category=System
     49    use_category_default=no
     50
     51application/x-virtualbox-vmdk
     52    icon_filename=virtualbox-vmdk
     53    description=Virtual Machine Disk Format
     54    default_action_type=none
     55    short_list_application_ids_for_novice_user_level=virtualbox
     56    short_list_application_ids_for_intermediate_user_level=virtualbox
     57    short_list_application_ids_for_advanced_user_level=virtualbox
     58    category=System
     59    use_category_default=no
     60
     61application/x-virtualbox-vhd
     62    icon_filename=virtualbox-vhd
     63    description=Virtual Hard Disk
     64    default_action_type=none
     65    short_list_application_ids_for_novice_user_level=virtualbox
     66    short_list_application_ids_for_intermediate_user_level=virtualbox
     67    short_list_application_ids_for_advanced_user_level=virtualbox
     68    category=System
     69    use_category_default=no
     70
     71application/x-virtualbox-hdd
     72    icon_filename=virtualbox-hdd
     73    description=Virtual Hard Disk
     74    default_action_type=none
     75    short_list_application_ids_for_novice_user_level=virtualbox
     76    short_list_application_ids_for_intermediate_user_level=virtualbox
     77    short_list_application_ids_for_advanced_user_level=virtualbox
     78    category=System
     79    use_category_default=no
  • trunk/src/VBox/Installer/solaris/virtualbox.mime

    r35099 r37549  
    1010application/x-virtualbox-ova:
    1111    ext: ova
     12
     13application/x-virtualbox-vdi:
     14    ext: vdi
     15
     16application/x-virtualbox-vmdk:
     17    ext: vmdk
     18
     19application/x-virtualbox-vhd:
     20    ext: vhd
     21
     22application/x-virtualbox-hdd:
     23    ext: hdd
  • trunk/src/VBox/Installer/win/Resources/Makefile.kmk

    r35450 r37549  
    4343  VBOX_WINDOWS_ICON_EXT_OVA     := $(VBOX_RESOURCES_PATH_WIN)/OSE/virtualbox-ova.ico
    4444  VBOX_WINDOWS_ICON_EXT_OVF     := $(VBOX_RESOURCES_PATH_WIN)/OSE/virtualbox-ovf.ico
     45  VBOX_WINDOWS_ICON_EXT_VDI     := $(VBOX_RESOURCES_PATH_WIN)/virtualbox-vdi.ico
     46  VBOX_WINDOWS_ICON_EXT_VMDK    := $(VBOX_RESOURCES_PATH_WIN)/virtualbox-vmdk.ico
     47  VBOX_WINDOWS_ICON_EXT_VHD     := $(VBOX_RESOURCES_PATH_WIN)/virtualbox-vhd.ico
     48  VBOX_WINDOWS_ICON_EXT_HDD     := $(VBOX_RESOURCES_PATH_WIN)/virtualbox-hdd.ico
    4549else
    4650  VBOX_WINDOWS_ICON_EXT_VBOX    := $(VBOX_RESOURCES_PATH_WIN)/virtualbox-vbox.ico
     
    4852  VBOX_WINDOWS_ICON_EXT_OVA     := $(VBOX_RESOURCES_PATH_WIN)/virtualbox-ova.ico
    4953  VBOX_WINDOWS_ICON_EXT_OVF     := $(VBOX_RESOURCES_PATH_WIN)/virtualbox-ovf.ico
     54  VBOX_WINDOWS_ICON_EXT_VDI     := $(VBOX_RESOURCES_PATH_WIN)/virtualbox-vdi.ico
     55  VBOX_WINDOWS_ICON_EXT_VMDK    := $(VBOX_RESOURCES_PATH_WIN)/virtualbox-vmdk.ico
     56  VBOX_WINDOWS_ICON_EXT_VHD     := $(VBOX_RESOURCES_PATH_WIN)/virtualbox-vhd.ico
     57  VBOX_WINDOWS_ICON_EXT_HDD     := $(VBOX_RESOURCES_PATH_WIN)/virtualbox-hdd.ico
    5058endif
    5159
     
    5563        $(VBOX_WINDOWS_ICON_EXT_EXTPACK) \
    5664        $(VBOX_WINDOWS_ICON_EXT_OVA) \
    57         $(VBOX_WINDOWS_ICON_EXT_OVF)
     65        $(VBOX_WINDOWS_ICON_EXT_OVF) \
     66        $(VBOX_WINDOWS_ICON_EXT_VMDK) \
     67        $(VBOX_WINDOWS_ICON_EXT_VHD) \
     68        $(VBOX_WINDOWS_ICON_EXT_HDD)
    5869
    5970$$(VBoxRes_0_OUTDIR)/VBoxRes-icons.rc: \
     
    6374        $(APPEND) $@ 'IDI_FILETYPE_VBOX         ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_EXT_VBOX))"'
    6475        $(APPEND) $@ 'IDI_FILETYPE_VBOX_EXTPACK ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_EXT_EXTPACK))"'
    65         $(APPEND) $@ 'IDI_FILETYPE_VBOX_OVA             ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_EXT_OVA))"'
    66         $(APPEND) $@ 'IDI_FILETYPE_VBOX_OVF             ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_EXT_OVF))"'
     76        $(APPEND) $@ 'IDI_FILETYPE_VBOX_OVA     ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_EXT_OVA))"'
     77        $(APPEND) $@ 'IDI_FILETYPE_VBOX_OVF     ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_EXT_OVF))"'
     78        $(APPEND) $@ 'IDI_FILETYPE_VBOX_VMDK    ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_EXT_VMDK))"'
     79        $(APPEND) $@ 'IDI_FILETYPE_VBOX_VHD     ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_EXT_VHD))"'
     80        $(APPEND) $@ 'IDI_FILETYPE_VBOX_HDD     ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_EXT_HDD))"'
    6781
    6882include $(KBUILD_PATH)/subfooter.kmk
  • trunk/src/VBox/Installer/win/Resources/resource.h

    r34454 r37549  
    2323#define IDI_FILETYPE_VBOX_OVF       301
    2424#define IDI_FILETYPE_VBOX_OVA       302
     25#define IDI_FILETYPE_VBOX_VDI       303
     26#define IDI_FILETYPE_VBOX_VMDK      304
     27#define IDI_FILETYPE_VBOX_VHD       305
     28#define IDI_FILETYPE_VBOX_HDD       306
  • trunk/src/VBox/Installer/win/VirtualBox.wxs

    r37289 r37549  
    386386                            </Extension>
    387387                        </ProgId>
     388                        <ProgId Id="progId_VirtualBox.Shell.vdi" Description="Virtual Disk Image" Icon="file_VBoxRes.dll" IconIndex="-303">
     389                            <Extension Id="vdi" ContentType="application/x-virtualbox-vdi" />
     390                        </ProgId>
     391                        <ProgId Id="progId_VirtualBox.Shell.vmdk" Description="Virtual Machine Disk Format" Icon="file_VBoxRes.dll" IconIndex="-304">
     392                            <Extension Id="vmdk" ContentType="application/x-virtualbox-vmdk" />
     393                        </ProgId>
     394                        <ProgId Id="progId_VirtualBox.Shell.vhd" Description="Virtual Hard Disk" Icon="file_VBoxRes.dll" IconIndex="-305">
     395                            <Extension Id="vhd" ContentType="application/x-virtualbox-vhd" />
     396                        </ProgId>
     397                        <ProgId Id="progId_VirtualBox.Shell.hdd" Description="Virtual Hard Disk" Icon="file_VBoxRes.dll" IconIndex="-306">
     398                            <Extension Id="hdd" ContentType="application/x-virtualbox-hdd" />
     399                        </ProgId>
    388400
    389401                        <!-- Files -->
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette