more pylint

This commit is contained in:
Simon Schampijer 2009-08-24 15:09:02 +02:00
parent e1e8647de9
commit 6ece09d49b
2 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,6 @@ import logging
import gtk import gtk
import gobject import gobject
import hippo
import pango import pango
from sugar.graphics import palettegroup from sugar.graphics import palettegroup

View File

@ -28,6 +28,8 @@ class ToolbarButton(ToolButton):
def __init__(self, page=None, **kwargs): def __init__(self, page=None, **kwargs):
ToolButton.__init__(self, **kwargs) ToolButton.__init__(self, **kwargs)
self.page_widget = None
self.set_page(page) self.set_page(page)
self.connect('clicked', self.connect('clicked',