From: Valentin Popa <valentin.popa@intel.com>
To: Irina Patru <irina.patru@intel.com>,
bitbake-devel@lists.openembedded.org
Subject: Re: [PATCH 3/4] hob: unsetting busy cursor after hitting Stop button
Date: Fri, 24 Jan 2014 17:55:29 +0200 [thread overview]
Message-ID: <52E28CF1.8090206@intel.com> (raw)
In-Reply-To: <1390319978-31756-3-git-send-email-irina.patru@intel.com>
On 01/21/2014 05:59 PM, Irina Patru wrote:
> The busy cursor would never change after pressing Stop button.
> It should be set after the possible return inside machine_combo_changed_cb()
> method.
>
> Signed-off-by: Irina Patru <irina.patru@intel.com>
> ---
> bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
> index 79709d0..6372592 100644
> --- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
> +++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
> @@ -304,14 +304,15 @@ class ImageConfigurationPage (HobPage):
> self.builder.window.set_cursor(None)
>
> def machine_combo_changed_cb(self, machine_combo):
> - self.builder.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH))
> - self.builder.wait(0.1) #wait for combo and cursor to update
> self.stopping = False
> self.builder.parsing_warnings = []
> combo_item = machine_combo.get_active_text()
> if not combo_item or combo_item == self.__dummy_machine__:
> return
>
> + self.builder.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH))
> + self.builder.wait(0.1) #wait for combo and cursor to update
> +
> # remove __dummy_machine__ item from the store list after first user selection
> # because it is no longer valid
> combo_store = machine_combo.get_model()
Looks good to me.
next prev parent reply other threads:[~2014-01-24 15:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-21 15:59 [PATCH 1/4] hob: change error_msg for CommandFailed event Irina Patru
2014-01-21 15:59 ` [PATCH 2/4] bitbake: hob: check if parser has attribute 'shutdown' Irina Patru
2014-01-21 15:59 ` [PATCH 3/4] hob: unsetting busy cursor after hitting Stop button Irina Patru
2014-01-24 15:55 ` Valentin Popa [this message]
2014-01-21 15:59 ` [PATCH 4/4] hob: don't display interruptions as fails Irina Patru
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=52E28CF1.8090206@intel.com \
--to=valentin.popa@intel.com \
--cc=bitbake-devel@lists.openembedded.org \
--cc=irina.patru@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.