6309: Wrap text in empty gramplet bar tab

svn: r21047
This commit is contained in:
Nick Hall 2013-01-09 19:55:06 +00:00
parent 94d452d63c
commit 222525e035

View File

@ -313,6 +313,9 @@ class GrampletBar(Gtk.Notebook):
tab_label.show() tab_label.show()
msg = _('Right-click to the right of the tab to add a gramplet.') msg = _('Right-click to the right of the tab to add a gramplet.')
content = Gtk.Label(label=msg) content = Gtk.Label(label=msg)
content.set_alignment(0, 0)
content.set_line_wrap(True)
content.set_size_request(150, -1)
content.show() content.show()
self.append_page(content, tab_label) self.append_page(content, tab_label)
return content return content