All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Lock <josh@linux.intel.com>
To: bitbake-devel@lists.openembedded.org
Subject: Re: [PATCH 4/7] Revert "lib/bb/ui/crumbs/hig: fix layers_changed test"
Date: Fri, 30 Mar 2012 09:10:22 -0700	[thread overview]
Message-ID: <4F75DAEE.7040103@linux.intel.com> (raw)
In-Reply-To: <28ccf8cd2d23a4cfc8e94fa1ad089dd68334bf35.1333108781.git.dongxiao.xu@intel.com>



On 30/03/12 05:01, Dongxiao Xu wrote:
> We do not sort the layer list, therefore when response_cb, the ordering
> is also not needed.
>
> This reverts commit 71c1de347eef07a2059fc4544dc3cae090181f44.

This only makes sense if 3/7 is merged, correct?

Cheers,
Joshua

> ---
>   lib/bb/ui/crumbs/hig.py |    5 +----
>   1 files changed, 1 insertions(+), 4 deletions(-)
>
> diff --git a/lib/bb/ui/crumbs/hig.py b/lib/bb/ui/crumbs/hig.py
> index 9a38bc0..0ac4496 100644
> --- a/lib/bb/ui/crumbs/hig.py
> +++ b/lib/bb/ui/crumbs/hig.py
> @@ -958,10 +958,7 @@ class LayerSelectionDialog (CrumbsDialog):
>               layers.append(model.get_value(it, 0))
>               it = model.iter_next(it)
>
> -        orig_layers = sorted(self.layers)
> -        layers.sort()
> -
> -        self.layers_changed = (orig_layers != layers)
> +        self.layers_changed = (self.layers != layers)
>           self.layers = layers
>
>       """

-- 
Joshua '贾詡' Lock
         Yocto Project "Johannes factotum"
         Intel Open Source Technology Centre



  reply	other threads:[~2012-03-30 16:19 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-30 12:01 [PATCH 0/7][PULL] Hob: Bug fixes Dongxiao Xu
2012-03-30 12:01 ` [PATCH 1/7] Hob: Fix MACHINE setting Dongxiao Xu
2012-03-30 12:01 ` [PATCH 2/7] Hob: Update the cache when setting changed Dongxiao Xu
2012-03-30 12:01 ` [PATCH 3/7] Hob: Make layers define in bblayers.conf as default Dongxiao Xu
2012-03-30 16:10   ` Joshua Lock
2012-03-31  0:32     ` Xu, Dongxiao
2012-03-31  5:29       ` Xu, Dongxiao
2012-03-31 15:51         ` Richard Purdie
2012-04-01  5:35           ` Xu, Dongxiao
2012-04-02 12:42             ` Richard Purdie
2012-04-02 12:55             ` Richard Purdie
2012-04-04  0:23               ` Joshua Lock
2012-04-08  2:00                 ` Wang, Shane
2012-03-30 12:01 ` [PATCH 4/7] Revert "lib/bb/ui/crumbs/hig: fix layers_changed test" Dongxiao Xu
2012-03-30 16:10   ` Joshua Lock [this message]
2012-03-31  0:32     ` Xu, Dongxiao
2012-03-30 12:01 ` [PATCH 5/7] Hob: Remove some calling of initiate_new_build() Dongxiao Xu
2012-03-30 12:01 ` [PATCH 6/7] Hob: Remove duplication for certain bitbake variables Dongxiao Xu
2012-03-30 12:01 ` [PATCH 7/7] Hob: Set stop button sensitive after task started Dongxiao Xu

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=4F75DAEE.7040103@linux.intel.com \
    --to=josh@linux.intel.com \
    --cc=bitbake-devel@lists.openembedded.org \
    /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.