summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2020-01-08 04:44:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-10 21:18:22 +0000
commit11094a42025196e2f3182036de9f135e80c2cae4 (patch)
treee7d75271083dfb30c14ec7ed9a05203e6c7e6937 /scripts
parent133ca624eb22687d13c42efa62676b4906beca39 (diff)
downloadpoky-11094a42025196e2f3182036de9f135e80c2cae4.tar.gz
oe-pkgdata-browser: Clean the package view properly
Not all widgets were hidden when no package was selected. (From OE-Core rev: 6e41c16ed41b63dc20e4d0076e7c3c7f6cb7ee27) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-pkgdata-browser4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/oe-pkgdata-browser b/scripts/oe-pkgdata-browser
index 09544fff82..21e319481e 100755
--- a/scripts/oe-pkgdata-browser
+++ b/scripts/oe-pkgdata-browser
@@ -186,6 +186,9 @@ class PkgUi():
186 self.depends_label.hide() 186 self.depends_label.hide()
187 self.recommends_label.hide() 187 self.recommends_label.hide()
188 self.suggests_label.hide() 188 self.suggests_label.hide()
189 self.provides_label.hide()
190 self.files_view.hide()
191 self.files_label.hide()
189 192
190 (model, it) = selection.get_selected() 193 (model, it) = selection.get_selected()
191 if it is None: 194 if it is None:
@@ -205,6 +208,7 @@ class PkgUi():
205 else: 208 else:
206 self.files_view.hide() 209 self.files_view.hide()
207 self.files_label.set_text("This package has no files.") 210 self.files_label.set_text("This package has no files.")
211 self.files_label.show()
208 212
209 def update_deps(field, prefix, label, clickable=True): 213 def update_deps(field, prefix, label, clickable=True):
210 if field in data: 214 if field in data: