[bitbake-devel] [PATCH 7/9] lib/bb/ui/crumbs/persistenttooltip: ensure a reasonable minimum size
Xu, Dongxiao
dongxiao.xu at intel.com
Sat Mar 24 01:03:50 UTC 2012
On Fri, 2012-03-23 at 17:23 -0700, Joshua Lock wrote:
> The persistent tooltip looks a little weird when it's too small, request
> that the toolkit and WM give it a reasonable minimum size.
>
> Signed-off-by: Joshua Lock <josh at linux.intel.com>
Acked-by: Dongxiao Xu <dongxiao.xu at intel.com>
> ---
> lib/bb/ui/crumbs/persistenttooltip.py | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/lib/bb/ui/crumbs/persistenttooltip.py b/lib/bb/ui/crumbs/persistenttooltip.py
> index e184062..69e059b 100644
> --- a/lib/bb/ui/crumbs/persistenttooltip.py
> +++ b/lib/bb/ui/crumbs/persistenttooltip.py
> @@ -73,6 +73,9 @@ class PersistentTooltip(gtk.Window):
> self.set_position(gtk.WIN_POS_MOUSE)
> self.set_opacity(0.95)
>
> + # Ensure a reasonable minimum size
> + self.set_geometry_hints(self, 100, 50)
> +
> # Draw our label and close buttons
> hbox = gtk.HBox(False, 0)
> hbox.show()
More information about the bitbake-devel
mailing list