Skip to content
Snippets Groups Projects
Commit cb88b23b authored by nkour's avatar nkour
Browse files

remove an uneeded assignemnt and some \r\n

parent ed2516b2
No related branches found
No related tags found
No related merge requests found
......@@ -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'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment