mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
[#3058|GTKUI] Fix unable to add user to daemon
This commit is contained in:
parent
3330e97d05
commit
89e245e2d3
1 changed files with 2 additions and 1 deletions
|
@ -270,7 +270,8 @@ class AccountDialog(BaseDialog):
|
|||
self.authlevel_label.set_alignment(1.0, 0.5)
|
||||
self.authlevel_label.set_padding(5, 5)
|
||||
|
||||
self.authlevel_combo = gtk.ComboBoxText()
|
||||
# combo_box_new_text is deprecated but no other pygtk alternative.
|
||||
self.authlevel_combo = gtk.combo_box_new_text()
|
||||
active_idx = None
|
||||
for idx, level in enumerate(levels_mapping):
|
||||
self.authlevel_combo.append_text(level)
|
||||
|
|
Loading…
Add table
Reference in a new issue