All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Joshua Lock <josh@linux.intel.com>
Cc: bitbake-devel@lists.openembedded.org
Subject: Re: [PATCH 0/4] Replace HobNotebook with gtk.Notebook, comments invited
Date: Sun, 20 May 2012 08:08:53 +0100	[thread overview]
Message-ID: <1337497733.28145.14.camel@ted> (raw)
In-Reply-To: <1334398981.7309.98.camel@ted>

On Sat, 2012-04-14 at 11:23 +0100, Richard Purdie wrote:
> On Fri, 2012-04-13 at 16:24 -0700, Joshua Lock wrote:
> > *** This series prevents users of distros with old Gtk+ releases using Hob ***
> > 
> > This is a follow-on from my RFC of yesterday with a similar title. Sadly I 
> > hadn't realised that one of the API calls I am using is not available in the
> > version of gtk+ shipped with CentOS 6 (gtk.Notebook.set_action_widget).
> > 
> > This change will prevent CentOS 6 users from being able to use Hob.
> > 
> > I spent some time in Gtk+ internals trying to figure out if we can emulate the
> > behaviour on older versions but the GtkNotebook widget internals were enhanced
> > significantly to support the set_action_widget API.
> > 
> > I've submitted the change as an RFC regardless, it's ready to merge if we're
> > willing to make the sacrifice.
> > 
> > The primary motivation for making this change, and making it so late in the
> > cycle, is maintainability. The diffstat says it all - we're replacing an ~400LOC
> > custom widget with a ~100LOC set of 3 widgets which subclass standard toolkit
> > widgets.
> > 
> > An added benefit is that standard toolkit widgets generally integrate better
> > into the users OS thanks to inheriting their standard theme.
> > 
> > Tested on: 
> > Fedora 16 (x86_64) - PASS
> > CentOS 6.2 (x86_64) - FAIL: Gtk+ version too old
> > Ubuntu 10.04 (x86_64) - Fail: pygtk version too old
> > Ubuntu 12.04 Beta (x86_64) - PASS
> > 
> > Per the final patch in the series the changes here require gtk+-2.20 or newer
> > and pygtk 2.22 or newer.
> 
> Since we don't have a good external-python tarball solution in place
> yet, I'm going to have to hold off these patches until after the current
> release.

I've not gone ahead and merged these since they still seem to apply and
basically worked when I tested them just now.

Cheers,

Richard




  parent reply	other threads:[~2012-05-20  7:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-13 23:24 [PATCH 0/4] Replace HobNotebook with gtk.Notebook, comments invited Joshua Lock
2012-04-13 23:24 ` [PATCH 1/4] lib/bb/ui/crumbs/: replace custom HobNotebook Joshua Lock
2012-04-13 23:24 ` [PATCH 2/4] lib/bb/ui/crumbs/hobwidget: use light text in HobIndicator Joshua Lock
2012-04-13 23:24 ` [PATCH 3/4] lib/bb/ui/crumbs/imageconfiguration: fix combo boxes drop-down width Joshua Lock
2012-04-13 23:24 ` [PATCH 4/4] hob: update required pygtk to 2.22.0 and gtk+ to 2.20.0 Joshua Lock
2012-04-14 10:23 ` [PATCH 0/4] Replace HobNotebook with gtk.Notebook, comments invited Richard Purdie
2012-04-14 19:43   ` Joshua Lock
2012-05-16  8:24     ` An, LimingX L
2012-05-10  6:31   ` An, LimingX L
2012-05-20  8:33     ` Richard Purdie
2012-05-20  7:08   ` Richard Purdie [this message]
2012-05-23  1:35 ` Wang, Shane
2012-05-23 17:20   ` Joshua Lock

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=1337497733.28145.14.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=josh@linux.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.