Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
virtualbox-ose
virtualbox-ose-disable-updates.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File virtualbox-ose-disable-updates.diff of Package virtualbox-ose
Index: src/VBox/Frontends/VirtualBox/src/VBoxGLSettingsUpdate.cpp =================================================================== --- src/VBox/Frontends/VirtualBox/src/VBoxGLSettingsUpdate.cpp.orig +++ src/VBox/Frontends/VirtualBox/src/VBoxGLSettingsUpdate.cpp @@ -46,7 +46,7 @@ void VBoxGLSettingsUpdate::getFrom (cons 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()); Index: src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp =================================================================== --- src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp.orig +++ src/VBox/Frontends/VirtualBox/src/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 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/ui/VBoxGLSettingsUpdate.ui =================================================================== --- src/VBox/Frontends/VirtualBox/ui/VBoxGLSettingsUpdate.ui.orig +++ src/VBox/Frontends/VirtualBox/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