[oe-commits] [openembedded-core] 20/49: oe-pkgdata-browser: Clean the package view properly
git at git.openembedded.org
git at git.openembedded.org
Thu Jan 9 09:20:20 UTC 2020
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit e0fe3f702ac4fba1dd0702da99d09d12fd06d69e
Author: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
AuthorDate: Wed Jan 8 04:44:50 2020 +0100
oe-pkgdata-browser: Clean the package view properly
Not all widgets were hidden when no package was selected.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
scripts/oe-pkgdata-browser | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/scripts/oe-pkgdata-browser b/scripts/oe-pkgdata-browser
index 09544ff..21e3194 100755
--- a/scripts/oe-pkgdata-browser
+++ b/scripts/oe-pkgdata-browser
@@ -186,6 +186,9 @@ class PkgUi():
self.depends_label.hide()
self.recommends_label.hide()
self.suggests_label.hide()
+ self.provides_label.hide()
+ self.files_view.hide()
+ self.files_label.hide()
(model, it) = selection.get_selected()
if it is None:
@@ -205,6 +208,7 @@ class PkgUi():
else:
self.files_view.hide()
self.files_label.set_text("This package has no files.")
+ self.files_label.show()
def update_deps(field, prefix, label, clickable=True):
if field in data:
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list