diff options
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/persistenttooltip.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/persistenttooltip.py b/bitbake/lib/bb/ui/crumbs/persistenttooltip.py index bae697e0d7..e9cc380b0a 100644 --- a/bitbake/lib/bb/ui/crumbs/persistenttooltip.py +++ b/bitbake/lib/bb/ui/crumbs/persistenttooltip.py | |||
@@ -64,7 +64,7 @@ class PersistentTooltip(gtk.Window): | |||
64 | # We must be modal to ensure we grab focus when presented from a gtk.Dialog | 64 | # We must be modal to ensure we grab focus when presented from a gtk.Dialog |
65 | self.set_modal(True) | 65 | self.set_modal(True) |
66 | 66 | ||
67 | self.set_border_width(6) | 67 | self.set_border_width(0) |
68 | self.set_position(gtk.WIN_POS_MOUSE) | 68 | self.set_position(gtk.WIN_POS_MOUSE) |
69 | self.set_opacity(0.95) | 69 | self.set_opacity(0.95) |
70 | 70 | ||
@@ -91,10 +91,14 @@ class PersistentTooltip(gtk.Window): | |||
91 | 91 | ||
92 | self.set_default(self.button) | 92 | self.set_default(self.button) |
93 | 93 | ||
94 | hbox = gtk.HBox(True, 6) | ||
95 | hbox.set_border_width(6) | ||
96 | hbox.show() | ||
97 | vbox.pack_end(hbox, True, True, 6) | ||
94 | self.label = gtk.Label() | 98 | self.label = gtk.Label() |
95 | self.label.set_markup(markup) | 99 | self.label.set_markup(markup) |
96 | self.label.show() | 100 | self.label.show() |
97 | vbox.pack_end(self.label, True, True, 6) | 101 | hbox.pack_end(self.label, True, True, 6) |
98 | 102 | ||
99 | self.connect("key-press-event", self._catch_esc_cb) | 103 | self.connect("key-press-event", self._catch_esc_cb) |
100 | 104 | ||