diff options
author | Joshua Lock <josh@linux.intel.com> | 2012-03-23 17:23:05 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-25 12:23:34 +0100 |
commit | 2206679669fb650a8668c810ac3eac52e34b9770 (patch) | |
tree | 28b2a5b15b0ba6446e98b425f3f8b67b8d31fb11 /bitbake/lib/bb/ui/crumbs/persistenttooltip.py | |
parent | 188cf893ddf0b3bbf7a63409505a85930ce777dc (diff) | |
download | poky-2206679669fb650a8668c810ac3eac52e34b9770.tar.gz |
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>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/persistenttooltip.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/persistenttooltip.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/persistenttooltip.py b/bitbake/lib/bb/ui/crumbs/persistenttooltip.py index e18406221e..69e059b204 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): | |||
73 | self.set_position(gtk.WIN_POS_MOUSE) | 73 | self.set_position(gtk.WIN_POS_MOUSE) |
74 | self.set_opacity(0.95) | 74 | self.set_opacity(0.95) |
75 | 75 | ||
76 | # Ensure a reasonable minimum size | ||
77 | self.set_geometry_hints(self, 100, 50) | ||
78 | |||
76 | # Draw our label and close buttons | 79 | # Draw our label and close buttons |
77 | hbox = gtk.HBox(False, 0) | 80 | hbox = gtk.HBox(False, 0) |
78 | hbox.show() | 81 | hbox.show() |