All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
To: openembedded-core@lists.openembedded.org,
	Ross Burton <ross.burton@intel.com>
Subject: [PATCH 2/7] oe-pkgdata-browser: Clean the package view properly
Date: Wed,  8 Jan 2020 04:44:50 +0100	[thread overview]
Message-ID: <20200108034455.10101-2-pkj@axis.com> (raw)
In-Reply-To: <20200108034455.10101-1-pkj@axis.com>

Not all widgets were hidden when no package was selected.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
 scripts/oe-pkgdata-browser | 4 ++++
 1 file changed, 4 insertions(+)

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():
         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:
-- 
2.21.1



  reply	other threads:[~2020-01-08  3:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-08  3:44 [PATCH 1/7] oe-pkgdata-browser: Rename from pkgdataui.py Peter Kjellerstedt
2020-01-08  3:44 ` Peter Kjellerstedt [this message]
2020-01-08  3:44 ` [PATCH 3/7] oe-pkgdata-browser: Correct the prefix for kilo to "k" Peter Kjellerstedt
2020-01-08  3:44 ` [PATCH 4/7] oe-pkgdata-browser: Show file sizes in a human readable format Peter Kjellerstedt
2020-01-08  3:44 ` [PATCH 5/7] oe-pkgdata-browser: Avoid an extra space for dependencies without version Peter Kjellerstedt
2020-01-08  3:44 ` [PATCH 6/7] oe-pkgdata-browser: Select a matching package when a recipe is selected Peter Kjellerstedt
2020-01-08  3:44 ` [PATCH 7/7] oe-pkgdata-browser: Make the window 1200x900 by default Peter Kjellerstedt
2020-01-08 14:11 ` [PATCH 1/7] oe-pkgdata-browser: Rename from pkgdataui.py Ross Burton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200108034455.10101-2-pkj@axis.com \
    --to=peter.kjellerstedt@axis.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.