Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
virtualbox-ose
virtualbox-ose-disable-updates.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File virtualbox-ose-disable-updates.diff of Package virtualbox-ose
--- src/VBox/Frontends/VirtualBox4/src/VBoxGLSettingsUpdate.cpp +++ src/VBox/Frontends/VirtualBox4/src/VBoxGLSettingsUpdate.cpp @@ -46,7 +46,7 @@ VBoxUpdateData data (vboxGlobal().virtualBox(). GetExtraData (VBoxDefs::GUI_UpdateDate)); - mCbCheck->setChecked (!data.isNeverCheck()); + mCbCheck->setChecked (false); if (mCbCheck->isChecked()) mCbOncePer->setCurrentIndex (data.index()); mTxDate->setText (data.date()); --- src/VBox/Frontends/VirtualBox4/src/VBoxGlobal.cpp +++ src/VBox/Frontends/VirtualBox4/src/VBoxGlobal.cpp @@ -4263,6 +4263,9 @@ */ void VBoxGlobal::showUpdateDialog (bool aForce) { + // Disable update dialog for openSUSE + return; + bool isNecessary = VBoxUpdateDlg::isNecessary(); if (!aForce && !isNecessary) --- src/VBox/Frontends/VirtualBox4/src/VBoxProblemReporter.cpp +++ src/VBox/Frontends/VirtualBox4/src/VBoxProblemReporter.cpp @@ -252,8 +252,7 @@ #endif aMenu->addAction (updateAction); - updateAction->setEnabled (vboxGlobal().virtualBox(). - GetExtraData (VBoxDefs::GUI_UpdateDlgWinID).isEmpty()); + updateAction->setDisabled( true ); aMenu->addSeparator(); aMenu->addAction (aboutAction); --- src/VBox/Frontends/VirtualBox4/ui/VBoxGLSettingsUpdate.ui +++ src/VBox/Frontends/VirtualBox4/ui/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