diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-02-25 22:39:04 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2009-03-02 14:45:10 (GMT) |
commit | 02efd5d922f337c40f019432b79bcd2497861599 (patch) | |
tree | 5b39109e446bf7fcde979a4382f0fbe2d84b07e9 /library.py | |
parent | 82b033549cdfbb0ce04a6d4d28fb5465438ed5ea (diff) |
Add book.py
Diffstat (limited to 'library.py')
-rw-r--r-- | library.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -23,9 +23,10 @@ from sugar.graphics.toolcombobox import ToolComboBox from GUI_Components.Compound_Widgets.Library_View import Library_View from GUI_Components.Compound_Widgets.toolbar import WidgetItem -class View(Library_View): +class View(gtk.EventBox): #Library_View): def __init__(self): - Library_View.__init__(self) + gtk.EventBox.__init__(self) + #Library_View.__init__(self) """ @@ -71,6 +72,7 @@ class Toolbar(gtk.Toolbar): def __init__(self, library): gtk.Toolbar.__init__(self) self.library = library + return wikimenu = ToolComboBox(label_text=_('Get article from:')) wikimenu.combo.connect('changed', self._wikimenu_changed_cb) |