Changeset 3771
- Timestamp:
- 08/28/08 20:42:19 (4 months ago)
- Files:
-
- 3 modified
-
branches/1.0.0_RC/ChangeLog (modified) (1 diff)
-
branches/1.0.0_RC/deluge/ui/gtkui/addtorrentdialog.py (modified) (2 diffs)
-
trunk/deluge/ui/gtkui/addtorrentdialog.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0.0_RC/ChangeLog
r3763 r3771 1 Deluge 0.9.09 - "1.0.0_RC9" (In Development) 2 GtkUI: 3 * Fix add torrent dialog closing preventing another dialog from being shown 4 1 5 Deluge 0.9.08 - "1.0.0_RC8" (27 August 2008) 2 6 Core: -
branches/1.0.0_RC/deluge/ui/gtkui/addtorrentdialog.py
r3738 r3771 55 55 56 56 self.dialog = self.glade.get_widget("dialog_add_torrent") 57 57 58 self.dialog.connect("delete-event", self._on_delete_event) 59 58 60 self.glade.signal_autoconnect({ 59 61 "on_button_file_clicked": self._on_button_file_clicked, … … 615 617 del self.options[model.get_value(row, 0)] 616 618 self.set_default_options() 619 620 def _on_delete_event(self, widget, event): 621 self.hide() 622 return True -
trunk/deluge/ui/gtkui/addtorrentdialog.py
r3738 r3771 56 56 self.dialog = self.glade.get_widget("dialog_add_torrent") 57 57 58 self.dialog.connect("delete-event", self._on_delete_event) 59 58 60 self.glade.signal_autoconnect({ 59 61 "on_button_file_clicked": self._on_button_file_clicked, … … 299 301 options["compact_allocation"]) 300 302 self.glade.get_widget("spin_maxdown").set_value( 301 options["max_download_speed _per_torrent"])303 options["max_download_speed"]) 302 304 self.glade.get_widget("spin_maxup").set_value( 303 options["max_upload_speed _per_torrent"])305 options["max_upload_speed"]) 304 306 self.glade.get_widget("spin_maxconnections").set_value( 305 options["max_connections _per_torrent"])307 options["max_connections"]) 306 308 self.glade.get_widget("spin_maxupslots").set_value( 307 options["max_upload_slots _per_torrent"])309 options["max_upload_slots"]) 308 310 self.glade.get_widget("chk_paused").set_active( 309 311 options["add_paused"]) … … 330 332 options["compact_allocation"] = \ 331 333 self.glade.get_widget("radio_compact").get_active() 332 options["max_download_speed _per_torrent"] = \334 options["max_download_speed"] = \ 333 335 self.glade.get_widget("spin_maxdown").get_value() 334 options["max_upload_speed _per_torrent"] = \336 options["max_upload_speed"] = \ 335 337 self.glade.get_widget("spin_maxup").get_value() 336 options["max_connections _per_torrent"] = \338 options["max_connections"] = \ 337 339 self.glade.get_widget("spin_maxconnections").get_value_as_int() 338 options["max_upload_slots _per_torrent"] = \340 options["max_upload_slots"] = \ 339 341 self.glade.get_widget("spin_maxupslots").get_value_as_int() 340 342 options["add_paused"] = \ … … 615 617 del self.options[model.get_value(row, 0)] 616 618 self.set_default_options() 619 620 def _on_delete_event(self, widget, event): 621 self.hide() 622 return True
