Changeset 27599 in vbox
- Timestamp:
- Mar 22, 2010 3:48:48 PM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r27482 r27599 29 29 VBOX_VIRTUALBOX4_OUT_DIR := $(PATH_TARGET)/VirtualBox/misc 30 30 31 VBOX_WITH_REGISTRATION := 131 # VBOX_WITH_REGISTRATION := 1 32 32 33 33 # Ask the user to register at Sun. If this setting is disabled the user can 34 34 # 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 38 ifdef VBOX_WITH_REGISTRATION 39 VBOX_WITH_REGISTRATION= 40 endif 41 ifdef VBOX_WITH_REGISTRATION_REQUEST 42 VBOX_WITH_REGISTRATION_REQUEST= 43 endif 36 44 37 45 # Show the update notifier dialog during startup. If this setting is disabled -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionsPool.cpp
r27517 r27599 910 910 }; 911 911 912 #ifdef VBOX_WITH_REGISTRATION 912 913 class PerformRegisterAction : public UISimpleAction 913 914 { … … 933 934 } 934 935 }; 936 #endif /* VBOX_WITH_REGISTRATION */ 935 937 936 938 class PerformUpdateAction : public UISimpleAction … … 1100 1102 m_actionsPool[UIActionIndex_Simple_Web] = new ShowWebAction(this); 1101 1103 m_actionsPool[UIActionIndex_Simple_ResetWarnings] = new PerformResetWarningsAction(this); 1104 #ifdef VBOX_WITH_REGISTRATION 1102 1105 m_actionsPool[UIActionIndex_Simple_Register] = new PerformRegisterAction(this); 1106 #endif /* VBOX_WITH_REGISTRATION */ 1103 1107 m_actionsPool[UIActionIndex_Simple_Update] = new PerformUpdateAction(this); 1104 1108 m_actionsPool[UIActionIndex_Simple_About] = new ShowAboutAction(this); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionsPool.h
r27335 r27599 105 105 UIActionIndex_Simple_Web, 106 106 UIActionIndex_Simple_ResetWarnings, 107 #ifdef VBOX_WITH_REGISTRATION 107 108 UIActionIndex_Simple_Register, 109 #endif /* VBOX_WITH_REGISTRATION */ 108 110 UIActionIndex_Simple_Update, 109 111 UIActionIndex_Simple_About, -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineMenuBar.cpp
r27335 r27599 221 221 VBoxGlobal::connect(pActionsPool->action(UIActionIndex_Simple_ResetWarnings), SIGNAL(triggered()), 222 222 &vboxProblem(), SLOT(resetSuppressedMessages())); 223 #ifdef VBOX_WITH_REGISTRATION 223 224 VBoxGlobal::connect(pActionsPool->action(UIActionIndex_Simple_Register), SIGNAL(triggered()), 224 225 &vboxGlobal(), SLOT(showRegistrationDialog())); 226 #endif /* VBOX_WITH_REGISTRATION */ 225 227 VBoxGlobal::connect(pActionsPool->action(UIActionIndex_Simple_Update), SIGNAL(triggered()), 226 228 &vboxGlobal(), SLOT(showUpdateDialog())); … … 228 230 &vboxProblem(), SLOT(showHelpAboutDialog())); 229 231 232 #ifdef VBOX_WITH_REGISTRATION 230 233 VBoxGlobal::connect(&vboxGlobal(), SIGNAL (canShowRegDlg (bool)), 231 234 pActionsPool->action(UIActionIndex_Simple_Register), SLOT(setEnabled(bool))); 235 #endif /* VBOX_WITH_REGISTRATION */ 232 236 VBoxGlobal::connect(&vboxGlobal(), SIGNAL (canShowUpdDlg (bool)), 233 237 pActionsPool->action(UIActionIndex_Simple_Update), SLOT(setEnabled(bool)));
Note:
See TracChangeset
for help on using the changeset viewer.