Skip to content

Commit 2766d74

Browse files
committed
Fix constructing the auth dialog
47973c8 (Remove deprecated Gtk objects) broke the auth dialog. Fixes https://bugs.archlinux.org/task/57364.
1 parent 6522ffc commit 2766d74

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

authconn.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,9 @@ def __init__ (self, title=None, parent=None,
7878
field = auth_info_required[i]
7979
label = Gtk.Label (label=_(self.AUTH_FIELD.get (field, field)))
8080
label.set_alignment (0, 0.5)
81-
grid.attach (label, 0, 1, i, i + 1)
8281
grid.attach (label, 0, i, 1, 1)
8382
entry = Gtk.Entry ()
8483
entry.set_visibility (field != 'password')
85-
grid.attach (entry, 1, 2, i, i + 1, 0, 0)
8684
grid.attach (entry, 1, i, 1, 1)
8785
self.field_entry.append (entry)
8886

0 commit comments

Comments
 (0)