0001-Fix-constructing-the-auth-dialog.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. From 2766d74a98e44693f5e966d541a6303b966c088b Mon Sep 17 00:00:00 2001
  2. Message-Id: <2766d74a98e44693f5e966d541a6303b966c088b.1518105780.git.jan.steffens@gmail.com>
  3. From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
  4. Date: Thu, 8 Feb 2018 17:01:01 +0100
  5. Subject: [PATCH] Fix constructing the auth dialog
  6. 47973c80 (Remove deprecated Gtk objects) broke the auth dialog.
  7. Fixes https://bugs.archlinux.org/task/57364.
  8. ---
  9. authconn.py | 2 --
  10. 1 file changed, 2 deletions(-)
  11. diff --git a/authconn.py b/authconn.py
  12. index 2a645dcc..0f3021cb 100644
  13. --- a/authconn.py
  14. +++ b/authconn.py
  15. @@ -78,11 +78,9 @@ class AuthDialog(Gtk.Dialog):
  16. field = auth_info_required[i]
  17. label = Gtk.Label (label=_(self.AUTH_FIELD.get (field, field)))
  18. label.set_alignment (0, 0.5)
  19. - grid.attach (label, 0, 1, i, i + 1)
  20. grid.attach (label, 0, i, 1, 1)
  21. entry = Gtk.Entry ()
  22. entry.set_visibility (field != 'password')
  23. - grid.attach (entry, 1, 2, i, i + 1, 0, 0)
  24. grid.attach (entry, 1, i, 1, 1)
  25. self.field_entry.append (entry)
  26. --
  27. 2.16.1