[oe-commits] [openembedded-core] 24/48: oe-pkgdata-browser: Clean the package view properly
git at git.openembedded.org
git at git.openembedded.org
Wed Jan 8 19:59:47 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 b73a312e1afd069debbab0333a88fcbdf0bba29d
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