From d76e62fdd8363b430df03a79c73d16c99e0aab57 Mon Sep 17 00:00:00 2001 From: Shane Wang Date: Wed, 29 Feb 2012 22:15:23 +0800 Subject: Hob: fix a bug that the image size is shown incorrectly in the image details page. Originally, the image size shows the last item in the image tree view in the image details page. That is not correct. We need to show the size of the image which the user chooses. (Bitbake rev: 01c18a24252b35959a4cc01088678f93cb2f95e5) Signed-off-by: Shane Wang Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/hig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/ui/crumbs/hig.py') diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py index 9b96d8de4d..c5bd27a057 100644 --- a/bitbake/lib/bb/ui/crumbs/hig.py +++ b/bitbake/lib/bb/ui/crumbs/hig.py @@ -1035,6 +1035,7 @@ class ImageSelectionDialog (CrumbsDialog): table.attach(open_button, 9, 10, 0, 1) self.image_table = HobViewTable(self.__columns__) + self.image_table.set_size_request(-1, 300) self.image_table.connect("toggled", self.toggled_cb) self.vbox.pack_start(self.image_table, expand=True, fill=True) @@ -1052,7 +1053,6 @@ class ImageSelectionDialog (CrumbsDialog): model[path][columnid] = True - def select_path_cb(self, action, parent, entry): dialog = gtk.FileChooserDialog("", parent, gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER, -- cgit v1.2.3-54-g00ecf