Changeset c4b62f
- Timestamp:
- 07/18/2008 08:53:16 PM (17 years ago)
- Branches:
- 2.0.x, develop, extjs4-port, master
- Children:
- 1fb61c
- Parents:
- 461432b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
deluge/ui/gtkui/preferences.py
r461432b rc4b62f 108 108 """Add a another page to the notebook""" 109 109 # Create a header and scrolled window for the preferences tab 110 widget.unparent() 110 parent = widget.get_parent() 111 if parent: 112 parent.remove(widget) 111 113 vbox = gtk.VBox() 112 114 label = gtk.Label() … … 661 663 # Show the correct notebook page based on what row is selected. 662 664 (model, row) = treeselection.get_selected() 663 self.notebook.set_current_page(model.get_value(row, 0)) 665 try: 666 self.notebook.set_current_page(model.get_value(row, 0)) 667 except TypeError: 668 pass 664 669 665 670 def on_test_port_clicked(self, data):
Note:
See TracChangeset
for help on using the changeset viewer.