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
|
From: Julian Andres Klode <jak@debian.org>
Date: Tue, 15 Sep 2015 16:02:03 +0200
Subject: Disable support for drivers and live patch
Disable support for drivers, as this is somewhat Ubuntu specific.
---
data/gtkbuilder/main.ui | 5 ++++-
softwareproperties/gtk/SoftwarePropertiesGtk.py | 11 +++++++++--
2 files changed, 13 insertions(+), 3 deletions(-)
--- a/data/gtkbuilder/main.ui
+++ b/data/gtkbuilder/main.ui
@@ -721,7 +721,7 @@
</child>
<child>
<object class="GtkAlignment" id="alignment15">
- <property name="visible">True</property>
+ <property name="visible">False</property>
<property name="can_focus">False</property>
<property name="left_padding">12</property>
<child>
@@ -950,6 +950,7 @@
<property name="tab_fill">False</property>
</packing>
</child>
+ <!--
<child>
<object class="GtkBox" id="vbox_drivers">
<property name="visible">True</property>
@@ -1069,6 +1070,7 @@
<property name="tab_fill">False</property>
</packing>
</child>
+ -->
<child>
<object class="GtkBox" id="dev_options">
<property name="visible">True</property>
@@ -1554,6 +1556,7 @@
<property name="tab_fill">False</property>
</packing>
</child>
+ -->
</object>
<packing>
<property name="expand">True</property>
--- a/softwareproperties/gtk/SoftwarePropertiesGtk.py
+++ b/softwareproperties/gtk/SoftwarePropertiesGtk.py
@@ -314,7 +314,7 @@
def on_main_notebook_page_switched(self, notebook, page, page_num):
# On the additional drivers page, don't show the backend revert button.
- if page == self.vbox_drivers or page == self.vbox_auth:
+ if False and (page == self.vbox_drivers or page == self.vbox_auth):
self.button_revert.set_visible(False)
self.maybe_detect_drivers()
else:
|