VirtualBox

Changeset 87418 in vbox


Ignore:
Timestamp:
Jan 25, 2021 2:18:00 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9913: Global Preferences: Remove Extensions page.

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
2 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r87414 r87418  
    861861        src/settings/editors/UIVisualStateEditor.h \
    862862        src/settings/editors/UIVRDEAuthLibraryEditor.h \
    863         src/settings/global/UIGlobalSettingsExtension.h \
    864863        src/settings/global/UIGlobalSettingsGeneral.h \
    865864        src/settings/global/UIGlobalSettingsInput.h \
     
    10081007        src/settings/editors/UILanguageSettingsEditor.cpp \
    10091008        src/settings/editors/UIShortcutConfigurationEditor.cpp \
    1010         src/settings/global/UIGlobalSettingsExtension.cpp \
    10111009        src/settings/machine/UIMachineSettingsNetwork.cpp \
    10121010        src/settings/machine/UIMachineSettingsSerial.cpp \
     
    13921390        src/settings/editors/UIVisualStateEditor.cpp \
    13931391        src/settings/editors/UIVRDEAuthLibraryEditor.cpp \
    1394         src/settings/global/UIGlobalSettingsExtension.cpp \
    13951392        src/settings/global/UIGlobalSettingsGeneral.cpp \
    13961393        src/settings/global/UIGlobalSettingsInput.cpp \
  • trunk/src/VBox/Frontends/VirtualBox/src/converter/UIConverterBackendGlobal.cpp

    r87354 r87418  
    18691869        case GlobalSettingsPageType_Language:   strResult = "Language"; break;
    18701870        case GlobalSettingsPageType_Display:    strResult = "Display"; break;
    1871         case GlobalSettingsPageType_Extensions: strResult = "Extensions"; break;
    18721871#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
    18731872        case GlobalSettingsPageType_Proxy:      strResult = "Proxy"; break;
     
    18951894    keys << "Language";   values << GlobalSettingsPageType_Language;
    18961895    keys << "Display";    values << GlobalSettingsPageType_Display;
    1897     keys << "Extensions"; values << GlobalSettingsPageType_Extensions;
    18981896#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
    18991897    keys << "Proxy";      values << GlobalSettingsPageType_Proxy;
     
    19181916        case GlobalSettingsPageType_Language:   return UIIconPool::pixmap(":/site_warning_16px.png");
    19191917        case GlobalSettingsPageType_Display:    return UIIconPool::pixmap(":/vrdp_warning_16px.png");
    1920         case GlobalSettingsPageType_Extensions: return UIIconPool::pixmap(":/extension_pack_warning_16px.png");
    19211918#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
    19221919        case GlobalSettingsPageType_Proxy:      return UIIconPool::pixmap(":/proxy_warning_16px.png");
  • trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.h

    r87354 r87418  
    824824    GlobalSettingsPageType_Language,
    825825    GlobalSettingsPageType_Display,
    826     GlobalSettingsPageType_Extensions,
    827826#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
    828827    GlobalSettingsPageType_Proxy,
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp

    r87251 r87418  
    37263726        /* Show installation progress: */
    37273727        /** @todo move this tr into UIUpdateManager context */
    3728         msgCenter().showModalProgressDialog(comProgress, QApplication::translate("UIGlobalSettingsExtension",
    3729                                                                               "Extensions"),
     3728        msgCenter().showModalProgressDialog(comProgress, QApplication::translate("UIExtensionPackManagerWidget",
     3729                                                                                 "Extensions"),
    37303730                                            ":/progress_install_guest_additions_90px.png", pParent);
    37313731        if (!comProgress.GetCanceled())
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp

    r87316 r87418  
    3232/* GUI includes: Global Preferences: */
    3333#include "UIGlobalSettingsDisplay.h"
    34 #include "UIGlobalSettingsExtension.h"
    3534#include "UIGlobalSettingsGeneral.h"
    3635#include "UIGlobalSettingsInput.h"
     
    10099    m_pSelector->setItemText(GlobalSettingsPageType_Display, tr("Display"));
    101100
    102     /* Extension page: */
    103     m_pSelector->setItemText(GlobalSettingsPageType_Extensions, tr("Extensions"));
    104 
    105101#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
    106102    /* Proxy page: */
     
    232228                    addItem(":/vrdp_32px.png", ":/vrdp_24px.png", ":/vrdp_16px.png",
    233229                            iPageIndex, "#display", pSettingsPage);
    234                     addPageHelpKeyword(iPageIndex, "globalsettings");
    235                     break;
    236                 }
    237                 /* Extensions page: */
    238                 case GlobalSettingsPageType_Extensions:
    239                 {
    240                     pSettingsPage = new UIGlobalSettingsExtension;
    241                     addItem(":/extension_pack_32px.png", ":/extension_pack_24px.png", ":/extension_pack_16px.png",
    242                             iPageIndex, "#extensions", pSettingsPage);
    243230                    addPageHelpKeyword(iPageIndex, "globalsettings");
    244231                    break;
     
    302289}
    303290
    304 bool UISettingsDialogGlobal::isPageAvailable(int iPageId) const
    305 {
    306     switch (iPageId)
    307     {
    308         case GlobalSettingsPageType_Extensions:
    309             return !uiCommon().virtualBox().GetExtensionPackManager().isNull();
    310         default:
    311             break;
    312     }
     291bool UISettingsDialogGlobal::isPageAvailable(int) const
     292{
     293    /* Add restrictions here.. */
    313294    return true;
    314295}
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