]> git.pld-linux.org Git - packages/VirtualBox.git/blob - 16-no-update.patch
- rel 2 (libvpx 1.14)
[packages/VirtualBox.git] / 16-no-update.patch
1
2 Description: Disable "Check for Updates" action.
3 Bug-Ubuntu: https://bugs.launchpad.net/bugs/272212
4 Author: Daniel Hahler <ubuntu@thequod.de>, Felix Geyer <fgeyer@debian.org>, Gianfranco Costamagna <locutusofborg@debian.org>
5
6 Index: virtualbox/doc/manual/en_US/user_Introduction.xml
7 ===================================================================
8 --- virtualbox.orig/doc/manual/en_US/user_Introduction.xml
9 +++ virtualbox/doc/manual/en_US/user_Introduction.xml
10 @@ -6090,14 +6090,14 @@
11            <xref linkend="specialcharacters"/>.
12          </para>
13        </listitem>
14 -
15 +      <!--
16        <listitem>
17          <para>
18            <emphasis role="bold">Update.</emphasis> Enables you to
19            specify various settings for Automatic Updates.
20          </para>
21        </listitem>
22 -
23 +      -->
24        <listitem>
25          <para>
26            <emphasis role="bold">Language.</emphasis> Enables you to
27 Index: virtualbox/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
28 ===================================================================
29 --- virtualbox.orig/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
30 +++ virtualbox/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
31 @@ -2421,7 +2421,7 @@
32  bool UIExtraDataManager::applicationUpdateEnabled()
33  {
34      /* 'True' unless 'restriction' feature allowed: */
35 -    return !isFeatureAllowed(GUI_PreventApplicationUpdate);
36 +    return false;
37  }
38  
39  QString UIExtraDataManager::applicationUpdateData()
40 Index: virtualbox/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp
41 ===================================================================
42 --- virtualbox.orig/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp
43 +++ virtualbox/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp
44 @@ -47,10 +47,10 @@
45  #ifdef VBOX_WS_WIN
46  # include "UIGlobalSettingsInterface.h"
47  #endif
48 -#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
49 -# include "UIGlobalSettingsProxy.h"
50 -# include "UIGlobalSettingsUpdate.h"
51 -#endif
52 +//#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
53 +//# include "UIGlobalSettingsProxy.h"
54 +//# include "UIGlobalSettingsUpdate.h"
55 +//#endif
56  
57  /* GUI includes: Machine Settings: */
58  #include "UIMachineSettingsAudio.h"
59 @@ -99,7 +99,7 @@
60  
61  #ifdef VBOX_GUI_WITH_NETWORK_MANAGER
62      /* Update page: */
63 -    m_pSelector->setItemText(GlobalSettingsPageType_Update, tr("Update"));
64 +    //m_pSelector->setItemText(GlobalSettingsPageType_Update, tr("Update"));
65  #endif
66  
67      /* Language page: */
68 @@ -110,7 +110,7 @@
69  
70  #ifdef VBOX_GUI_WITH_NETWORK_MANAGER
71      /* Proxy page: */
72 -    m_pSelector->setItemText(GlobalSettingsPageType_Proxy, tr("Proxy"));
73 +    //m_pSelector->setItemText(GlobalSettingsPageType_Proxy, tr("Proxy"));
74  #endif
75  
76  #ifdef VBOX_WS_WIN
77 @@ -226,14 +226,14 @@
78                  }
79  #ifdef VBOX_GUI_WITH_NETWORK_MANAGER
80                  /* Update page: */
81 -                case GlobalSettingsPageType_Update:
82 +                /*case GlobalSettingsPageType_Update:
83                  {
84                      pSettingsPage = new UIGlobalSettingsUpdate;
85                      addItem(":/refresh_32px.png", ":/refresh_24px.png", ":/refresh_16px.png",
86                              iPageIndex, "#update", pSettingsPage);
87                      addPageHelpKeyword(iPageIndex, "preferences");
88                      break;
89 -                }
90 +                }*/
91  #endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
92                  /* Language page: */
93                  case GlobalSettingsPageType_Language:
94 @@ -255,14 +255,14 @@
95                  }
96  #ifdef VBOX_GUI_WITH_NETWORK_MANAGER
97                  /* Proxy page: */
98 -                case GlobalSettingsPageType_Proxy:
99 +                /*case GlobalSettingsPageType_Proxy:
100                  {
101                      pSettingsPage = new UIGlobalSettingsProxy;
102                      addItem(":/proxy_32px.png", ":/proxy_24px.png", ":/proxy_16px.png",
103                              iPageIndex, "#proxy", pSettingsPage);
104                      addPageHelpKeyword(iPageIndex, "preferences");
105                      break;
106 -                }
107 +                }*/
108  #endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
109  #ifdef VBOX_WS_WIN
110                  /* Interface page: */
This page took 0.044579 seconds and 4 git commands to generate.