VirtualBox

Ignore:
Timestamp:
Apr 23, 2007 8:31:58 AM (18 years ago)
Author:
vboxsync
Message:

hide Host Interface Networking UI on the Mac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMNetworkSettings.ui.h

    r1701 r2309  
    111111    cbNetworkAttachment->insertItem (vboxGlobal().toString (CEnums::NoNetworkAttachment));
    112112    cbNetworkAttachment->insertItem (vboxGlobal().toString (CEnums::NATNetworkAttachment));
     113#ifndef Q_WS_MAC /* not yet on the Mac */
    113114    cbNetworkAttachment->insertItem (vboxGlobal().toString (CEnums::HostInterfaceNetworkAttachment));
    114115    cbNetworkAttachment->insertItem (vboxGlobal().toString (CEnums::InternalNetworkAttachment));
     116#endif
    115117
    116118#if defined Q_WS_X11
     
    119121    /* hide unavailable settings (TAP setup and terminate apps) */
    120122    frmTAPSetupTerminate->setHidden (true);
    121 #endif
    122 
    123 #if defined Q_WS_WIN
    124123    /* disable unused interface name UI */
    125124    frmHostInterface_X11->setHidden (true);
     125#endif
     126
     127#if defined Q_WS_WIN
    126128    /* setup iconsets */
    127129    pbHostAdd->setIconSet (VBoxGlobal::iconSet ("add_host_iface_16px.png",
     
    148150     * (remove the relative code at all? -- just leave for some time...) */
    149151    frmTAPDescriptor->setHidden (true);
     152
     153#if defined Q_WS_MAC
     154    /* no Host Interface Networking on the Mac yet */   
     155    grbTAP->setHidden (true);
     156#endif
    150157}
    151158
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