diff --git a/system/plots.py b/system/plots.py index 6d68960..18ffb22 100644 --- a/system/plots.py +++ b/system/plots.py @@ -256,6 +256,7 @@ class View (gtk.Frame): gtk.Frame.__init__(self) self.title = title self.set_shadow_type(gtk.SHADOW_NONE) + self.set_label(title) def get_toolbar(self): return None @@ -265,6 +266,7 @@ class EmptyView (View): """EmptyView is shown in ViewFrames that are unused.""" def __init__(self): View.__init__(self, 'Empty view') + self.set_label(None) label = gtk.Label('No view') ebox = gtk.EventBox() ebox.add(label)