-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path16-no-update.patch
More file actions
91 lines (83 loc) · 3.71 KB
/
16-no-update.patch
File metadata and controls
91 lines (83 loc) · 3.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
Description: Disable "Check for Updates" action.
Bug-Ubuntu: https://bugs.launchpad.net/bugs/272212
Author: Daniel Hahler <ubuntu@thequod.de>, Felix Geyer <fgeyer@debian.org>, Gianfranco Costamagna <locutusofborg@debian.org>
Index: virtualbox/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
===================================================================
--- virtualbox.orig/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
+++ virtualbox/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
@@ -2421,7 +2421,7 @@
bool UIExtraDataManager::applicationUpdateEnabled()
{
/* 'True' unless 'restriction' feature allowed: */
- return !isFeatureAllowed(GUI_PreventApplicationUpdate);
+ return false;
}
QString UIExtraDataManager::applicationUpdateData()
Index: virtualbox/src/VBox/Frontends/VirtualBox/src/settings/UIAdvancedSettingsDialogSpecific.cpp
===================================================================
--- virtualbox.orig/src/VBox/Frontends/VirtualBox/src/settings/UIAdvancedSettingsDialogSpecific.cpp
+++ virtualbox/src/VBox/Frontends/VirtualBox/src/settings/UIAdvancedSettingsDialogSpecific.cpp
@@ -47,10 +47,10 @@
#ifdef VBOX_WS_WIN
# include "UIGlobalSettingsInterface.h"
#endif
-#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
-# include "UIGlobalSettingsProxy.h"
-# include "UIGlobalSettingsUpdate.h"
-#endif
+//#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
+//# include "UIGlobalSettingsProxy.h"
+//# include "UIGlobalSettingsUpdate.h"
+//#endif
/* GUI includes: Machine Settings: */
#include "UIMachineSettingsAudio.h"
@@ -99,7 +99,7 @@
#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
/* Update page: */
- m_pSelector->setItemText(GlobalSettingsPageType_Update, tr("Update"));
+ //m_pSelector->setItemText(GlobalSettingsPageType_Update, tr("Update"));
#endif
/* Language page: */
@@ -110,7 +110,7 @@
#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
/* Proxy page: */
- m_pSelector->setItemText(GlobalSettingsPageType_Proxy, tr("Proxy"));
+ //m_pSelector->setItemText(GlobalSettingsPageType_Proxy, tr("Proxy"));
#endif
#ifdef VBOX_WS_WIN
@@ -226,14 +226,14 @@
}
#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
/* Update page: */
- case GlobalSettingsPageType_Update:
+ /* case GlobalSettingsPageType_Update:
{
pSettingsPage = new UIGlobalSettingsUpdate;
addItem(":/refresh_32px.png", ":/refresh_24px.png", ":/refresh_16px.png",
iPageIndex, "#update", pSettingsPage);
- addPageHelpKeyword(iPageIndex, "tk_preferences" /* help keyword */);
+ addPageHelpKeyword(iPageIndex, "tk_preferences" * help keyword *);
break;
- }
+ } */
#endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
/* Language page: */
case GlobalSettingsPageType_Language:
@@ -255,14 +255,14 @@
}
#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
/* Proxy page: */
- case GlobalSettingsPageType_Proxy:
+ /* case GlobalSettingsPageType_Proxy:
{
pSettingsPage = new UIGlobalSettingsProxy;
addItem(":/proxy_32px.png", ":/proxy_24px.png", ":/proxy_16px.png",
iPageIndex, "#proxy", pSettingsPage);
- addPageHelpKeyword(iPageIndex, "tk_preferences" /* help keyword */);
+ addPageHelpKeyword(iPageIndex, "tk_preferences" * help keyword *);
break;
- }
+ } */
#endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
#ifdef VBOX_WS_WIN
/* Interface page: */