mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-13 21:14:55 +00:00
fix button pressed issue
This commit is contained in:
parent
fc5b6e525a
commit
174ff4ee70
@ -127,7 +127,7 @@
|
||||
<property name="label">gtk-close</property>
|
||||
<property name="use_stock">True</property>
|
||||
<property name="response_id">0</property>
|
||||
<signal name="pressed" handler="on_close_pressed"/>
|
||||
<signal name="clicked" handler="on_close_pressed"/>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
|
@ -141,8 +141,8 @@ class PreferencesDlg:
|
||||
self.glade.get_widget('spin_port_min').set_sensitive(True)
|
||||
self.glade.get_widget('spin_port_max').set_sensitive(True)
|
||||
|
||||
self.glade.get_widget("ok_button").connect("pressed", self.ok_pressed, interface)
|
||||
self.glade.get_widget("cancel_button").connect("pressed", self.cancel_pressed)
|
||||
self.glade.get_widget("ok_button").connect("clicked", self.ok_pressed, interface)
|
||||
self.glade.get_widget("cancel_button").connect("clicked", self.cancel_pressed)
|
||||
|
||||
except KeyError:
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user