]> git.pld-linux.org Git - packages/VirtualBox.git/blob - 16-no-update.patch
Merge branch 'beta'
[packages/VirtualBox.git] / 16-no-update.patch
1 Description: Disable "Check for Updates" action.
2 Bug-Ubuntu: https://bugs.launchpad.net/bugs/272212
3 Author: Daniel Hahler <ubuntu@thequod.de>, Felix Geyer <debfx-pkg@fobos.de>
4
5 --- VirtualBox-4.2.0_RC1/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp.orig   2012-08-13 13:35:11.000000000 +0200
6 +++ VirtualBox-4.2.0_RC1/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp        2012-08-16 02:12:54.423685632 +0200
7 @@ -544,6 +544,11 @@
8  #endif /* !VBOX_WITH_NETFLT */
9              break;
10          }
11 +        case GLSettingsPage_Update:
12 +        {
13 +             return false;
14 +             break;
15 +         }
16          default:
17              break;
18      }
19 --- VirtualBox-4.2.0_RC1/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp.orig   2012-08-13 13:35:09.000000000 +0200
20 +++ VirtualBox-4.2.0_RC1/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp        2012-08-16 02:03:36.328578159 +0200
21 @@ -1291,11 +1291,7 @@
22      m_pRegisterAction = gActionPool->action(UIActionIndex_Simple_Register);
23      pMenu->addAction(m_pRegisterAction);
24  #endif /* VBOX_WITH_REGISTRATION */
25      m_pUpdateAction = gActionPool->action(UIActionIndex_Simple_CheckForUpdates);
26 -    pMenu->addAction(m_pUpdateAction);
27 -#ifndef Q_WS_MAC
28 -    pMenu->addSeparator();
29 -#endif /* !Q_WS_MAC */
30      m_pAboutAction = gActionPool->action(UIActionIndex_Simple_About);
31      pMenu->addAction(m_pAboutAction);
32  }
This page took 0.02959 seconds and 4 git commands to generate.