Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:boykooleg
virtualbox
vbox-disable-updates.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vbox-disable-updates.diff of Package virtualbox
Index: src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.cpp =================================================================== --- src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.cpp.orig +++ src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.cpp @@ -45,7 +45,8 @@ void VBoxGLSettingsUpdate::getFrom (cons { VBoxUpdateData data (vboxGlobal().virtualBox().GetExtraData (VBoxDefs::GUI_UpdateDate)); - mCbCheck->setChecked (!data.isNoNeedToCheck()); + mCbCheck->setChecked (false); + if (mCbCheck->isChecked()) { mCbOncePer->setCurrentIndex (data.periodIndex()); Index: src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp =================================================================== --- src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp.orig +++ src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp @@ -5115,6 +5115,9 @@ void VBoxGlobal::showRegistrationDialog */ void VBoxGlobal::showUpdateDialog (bool aForce) { + // Disable update dialog for openSUSE + return; + /* Silently check in one day after current time-stamp */ QTimer::singleShot (24 /* hours */ * 60 /* minutes */ * 60 /* seconds */ * 1000 /* milliseconds */, Index: src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp =================================================================== --- src/VBox/Frontends/VirtualBox/src/VBoxHelpActions.cpp.orig 2009-03-13 11:38:50.000000000 +0100 +++ src/VBox/Frontends/VirtualBox/src/VBoxHelpActions.cpp 2009-04-15 17:03:52.000000000 +0200 @@ -87,8 +87,8 @@ #endif aMenu->addAction (updateAction); - updateAction->setEnabled (vboxGlobal().virtualBox(). - GetExtraData (VBoxDefs::GUI_UpdateDlgWinID).isEmpty()); + updateAction->setDisabled( true ); + #ifndef Q_WS_MAC aMenu->addSeparator(); Index: src/VBox/Frontends/VirtualBox/src/settings/global/VBoxGLSettingsUpdate.ui =================================================================== --- src/VBox/Frontends/VirtualBox/src/settings/global/VBoxGLSettingsUpdate.ui.orig +++ src/VBox/Frontends/VirtualBox/src/settings/global/VBoxGLSettingsUpdate.ui @@ -18,6 +18,9 @@ </comment> <class>VBoxGLSettingsUpdate</class> <widget class="QWidget" name="VBoxGLSettingsUpdate" > + <property name="enabled" > + <bool>false</bool> + </property> <property name="geometry" > <rect> <x>0</x> @@ -48,7 +51,7 @@ <string>&Check for updates</string> </property> <property name="checked" > - <bool>true</bool> + <bool>false</bool> </property> </widget> </item>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor