6309: Wrap text in empty gramplet bar tab
svn: r21047
This commit is contained in:
parent
94d452d63c
commit
222525e035
@ -313,6 +313,9 @@ class GrampletBar(Gtk.Notebook):
|
||||
tab_label.show()
|
||||
msg = _('Right-click to the right of the tab to add a gramplet.')
|
||||
content = Gtk.Label(label=msg)
|
||||
content.set_alignment(0, 0)
|
||||
content.set_line_wrap(True)
|
||||
content.set_size_request(150, -1)
|
||||
content.show()
|
||||
self.append_page(content, tab_label)
|
||||
return content
|
||||
|
Loading…
Reference in New Issue
Block a user