From: Joshua Lock Date: Sat, 24 Mar 2012 00:23:05 +0000 (-0700) Subject: lib/bb/ui/crumbs/persistenttooltip: ensure a reasonable minimum size X-Git-Tag: rev_ivi_2015_02_04~17979 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=992cf8b181618ef093b73ac2f1fd11d78539b13f;p=scm%2Fbb%2Ftizen-distro.git 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 Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/ui/crumbs/persistenttooltip.py b/bitbake/lib/bb/ui/crumbs/persistenttooltip.py index e184062..69e059b 100644 --- a/bitbake/lib/bb/ui/crumbs/persistenttooltip.py +++ b/bitbake/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()