diff options
author | Valentin Popa <valentin.popa@intel.com> | 2013-11-04 12:53:12 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-08 17:25:38 +0000 |
commit | 67a7ac1ea7403bf6b64becc58945c724b276f20f (patch) | |
tree | 40e679fb70fa52422b6e6eeae4c8188fe62c24ef /bitbake/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py | |
parent | 34eb0044356a04cc816808a57804242ea58d59c2 (diff) | |
download | poky-67a7ac1ea7403bf6b64becc58945c724b276f20f.tar.gz |
bitbake: HOB: HIG compliant message dialogs
"More" HIG compliant dialogs for HOB.
(Bitbake rev: a1ccb5e70523be6af7f4bcaabd728af1ddaf6dc5)
Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py b/bitbake/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py index 5542471c7b..e0b3553c2f 100644 --- a/bitbake/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py +++ b/bitbake/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py | |||
@@ -183,8 +183,9 @@ class AdvancedSettingsDialog (CrumbsDialog, SettingsUIHelper): | |||
183 | self.set_save_button_state() | 183 | self.set_save_button_state() |
184 | if self.get_num_checked_image_types() == 0: | 184 | if self.get_num_checked_image_types() == 0: |
185 | # Show an error dialog | 185 | # Show an error dialog |
186 | lbl = "<b>Select an image type</b>\n\nYou need to select at least one image type." | 186 | lbl = "<b>Select an image type</b>" |
187 | dialog = CrumbsMessageDialog(self, lbl, gtk.STOCK_DIALOG_WARNING) | 187 | msg = "You need to select at least one image type." |
188 | dialog = CrumbsMessageDialog(self, lbl, gtk.MESSAGE_WARNING, msg) | ||
188 | button = dialog.add_button("OK", gtk.RESPONSE_OK) | 189 | button = dialog.add_button("OK", gtk.RESPONSE_OK) |
189 | HobButton.style_button(button) | 190 | HobButton.style_button(button) |
190 | response = dialog.run() | 191 | response = dialog.run() |