VirtualBox

Changeset 27599 in vbox


Ignore:
Timestamp:
Mar 22, 2010 3:48:48 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: disable register

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
4 edited

Legend:

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

    r27482 r27599  
    2929VBOX_VIRTUALBOX4_OUT_DIR := $(PATH_TARGET)/VirtualBox/misc
    3030
    31 VBOX_WITH_REGISTRATION := 1
     31# VBOX_WITH_REGISTRATION := 1
    3232
    3333# Ask the user to register at Sun. If this setting is disabled the user can
    3434# still register using the menu if desired.
    35 VBOX_WITH_REGISTRATION_REQUEST := 1
     35# VBOX_WITH_REGISTRATION_REQUEST := 1
     36
     37# For now this should be disabled in any case
     38ifdef VBOX_WITH_REGISTRATION
     39 VBOX_WITH_REGISTRATION=
     40endif
     41ifdef VBOX_WITH_REGISTRATION_REQUEST
     42 VBOX_WITH_REGISTRATION_REQUEST=
     43endif
    3644
    3745# Show the update notifier dialog during startup. If this setting is disabled
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionsPool.cpp

    r27517 r27599  
    910910};
    911911
     912#ifdef VBOX_WITH_REGISTRATION
    912913class PerformRegisterAction : public UISimpleAction
    913914{
     
    933934    }
    934935};
     936#endif /* VBOX_WITH_REGISTRATION */
    935937
    936938class PerformUpdateAction : public UISimpleAction
     
    11001102    m_actionsPool[UIActionIndex_Simple_Web] = new ShowWebAction(this);
    11011103    m_actionsPool[UIActionIndex_Simple_ResetWarnings] = new PerformResetWarningsAction(this);
     1104#ifdef VBOX_WITH_REGISTRATION
    11021105    m_actionsPool[UIActionIndex_Simple_Register] = new PerformRegisterAction(this);
     1106#endif /* VBOX_WITH_REGISTRATION */
    11031107    m_actionsPool[UIActionIndex_Simple_Update] = new PerformUpdateAction(this);
    11041108    m_actionsPool[UIActionIndex_Simple_About] = new ShowAboutAction(this);
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionsPool.h

    r27335 r27599  
    105105    UIActionIndex_Simple_Web,
    106106    UIActionIndex_Simple_ResetWarnings,
     107#ifdef VBOX_WITH_REGISTRATION
    107108    UIActionIndex_Simple_Register,
     109#endif /* VBOX_WITH_REGISTRATION */
    108110    UIActionIndex_Simple_Update,
    109111    UIActionIndex_Simple_About,
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineMenuBar.cpp

    r27335 r27599  
    221221        VBoxGlobal::connect(pActionsPool->action(UIActionIndex_Simple_ResetWarnings), SIGNAL(triggered()),
    222222                            &vboxProblem(), SLOT(resetSuppressedMessages()));
     223#ifdef VBOX_WITH_REGISTRATION
    223224        VBoxGlobal::connect(pActionsPool->action(UIActionIndex_Simple_Register), SIGNAL(triggered()),
    224225                            &vboxGlobal(), SLOT(showRegistrationDialog()));
     226#endif /* VBOX_WITH_REGISTRATION */
    225227        VBoxGlobal::connect(pActionsPool->action(UIActionIndex_Simple_Update), SIGNAL(triggered()),
    226228                            &vboxGlobal(), SLOT(showUpdateDialog()));
     
    228230                            &vboxProblem(), SLOT(showHelpAboutDialog()));
    229231
     232#ifdef VBOX_WITH_REGISTRATION
    230233        VBoxGlobal::connect(&vboxGlobal(), SIGNAL (canShowRegDlg (bool)),
    231234                            pActionsPool->action(UIActionIndex_Simple_Register), SLOT(setEnabled(bool)));
     235#endif /* VBOX_WITH_REGISTRATION */
    232236        VBoxGlobal::connect(&vboxGlobal(), SIGNAL (canShowUpdDlg (bool)),
    233237                            pActionsPool->action(UIActionIndex_Simple_Update), SLOT(setEnabled(bool)));
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