diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py b/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py index 4a7cfad52c..ab5b614c8d 100644 --- a/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py +++ b/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py | |||
@@ -212,13 +212,12 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper): | |||
212 | def response_cb(self, dialog, response_id): | 212 | def response_cb(self, dialog, response_id): |
213 | if response_id == gtk.RESPONSE_YES: | 213 | if response_id == gtk.RESPONSE_YES: |
214 | if self.proxy_checkbox.get_active(): | 214 | if self.proxy_checkbox.get_active(): |
215 | # Check that all proxy entries have a corresponding port | 215 | # Check that all proxy entries have a corresponding port |
216 | for proxy, port in zip(self.all_proxy_addresses, self.all_proxy_ports): | 216 | for proxy, port in zip(self.all_proxy_addresses, self.all_proxy_ports): |
217 | if proxy.get_text() and not port.get_text(): | 217 | if proxy.get_text() and not port.get_text(): |
218 | lbl = "<b>Enter all port numbers</b>\n\n" | 218 | lbl = "<b>Enter all port numbers</b>" |
219 | msg = "Proxy servers require a port number. Please make sure " | 219 | msg = "Proxy servers require a port number. Please make sure you have entered a port number for each proxy server." |
220 | msg += "you have entered a port number for each proxy server." | 220 | dialog = CrumbsMessageDialog(self, lbl, gtk.MESSAGE_WARNING, msg) |
221 | dialog = CrumbsMessageDialog(self, lbl, gtk.STOCK_DIALOG_WARNING, msg) | ||
222 | button = dialog.add_button("Close", gtk.RESPONSE_OK) | 221 | button = dialog.add_button("Close", gtk.RESPONSE_OK) |
223 | HobButton.style_button(button) | 222 | HobButton.style_button(button) |
224 | response = dialog.run() | 223 | response = dialog.run() |