diff options
author | Shane Wang <shane.wang@intel.com> | 2012-02-29 22:15:23 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-01 15:51:35 +0000 |
commit | d76e62fdd8363b430df03a79c73d16c99e0aab57 (patch) | |
tree | 14cdc96874f6f3d4b7fe85f5c413a2553333f706 /bitbake/lib/bb/ui/crumbs/hig.py | |
parent | 24883b4fc72432f9d12df7682dfd4207a719060b (diff) | |
download | poky-d76e62fdd8363b430df03a79c73d16c99e0aab57.tar.gz |
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 <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hig.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): | |||
1035 | table.attach(open_button, 9, 10, 0, 1) | 1035 | table.attach(open_button, 9, 10, 0, 1) |
1036 | 1036 | ||
1037 | self.image_table = HobViewTable(self.__columns__) | 1037 | self.image_table = HobViewTable(self.__columns__) |
1038 | self.image_table.set_size_request(-1, 300) | ||
1038 | self.image_table.connect("toggled", self.toggled_cb) | 1039 | self.image_table.connect("toggled", self.toggled_cb) |
1039 | self.vbox.pack_start(self.image_table, expand=True, fill=True) | 1040 | self.vbox.pack_start(self.image_table, expand=True, fill=True) |
1040 | 1041 | ||
@@ -1052,7 +1053,6 @@ class ImageSelectionDialog (CrumbsDialog): | |||
1052 | 1053 | ||
1053 | model[path][columnid] = True | 1054 | model[path][columnid] = True |
1054 | 1055 | ||
1055 | |||
1056 | def select_path_cb(self, action, parent, entry): | 1056 | def select_path_cb(self, action, parent, entry): |
1057 | dialog = gtk.FileChooserDialog("", parent, | 1057 | dialog = gtk.FileChooserDialog("", parent, |
1058 | gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER, | 1058 | gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER, |