remove an uneeded assignemnt and some \r\n

This commit is contained in:
Nikos Kouremenos 2005-08-25 18:32:09 +00:00
parent ed2516b2ba
commit cb88b23b16
1 changed files with 7 additions and 8 deletions

View File

@ -513,14 +513,13 @@ class InformationDialog(HigDialog):
HigDialog.__init__(
self, None, pritext, sectext, gtk.STOCK_DIALOG_INFO,
[ [ gtk.STOCK_OK, gtk.RESPONSE_OK ] ]
)
hbox = self.action_area
ok_button = hbox.get_children()[0]
ok_button.connect('clicked', self.on_ok_button_clicked)
self.show_all()
def on_ok_button_clicked(self, widget):
self.destroy()
)
ok_button = self.action_area.get_children()[0]
ok_button.connect('clicked', self.on_ok_button_clicked)
self.show_all()
def on_ok_button_clicked(self, widget):
self.destroy()
class InputDialog:
'''Class for Input dialog'''