forked from pool/virtualbox
23e21a1790
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=1
67 lines
2.6 KiB
Diff
67 lines
2.6 KiB
Diff
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>
|