remove an uneeded assignemnt and some \r\n
This commit is contained in:
parent
ed2516b2ba
commit
cb88b23b16
|
@ -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'''
|
||||
|
|
Loading…
Reference in New Issue