summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2012-02-29 22:15:15 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-01 15:51:34 +0000
commit1faa0c538a46a8ac189b068ddc445889dc5c628b (patch)
treedfd54fb0dcbda3054e03db9d394cc46ca28fea8e /bitbake
parent776e507b2faf091b45233e9ee98c16e0f6c3f693 (diff)
downloadpoky-1faa0c538a46a8ac189b068ddc445889dc5c628b.tar.gz
crumbs/hig: tweak UI and layout of LayerSelectionDialog
Several minor tweaks for appearance: * Try to rework the labels so that the English flows better * Fix spacing * Remove the separator - it's not needed (Bitbake rev: 53c5807c38e97d2e44a6f5c48449178b8b6e6261) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hig.py19
1 files changed, 5 insertions, 14 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py
index 6776b3dd32..9b96d8de4d 100644
--- a/bitbake/lib/bb/ui/crumbs/hig.py
+++ b/bitbake/lib/bb/ui/crumbs/hig.py
@@ -947,9 +947,9 @@ class LayerSelectionDialog (CrumbsDialog):
947 self.vbox.pack_start(hbox_top, expand=False, fill=False) 947 self.vbox.pack_start(hbox_top, expand=False, fill=False)
948 948
949 if self.split_model: 949 if self.split_model:
950 label = self.gen_label_widget("<span weight=\"bold\" font_desc='12'>Select Layers:</span>\n(Available layers under '${COREBASE}/layers/' directory)") 950 label = self.gen_label_widget("<b>Select Layers:</b>\n(Available layers under '${COREBASE}/layers/' directory)")
951 else: 951 else:
952 label = self.gen_label_widget("<span weight=\"bold\" font_desc='12'>Select Layers:</span>") 952 label = self.gen_label_widget("<b>Select Layers:</b>")
953 hbox_top.pack_start(label, expand=False, fill=False) 953 hbox_top.pack_start(label, expand=False, fill=False)
954 954
955 tooltip = "Layer is a collection of bb files and conf files" 955 tooltip = "Layer is a collection of bb files and conf files"
@@ -960,20 +960,11 @@ class LayerSelectionDialog (CrumbsDialog):
960 960
961 layer_widget, self.layer_store = self.gen_layer_widget(self.split_model, self.layers, self.all_layers, self, None) 961 layer_widget, self.layer_store = self.gen_layer_widget(self.split_model, self.layers, self.all_layers, self, None)
962 layer_widget.set_size_request(-1, 180) 962 layer_widget.set_size_request(-1, 180)
963
964 self.vbox.pack_start(layer_widget, expand=True, fill=True) 963 self.vbox.pack_start(layer_widget, expand=True, fill=True)
965 964
966 separator = gtk.HSeparator() 965 label = self.gen_label_widget("<b>Note:</b> '<i>meta</i>' is the Core layer for Yocto images please do not remove it.")
967 self.vbox.pack_start(separator, False, True, 5) 966 label.show()
968 separator.show() 967 self.vbox.pack_end(label, expand=False, fill=False)
969
970 hbox_button = gtk.HBox()
971 self.vbox.pack_end(hbox_button, expand=False, fill=False)
972 hbox_button.show()
973
974 label = self.gen_label_widget("<i>'meta' is Core layer for Yocto images</i>\n"
975 "<span weight=\"bold\">Please do not remove it</span>")
976 hbox_button.pack_start(label, expand=False, fill=False)
977 968
978 self.show_all() 969 self.show_all()
979 970