lib/bb/ui/crumbs/persistenttooltip: ensure a reasonable minimum size

The persistent tooltip looks a little weird when it's too small, request
that the toolkit and WM give it a reasonable minimum size.

(Bitbake rev: 637ea3671dda9c5a1065f992fd9ee87d63043cf4)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joshua Lock authored and Richard Purdie committed 2012-03-25 12:23:34 +01:00
1 parent 188cf893dd
commit 2206679669
1 file changed
+3
@@ -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()