Plots now show names outside the canvas.
This commit is contained in:
parent
31527e51fd
commit
3a62580125
|
@ -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)
|
||||
|
|
Reference in New Issue