[bitbake-devel] [PATCH 7/9] lib/bb/ui/crumbs/persistenttooltip: ensure a reasonable minimum size
Joshua Lock
josh at linux.intel.com
Sat Mar 24 00:23:05 UTC 2012
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>
---
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()
--
1.7.7.6
More information about the bitbake-devel
mailing list