1
0
forked from pool/virtualbox

reworked vbox-disable-updates.diff

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=21
This commit is contained in:
Michal Seben 2011-01-17 12:39:27 +00:00 committed by Git OBS Bridge
parent 438401675b
commit f132604a1c

View File

@ -25,21 +25,46 @@ Index: VirtualBox-4.0.0_OSE/src/VBox/Frontends/VirtualBox/src/VBoxHelpActions.cp
#ifndef Q_WS_MAC
aMenu->addSeparator();
Index: VirtualBox-4.0.0_OSE/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.ui
Index: VirtualBox-4.0.0_OSE/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp
===================================================================
--- VirtualBox-4.0.0_OSE.orig/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.ui
+++ VirtualBox-4.0.0_OSE/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.ui
@@ -50,8 +50,11 @@
<property name="text">
<string>&amp;Check for updates</string>
</property>
- <property name="checked">
- <bool>true</bool>
+ <property name="enabled" >
+ <bool>false</bool>
+ </property>
+ <property name="checked">
+ <bool>false</bool>
</property>
</widget>
</item>
--- VirtualBox-4.0.0_OSE.orig/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp
+++ VirtualBox-4.0.0_OSE/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp
@@ -322,16 +322,6 @@ UIGLSettingsDlg::UIGLSettingsDlg(QWidget
i, "#input", pSettingsPage);
break;
}
- /* Update page: */
- case GLSettingsPage_Update:
- {
- UISettingsPage *pSettingsPage = new UIGlobalSettingsUpdate;
- pSettingsPage->setId(i);
- addItem(":/refresh_32px.png", ":/refresh_disabled_32px.png",
- ":/refresh_16px.png", ":/refresh_disabled_16px.png",
- i, "#update", pSettingsPage);
- break;
- }
/* Language page: */
case GLSettingsPage_Language:
{
@@ -442,9 +432,6 @@ void UIGLSettingsDlg::retranslateUi()
/* Input page: */
m_pSelector->setItemText(GLSettingsPage_Input, tr("Input"));
- /* Update page: */
- m_pSelector->setItemText(GLSettingsPage_Update, tr("Update"));
-
/* Language page: */
m_pSelector->setItemText(GLSettingsPage_Language, tr("Language"));
Index: VirtualBox-4.0.0_OSE/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.h
===================================================================
--- VirtualBox-4.0.0_OSE.orig/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.h
+++ VirtualBox-4.0.0_OSE/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.h
@@ -34,7 +34,6 @@ public:
{
GLSettingsPage_General = 0,
GLSettingsPage_Input,
- GLSettingsPage_Update,
GLSettingsPage_Language,
GLSettingsPage_USB,
GLSettingsPage_Network,