summaryrefslogtreecommitdiffstats
path: root/scripts/oe-pkgdata-browser
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/oe-pkgdata-browser')
-rwxr-xr-xscripts/oe-pkgdata-browser2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/oe-pkgdata-browser b/scripts/oe-pkgdata-browser
index 36b5e798fa..57e56f66ee 100755
--- a/scripts/oe-pkgdata-browser
+++ b/scripts/oe-pkgdata-browser
@@ -133,6 +133,8 @@ class PkgUi():
133 133
134 self.file_store = builder.get_object("file_store") 134 self.file_store = builder.get_object("file_store")
135 self.file_store.set_sort_column_id(FileColumns.Filename, Gtk.SortType.ASCENDING) 135 self.file_store.set_sort_column_id(FileColumns.Filename, Gtk.SortType.ASCENDING)
136 builder.get_object("file_size_column").set_cell_data_func(builder.get_object("file_size_cell"), lambda column, cell, model, iter, data: cell.set_property("text", human_size(model[iter][FileColumns.Size])))
137
136 self.files_view = builder.get_object("files_scrollview") 138 self.files_view = builder.get_object("files_scrollview")
137 self.files_label = builder.get_object("files_label") 139 self.files_label = builder.get_object("files_label")
138 140