From 3a6258012570b7ea8f3aef49ae6033e8c0978784 Mon Sep 17 00:00:00 2001 From: einarr Date: Thu, 12 Oct 2006 12:46:34 +0000 Subject: [PATCH] Plots now show names outside the canvas. --- system/plots.py | 2 ++ 1 file changed, 2 insertions(+) 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)