Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Plots now show names outside the canvas.

This commit is contained in:
Einar Ryeng 2006-10-12 12:46:34 +00:00
parent 31527e51fd
commit 3a62580125
1 changed files with 2 additions and 0 deletions

View File

@ -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)