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__(
|
HigDialog.__init__(
|
||||||
self, None, pritext, sectext, gtk.STOCK_DIALOG_INFO,
|
self, None, pritext, sectext, gtk.STOCK_DIALOG_INFO,
|
||||||
[ [ gtk.STOCK_OK, gtk.RESPONSE_OK ] ]
|
[ [ gtk.STOCK_OK, gtk.RESPONSE_OK ] ]
|
||||||
)
|
)
|
||||||
hbox = self.action_area
|
ok_button = self.action_area.get_children()[0]
|
||||||
ok_button = hbox.get_children()[0]
|
ok_button.connect('clicked', self.on_ok_button_clicked)
|
||||||
ok_button.connect('clicked', self.on_ok_button_clicked)
|
self.show_all()
|
||||||
self.show_all()
|
|
||||||
|
def on_ok_button_clicked(self, widget):
|
||||||
def on_ok_button_clicked(self, widget):
|
self.destroy()
|
||||||
self.destroy()
|
|
||||||
|
|
||||||
class InputDialog:
|
class InputDialog:
|
||||||
'''Class for Input dialog'''
|
'''Class for Input dialog'''
|
||||||
|
|
Loading…
Reference in New Issue