mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 09:58:39 +00:00
Fix add torrent dialog closing preventing another dialog from being
shown
This commit is contained in:
parent
135a0ca7e9
commit
584226db96
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Deluge 0.9.09 - "1.0.0_RC9" (In Development)
|
||||||
|
GtkUI:
|
||||||
|
* Fix add torrent dialog closing preventing another dialog from being shown
|
||||||
|
|
||||||
Deluge 0.9.08 - "1.0.0_RC8" (27 August 2008)
|
Deluge 0.9.08 - "1.0.0_RC8" (27 August 2008)
|
||||||
Core:
|
Core:
|
||||||
* Attempt to automatically upgrade a 0.5.x state file to new format
|
* Attempt to automatically upgrade a 0.5.x state file to new format
|
||||||
|
|
|
@ -55,6 +55,8 @@ class AddTorrentDialog(component.Component):
|
||||||
|
|
||||||
self.dialog = self.glade.get_widget("dialog_add_torrent")
|
self.dialog = self.glade.get_widget("dialog_add_torrent")
|
||||||
|
|
||||||
|
self.dialog.connect("delete-event", self._on_delete_event)
|
||||||
|
|
||||||
self.glade.signal_autoconnect({
|
self.glade.signal_autoconnect({
|
||||||
"on_button_file_clicked": self._on_button_file_clicked,
|
"on_button_file_clicked": self._on_button_file_clicked,
|
||||||
"on_button_url_clicked": self._on_button_url_clicked,
|
"on_button_url_clicked": self._on_button_url_clicked,
|
||||||
|
@ -614,3 +616,7 @@ class AddTorrentDialog(component.Component):
|
||||||
|
|
||||||
del self.options[model.get_value(row, 0)]
|
del self.options[model.get_value(row, 0)]
|
||||||
self.set_default_options()
|
self.set_default_options()
|
||||||
|
|
||||||
|
def _on_delete_event(self, widget, event):
|
||||||
|
self.hide()
|
||||||
|
return True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue