Merge lp:~hmollercl/software-properties/software-properties into lp:software-properties
- software-properties
- Merge into main
Proposed by
Hans P. Möller
Status: | Merged |
---|---|
Merged at revision: | 1078 |
Proposed branch: | lp:~hmollercl/software-properties/software-properties |
Merge into: | lp:software-properties |
Diff against target: |
321 lines (+62/-36) (has conflicts) 7 files modified
data/designer/main.ui (+2/-2) data/software-properties-drivers-qt.desktop.in (+13/-0) data/software-properties-qt.desktop.in (+2/-2) debian/changelog (+14/-0) debian/control (+1/-1) softwareproperties/SoftwareProperties.py (+1/-2) softwareproperties/qt/SoftwarePropertiesQt.py (+29/-29) Text conflict in debian/changelog |
To merge this branch: | bzr merge lp:~hmollercl/software-properties/software-properties |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
ԜаӀtеr Ⅼарсһуnѕkі | Pending | ||
Simon Quigley | Pending | ||
Review via email: mp+363293@code.launchpad.net |
Commit message
Change debconf frontend of software-
Added debconf-kde-helper as requiered dependency for software-
Description of the change
Gnome debconf frontend doesn't work easily on Qt DE. On the other hand kde debconf frontend works perfect when debconf-kde-helper is in place
To post a comment you must log in.
Revision history for this message
Simon Quigley (tsimonq2) wrote : | # |
- 1069. By Hans P. Möller
-
added changes to changelog
- 1070. By Hans P. Möller
-
added/changed desktop entries for LXQt
- 1071. By Hans P. Möller
-
Solve bug 1801439
- 1072. By Hans P. Möller
-
fixing typos
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'data/designer/main.ui' | |||
2 | --- data/designer/main.ui 2018-12-29 02:11:03 +0000 | |||
3 | +++ data/designer/main.ui 2019-02-24 16:52:14 +0000 | |||
4 | @@ -558,7 +558,7 @@ | |||
5 | 558 | <x>0</x> | 558 | <x>0</x> |
6 | 559 | <y>0</y> | 559 | <y>0</y> |
7 | 560 | <width>670</width> | 560 | <width>670</width> |
9 | 561 | <height>244</height> | 561 | <height>255</height> |
10 | 562 | </rect> | 562 | </rect> |
11 | 563 | </property> | 563 | </property> |
12 | 564 | <layout class="QVBoxLayout" name="verticalLayout_3"> | 564 | <layout class="QVBoxLayout" name="verticalLayout_3"> |
13 | @@ -611,7 +611,7 @@ | |||
14 | 611 | <item> | 611 | <item> |
15 | 612 | <widget class="QLabel" name="label_driver_action"> | 612 | <widget class="QLabel" name="label_driver_action"> |
16 | 613 | <property name="text"> | 613 | <property name="text"> |
18 | 614 | <string>No propietary drivers are in use.</string> | 614 | <string>No proprietary drivers are in use.</string> |
19 | 615 | </property> | 615 | </property> |
20 | 616 | </widget> | 616 | </widget> |
21 | 617 | </item> | 617 | </item> |
22 | 618 | 618 | ||
23 | === added file 'data/software-properties-drivers-qt.desktop.in' | |||
24 | --- data/software-properties-drivers-qt.desktop.in 1970-01-01 00:00:00 +0000 | |||
25 | +++ data/software-properties-drivers-qt.desktop.in 2019-02-24 16:52:14 +0000 | |||
26 | @@ -0,0 +1,13 @@ | |||
27 | 1 | [Desktop Entry] | ||
28 | 2 | Keywords=Drivers; | ||
29 | 3 | Exec=lxqt-sudo /usr/bin/software-properties-qt --open-tab=4 | ||
30 | 4 | Icon=jockey | ||
31 | 5 | Terminal=false | ||
32 | 6 | Type=Application | ||
33 | 7 | OnlyShowIn=LXQt; | ||
34 | 8 | Categories=Settings;HardwareSettings;System; | ||
35 | 9 | X-AppStream-Ignore=true | ||
36 | 10 | Name=Additional Drivers | ||
37 | 11 | Name[es]=Controladores adicionales | ||
38 | 12 | Comment=Configure third-party and proprietary drivers | ||
39 | 13 | Comment[es]=Configure controladores privativos y de terceros | ||
40 | 0 | 14 | ||
41 | === modified file 'data/software-properties-qt.desktop.in' | |||
42 | --- data/software-properties-qt.desktop.in 2018-07-14 10:11:32 +0000 | |||
43 | +++ data/software-properties-qt.desktop.in 2019-02-24 16:52:14 +0000 | |||
44 | @@ -2,9 +2,9 @@ | |||
45 | 2 | _Name=Software Sources | 2 | _Name=Software Sources |
46 | 3 | _GenericName=Software Sources | 3 | _GenericName=Software Sources |
47 | 4 | _Comment=Configure the sources for installable software and updates | 4 | _Comment=Configure the sources for installable software and updates |
49 | 5 | Exec=software-properties-qt | 5 | Exec=lxqt-sudo software-properties-qt |
50 | 6 | Icon=applications-other | 6 | Icon=applications-other |
52 | 7 | NoDisplay=true | 7 | OnlyShowIn=LXQt; |
53 | 8 | Terminal=false | 8 | Terminal=false |
54 | 9 | X-MultipleArgs=false | 9 | X-MultipleArgs=false |
55 | 10 | Type=Application | 10 | Type=Application |
56 | 11 | 11 | ||
57 | === modified file 'debian/changelog' | |||
58 | --- debian/changelog 2019-02-19 09:39:44 +0000 | |||
59 | +++ debian/changelog 2019-02-24 16:52:14 +0000 | |||
60 | @@ -1,3 +1,4 @@ | |||
61 | 1 | <<<<<<< TREE | ||
62 | 1 | software-properties (0.97.6) disco; urgency=medium | 2 | software-properties (0.97.6) disco; urgency=medium |
63 | 2 | 3 | ||
64 | 3 | * debian/control: | 4 | * debian/control: |
65 | @@ -31,6 +32,19 @@ | |||
66 | 31 | 32 | ||
67 | 32 | -- Andrea Azzarone <andrea.azzarone@canonical.com> Tue, 29 Jan 2019 18:29:18 +0000 | 33 | -- Andrea Azzarone <andrea.azzarone@canonical.com> Tue, 29 Jan 2019 18:29:18 +0000 |
68 | 33 | 34 | ||
69 | 35 | ======= | ||
70 | 36 | software-properties (0.97.3) disco; urgency=medium | ||
71 | 37 | |||
72 | 38 | [ Hans P. Möller ] | ||
73 | 39 | * Change debconf frontend to kde for software-properties-qt. | ||
74 | 40 | * Change Qt Desktop Entry to be shown in LXQt. | ||
75 | 41 | * Add Drivers Qt Desktop Entry to be shown in LXQt. | ||
76 | 42 | * Solve Bug 1801439 | ||
77 | 43 | * Fixed typos in Qt Additional Driver tab. | ||
78 | 44 | |||
79 | 45 | -- Hans P. Moller <hmoller@gmail.com> Thu, 21 Feb 2019 22:49:39 -0300 | ||
80 | 46 | |||
81 | 47 | >>>>>>> MERGE-SOURCE | ||
82 | 34 | software-properties (0.97.2) disco; urgency=medium | 48 | software-properties (0.97.2) disco; urgency=medium |
83 | 35 | 49 | ||
84 | 36 | * Install python3-aptdaemon with software-properties-qt. | 50 | * Install python3-aptdaemon with software-properties-qt. |
85 | 37 | 51 | ||
86 | === modified file 'debian/control' | |||
87 | --- debian/control 2019-02-19 09:39:32 +0000 | |||
88 | +++ debian/control 2019-02-24 16:52:14 +0000 | |||
89 | @@ -83,7 +83,7 @@ | |||
90 | 83 | Architecture: all | 83 | Architecture: all |
91 | 84 | Depends: ${python3:Depends}, ${misc:Depends}, python3, python3-pyqt5, | 84 | Depends: ${python3:Depends}, ${misc:Depends}, python3, python3-pyqt5, |
92 | 85 | python3-software-properties (= ${binary:Version}), python3-aptdaemon, | 85 | python3-software-properties (= ${binary:Version}), python3-aptdaemon, |
94 | 86 | qapt-batch, software-properties-common | 86 | qapt-batch, software-properties-common, debconf-kde-helper |
95 | 87 | Conflicts: software-properties-kde (<< 0.96.25) | 87 | Conflicts: software-properties-kde (<< 0.96.25) |
96 | 88 | Replaces: software-properties-kde (<< 0.96.25) | 88 | Replaces: software-properties-kde (<< 0.96.25) |
97 | 89 | Description: manage the repositories that you install software from (Qt) | 89 | Description: manage the repositories that you install software from (Qt) |
98 | 90 | 90 | ||
99 | === modified file 'softwareproperties/SoftwareProperties.py' | |||
100 | --- softwareproperties/SoftwareProperties.py 2019-01-29 18:24:52 +0000 | |||
101 | +++ softwareproperties/SoftwareProperties.py 2019-02-24 16:52:14 +0000 | |||
102 | @@ -694,8 +694,7 @@ | |||
103 | 694 | keyp = "%s/%s.key" % (self.CHANNEL_PATH, channel) | 694 | keyp = "%s/%s.key" % (self.CHANNEL_PATH, channel) |
104 | 695 | self.add_key(keyp) | 695 | self.add_key(keyp) |
105 | 696 | 696 | ||
108 | 697 | cdata = (shortcut.add_key, {'keyserver': (self.options and | 697 | cdata = (shortcut.add_key, {'keyserver': (self.options)}) |
107 | 698 | self.options.keyserver)}) | ||
109 | 699 | def addkey_func(): | 698 | def addkey_func(): |
110 | 700 | func, kwargs = cdata | 699 | func, kwargs = cdata |
111 | 701 | msg = "Added key." | 700 | msg = "Added key." |
112 | 702 | 701 | ||
113 | === modified file 'softwareproperties/qt/SoftwarePropertiesQt.py' | |||
114 | --- softwareproperties/qt/SoftwarePropertiesQt.py 2019-02-09 23:11:11 +0000 | |||
115 | +++ softwareproperties/qt/SoftwarePropertiesQt.py 2019-02-24 16:52:14 +0000 | |||
116 | @@ -125,7 +125,7 @@ | |||
117 | 125 | self.show_cdrom_sources() | 125 | self.show_cdrom_sources() |
118 | 126 | # Setup and show the Additonal Drivers tab | 126 | # Setup and show the Additonal Drivers tab |
119 | 127 | self.init_drivers() | 127 | self.init_drivers() |
121 | 128 | 128 | ||
122 | 129 | # Connect to switch-page before setting initial tab. Otherwise the | 129 | # Connect to switch-page before setting initial tab. Otherwise the |
123 | 130 | # first switch goes unnoticed. | 130 | # first switch goes unnoticed. |
124 | 131 | self.userinterface.tabWidget.currentChanged.connect(self.tab_switched) | 131 | self.userinterface.tabWidget.currentChanged.connect(self.tab_switched) |
125 | @@ -145,7 +145,7 @@ | |||
126 | 145 | self.userinterface.treeview_sources.itemClicked.connect(self.on_treeview_sources_cursor_changed) | 145 | self.userinterface.treeview_sources.itemClicked.connect(self.on_treeview_sources_cursor_changed) |
127 | 146 | self.userinterface.treeview_cdroms.itemChanged.connect(self.on_cdrom_source_toggled) | 146 | self.userinterface.treeview_cdroms.itemChanged.connect(self.on_cdrom_source_toggled) |
128 | 147 | self.userinterface.treeview2.itemClicked.connect(self.on_treeview_keys_cursor_changed) | 147 | self.userinterface.treeview2.itemClicked.connect(self.on_treeview_keys_cursor_changed) |
130 | 148 | 148 | ||
131 | 149 | self.button_close = self.userinterface.buttonBox.button(QDialogButtonBox.Close) | 149 | self.button_close = self.userinterface.buttonBox.button(QDialogButtonBox.Close) |
132 | 150 | self.button_close.setIcon(QIcon.fromTheme("dialog-close")) | 150 | self.button_close.setIcon(QIcon.fromTheme("dialog-close")) |
133 | 151 | self.button_revert = self.userinterface.buttonBox.button(QDialogButtonBox.Reset) | 151 | self.button_revert = self.userinterface.buttonBox.button(QDialogButtonBox.Reset) |
134 | @@ -154,27 +154,27 @@ | |||
135 | 154 | 154 | ||
136 | 155 | self.init_distro() | 155 | self.init_distro() |
137 | 156 | self.show_distro() | 156 | self.show_distro() |
139 | 157 | 157 | ||
140 | 158 | self.apt_client = client.AptClient() | 158 | self.apt_client = client.AptClient() |
142 | 159 | 159 | ||
143 | 160 | if options and options.open_tab: | 160 | if options and options.open_tab: |
144 | 161 | self.userinterface.tabWidget.setCurrentIndex(int(options.open_tab)) | 161 | self.userinterface.tabWidget.setCurrentIndex(int(options.open_tab)) |
146 | 162 | 162 | ||
147 | 163 | def tab_switched(self): | 163 | def tab_switched(self): |
148 | 164 | # On the additional drivers page, don't show the backend revert button. | 164 | # On the additional drivers page, don't show the backend revert button. |
149 | 165 | if self.userinterface.tabWidget.currentIndex() == 4: #vbox_drivers is 4 | 165 | if self.userinterface.tabWidget.currentIndex() == 4: #vbox_drivers is 4 |
150 | 166 | self.button_revert.setVisible(False) | 166 | self.button_revert.setVisible(False) |
151 | 167 | if not self.detect_called: | 167 | if not self.detect_called: |
153 | 168 | #WARNING detect_drivers() runs in separate thread | 168 | #WARNING detect_drivers() runs in separate thread |
154 | 169 | #in DetectDriverThread class so GUI won't freeze | 169 | #in DetectDriverThread class so GUI won't freeze |
155 | 170 | #after finish show_drivers() has to run in main thread because it updates the GUI | 170 | #after finish show_drivers() has to run in main thread because it updates the GUI |
156 | 171 | self.detect_driver_thread = DetectDriverThread(self) | 171 | self.detect_driver_thread = DetectDriverThread(self) |
157 | 172 | self.detect_driver_thread.finished.connect(self.show_drivers) | 172 | self.detect_driver_thread.finished.connect(self.show_drivers) |
158 | 173 | self.detect_driver_thread.start() | 173 | self.detect_driver_thread.start() |
160 | 174 | 174 | ||
161 | 175 | else: | 175 | else: |
162 | 176 | self.button_revert.setVisible(True) | 176 | self.button_revert.setVisible(True) |
164 | 177 | 177 | ||
165 | 178 | def init_popcon(self): | 178 | def init_popcon(self): |
166 | 179 | """ If popcon is enabled show the statistics tab and an explanation | 179 | """ If popcon is enabled show the statistics tab and an explanation |
167 | 180 | corresponding to the used distro """ | 180 | corresponding to the used distro """ |
168 | @@ -186,7 +186,7 @@ | |||
169 | 186 | self.userinterface.checkbutton_popcon.setChecked(is_helpful) | 186 | self.userinterface.checkbutton_popcon.setChecked(is_helpful) |
170 | 187 | else: | 187 | else: |
171 | 188 | self.userinterface.tabWidget.removeTab(5) | 188 | self.userinterface.tabWidget.removeTab(5) |
173 | 189 | 189 | ||
174 | 190 | def init_server_chooser(self): | 190 | def init_server_chooser(self): |
175 | 191 | """ Set up the widgets that allow to choose an alternate download site """ | 191 | """ Set up the widgets that allow to choose an alternate download site """ |
176 | 192 | # nothing to do here, set up signal in show_distro() | 192 | # nothing to do here, set up signal in show_distro() |
177 | @@ -855,7 +855,7 @@ | |||
178 | 855 | self.transaction.connect('cancellable-changed', self.on_driver_changes_cancellable_changed) | 855 | self.transaction.connect('cancellable-changed', self.on_driver_changes_cancellable_changed) |
179 | 856 | self.transaction.connect('finished', self.on_driver_changes_finish) | 856 | self.transaction.connect('finished', self.on_driver_changes_finish) |
180 | 857 | self.transaction.connect('error', self.on_driver_changes_error) | 857 | self.transaction.connect('error', self.on_driver_changes_error) |
182 | 858 | self.transaction.set_debconf_frontend("gnome") | 858 | self.transaction.set_debconf_frontend("kde") |
183 | 859 | self.transaction.run() | 859 | self.transaction.run() |
184 | 860 | self.button_driver_revert.setEnabled(False) | 860 | self.button_driver_revert.setEnabled(False) |
185 | 861 | self.button_driver_apply.setEnabled(False) | 861 | self.button_driver_apply.setEnabled(False) |
186 | @@ -902,26 +902,26 @@ | |||
187 | 902 | def clear_changes(self): | 902 | def clear_changes(self): |
188 | 903 | self.orig_selection = {} | 903 | self.orig_selection = {} |
189 | 904 | self.driver_changes = [] | 904 | self.driver_changes = [] |
191 | 905 | 905 | ||
192 | 906 | def init_drivers(self): | 906 | def init_drivers(self): |
193 | 907 | """Additional Drivers tab""" | 907 | """Additional Drivers tab""" |
194 | 908 | self.button_driver_revert = QPushButton("Revert") | 908 | self.button_driver_revert = QPushButton("Revert") |
195 | 909 | self.button_driver_apply = QPushButton("Apply Changes") | 909 | self.button_driver_apply = QPushButton("Apply Changes") |
196 | 910 | self.button_driver_cancel = QPushButton("Cancel") | 910 | self.button_driver_cancel = QPushButton("Cancel") |
197 | 911 | self.button_driver_restart = QPushButton("Restart...") | 911 | self.button_driver_restart = QPushButton("Restart...") |
199 | 912 | 912 | ||
200 | 913 | self.button_driver_revert.clicked.connect(self.on_driver_changes_revert) | 913 | self.button_driver_revert.clicked.connect(self.on_driver_changes_revert) |
201 | 914 | self.button_driver_apply.clicked.connect(self.on_driver_changes_apply) | 914 | self.button_driver_apply.clicked.connect(self.on_driver_changes_apply) |
202 | 915 | self.button_driver_cancel.clicked.connect(self.on_driver_changes_cancel) | 915 | self.button_driver_cancel.clicked.connect(self.on_driver_changes_cancel) |
203 | 916 | self.button_driver_restart.clicked.connect(self.on_driver_restart_clicked) | 916 | self.button_driver_restart.clicked.connect(self.on_driver_restart_clicked) |
205 | 917 | 917 | ||
206 | 918 | self.button_driver_revert.setEnabled(False) | 918 | self.button_driver_revert.setEnabled(False) |
207 | 919 | self.button_driver_revert.setVisible(True) | 919 | self.button_driver_revert.setVisible(True) |
208 | 920 | self.button_driver_apply.setEnabled(False) | 920 | self.button_driver_apply.setEnabled(False) |
209 | 921 | self.button_driver_apply.setVisible(True) | 921 | self.button_driver_apply.setVisible(True) |
210 | 922 | self.button_driver_cancel.setVisible(False) | 922 | self.button_driver_cancel.setVisible(False) |
211 | 923 | self.button_driver_restart.setVisible(False) | 923 | self.button_driver_restart.setVisible(False) |
213 | 924 | 924 | ||
214 | 925 | #self.userinterface.box_driver_action.addWidget(self.userinterface.label_driver_action) | 925 | #self.userinterface.box_driver_action.addWidget(self.userinterface.label_driver_action) |
215 | 926 | self.userinterface.box_driver_action.addStretch() | 926 | self.userinterface.box_driver_action.addStretch() |
216 | 927 | self.userinterface.box_driver_action.addWidget(self.button_driver_apply) | 927 | self.userinterface.box_driver_action.addWidget(self.button_driver_apply) |
217 | @@ -934,7 +934,7 @@ | |||
218 | 934 | self.userinterface.box_driver_detail.addWidget(self.label_driver_detail) | 934 | self.userinterface.box_driver_detail.addWidget(self.label_driver_detail) |
219 | 935 | 935 | ||
220 | 936 | self.progress_bar = QProgressBar() | 936 | self.progress_bar = QProgressBar() |
222 | 937 | 937 | ||
223 | 938 | self.userinterface.box_driver_action.addWidget(self.progress_bar) | 938 | self.userinterface.box_driver_action.addWidget(self.progress_bar) |
224 | 939 | self.progress_bar.setVisible(False) | 939 | self.progress_bar.setVisible(False) |
225 | 940 | 940 | ||
226 | @@ -950,7 +950,7 @@ | |||
227 | 950 | self.no_drv = [] | 950 | self.no_drv = [] |
228 | 951 | self.nonfree_drivers = 0 | 951 | self.nonfree_drivers = 0 |
229 | 952 | self.ui_building = False | 952 | self.ui_building = False |
231 | 953 | 953 | ||
232 | 954 | def detect_drivers(self): | 954 | def detect_drivers(self): |
233 | 955 | # WARNING: This is run in a separate thread. | 955 | # WARNING: This is run in a separate thread. |
234 | 956 | self.detect_called = True | 956 | self.detect_called = True |
235 | @@ -969,7 +969,7 @@ | |||
236 | 969 | button = self.userinterface.sender() | 969 | button = self.userinterface.sender() |
237 | 970 | #print(modalias) | 970 | #print(modalias) |
238 | 971 | #print(pkg_name) | 971 | #print(pkg_name) |
240 | 972 | 972 | ||
241 | 973 | if self.ui_building: | 973 | if self.ui_building: |
242 | 974 | return | 974 | return |
243 | 975 | 975 | ||
244 | @@ -1017,31 +1017,31 @@ | |||
245 | 1017 | the drivers dict is using this form: | 1017 | the drivers dict is using this form: |
246 | 1018 | {"recommended/alternative": {pkg_name: { | 1018 | {"recommended/alternative": {pkg_name: { |
247 | 1019 | 'selected': True/False | 1019 | 'selected': True/False |
249 | 1020 | 'description': | 1020 | 'description': |
250 | 1021 | 'description' | 1021 | 'description' |
251 | 1022 | 'builtin': True/False | 1022 | 'builtin': True/False |
252 | 1023 | } | 1023 | } |
253 | 1024 | }} | 1024 | }} |
255 | 1025 | "manually_installed": {"manual": {'selected': True, 'description': | 1025 | "manually_installed": {"manual": {'selected': True, 'description': |
256 | 1026 | description_string}} | 1026 | description_string}} |
258 | 1027 | "no_driver": {"no_driver": {'selected': True/False, 'description': | 1027 | "no_driver": {"no_driver": {'selected': True/False, 'description': |
259 | 1028 | description_string}} | 1028 | description_string}} |
260 | 1029 | 1029 | ||
262 | 1030 | Please note that either manually_installed and no_driver are set to | 1030 | Please note that either manually_installed and no_driver are set to |
263 | 1031 | None if not applicable | 1031 | None if not applicable |
264 | 1032 | (no_driver isn't present if there are builtins) | 1032 | (no_driver isn't present if there are builtins) |
265 | 1033 | ''' | 1033 | ''' |
266 | 1034 | 1034 | ||
267 | 1035 | possible_overall_status = { | 1035 | possible_overall_status = { |
269 | 1036 | 'recommended': (_("This device is using the recommended driver."), | 1036 | 'recommended': (_("This device is using the recommended driver."), |
270 | 1037 | "recommended-driver"), | 1037 | "recommended-driver"), |
272 | 1038 | 'alternative': (_("This device is using an alternative driver."), | 1038 | 'alternative': (_("This device is using an alternative driver."), |
273 | 1039 | "other-driver"), | 1039 | "other-driver"), |
274 | 1040 | 'manually_installed': (_("This device is using a manually-installed driver."), "other-driver"), | 1040 | 'manually_installed': (_("This device is using a manually-installed driver."), "other-driver"), |
275 | 1041 | 'no_driver': (_("This device is not working."), "disable-device") | 1041 | 'no_driver': (_("This device is not working."), "disable-device") |
276 | 1042 | } | 1042 | } |
277 | 1043 | 1043 | ||
279 | 1044 | returned_drivers = {'recommended': {}, 'alternative': {}, | 1044 | returned_drivers = {'recommended': {}, 'alternative': {}, |
280 | 1045 | 'manually_installed': {}, 'no_driver': {}} | 1045 | 'manually_installed': {}, 'no_driver': {}} |
281 | 1046 | have_builtin = False | 1046 | have_builtin = False |
282 | 1047 | one_selected = False | 1047 | one_selected = False |
283 | @@ -1091,7 +1091,7 @@ | |||
284 | 1091 | base_string = _("{base_description} ({licence}, tested)") | 1091 | base_string = _("{base_description} ({licence}, tested)") |
285 | 1092 | else: | 1092 | else: |
286 | 1093 | base_string = _("{base_description} ({licence})") | 1093 | base_string = _("{base_description} ({licence})") |
288 | 1094 | description = base_string.format(base_description=description, | 1094 | description = base_string.format(base_description=description, |
289 | 1095 | licence=licence) | 1095 | licence=licence) |
290 | 1096 | 1096 | ||
291 | 1097 | selected = False | 1097 | selected = False |
292 | @@ -1132,9 +1132,9 @@ | |||
293 | 1132 | return | 1132 | return |
294 | 1133 | else: | 1133 | else: |
295 | 1134 | self.label_driver_detail.hide() | 1134 | self.label_driver_detail.hide() |
297 | 1135 | 1135 | ||
298 | 1136 | self.option_group = {} | 1136 | self.option_group = {} |
300 | 1137 | self.radio_button = {} | 1137 | self.radio_button = {} |
301 | 1138 | self.ui_building = True | 1138 | self.ui_building = True |
302 | 1139 | self.dynamic_device_status = {} | 1139 | self.dynamic_device_status = {} |
303 | 1140 | for device in sorted(self.devices.keys()): | 1140 | for device in sorted(self.devices.keys()): |
304 | @@ -1170,7 +1170,7 @@ | |||
305 | 1170 | else: | 1170 | else: |
306 | 1171 | self.option_group[device] = QButtonGroup() | 1171 | self.option_group[device] = QButtonGroup() |
307 | 1172 | self.option_group[device].addButton(self.radio_button) | 1172 | self.option_group[device].addButton(self.radio_button) |
309 | 1173 | 1173 | ||
310 | 1174 | device_detail.addWidget(self.radio_button) | 1174 | device_detail.addWidget(self.radio_button) |
311 | 1175 | self.radio_button.setChecked(drivers[section][driver]['selected']) | 1175 | self.radio_button.setChecked(drivers[section][driver]['selected']) |
312 | 1176 | 1176 | ||
313 | @@ -1216,7 +1216,7 @@ | |||
314 | 1216 | self.nonfree_drivers = self.nonfree_drivers + 1 | 1216 | self.nonfree_drivers = self.nonfree_drivers + 1 |
315 | 1217 | 1217 | ||
316 | 1218 | if self.nonfree_drivers > 0: | 1218 | if self.nonfree_drivers > 0: |
318 | 1219 | text = "%s proprietary driver in use." % ( self.nonfree_drivers) | 1219 | text = "%s proprietary driver(s) in use." % ( self.nonfree_drivers) |
319 | 1220 | self.userinterface.label_driver_action.setText(text) | 1220 | self.userinterface.label_driver_action.setText(text) |
320 | 1221 | else: | 1221 | else: |
321 | 1222 | self.userinterface.label_driver_action.setText(_("No proprietary drivers are in use.")) | 1222 | self.userinterface.label_driver_action.setText(_("No proprietary drivers are in use.")) |
Could you please add a changelog entry?