Commit 6ed8a433 authored by segfault's avatar segfault

tails-screen-locker: Don't use dim-label style class (refs: #16802)

parent 7a4f346a
......@@ -130,19 +130,6 @@ class PasswordDialog(object):
label_subtitle = Gtk.Label(
label=_("Set up a password to unlock the screen."),
)
label_subtitle.get_style_context().add_class("dim-label")
label1 = Gtk.Label(
label=_("Password"),
xalign=1
)
label1.get_style_context().add_class("dim-label")
label2 = Gtk.Label(
label=_("Confirm"),
xalign=1
)
label2.get_style_context().add_class("dim-label")
self.entry1 = Gtk.Entry(
can_focus=True,
......@@ -159,8 +146,8 @@ class PasswordDialog(object):
self.entry2.connect("changed", self.on_entry_changed)
grid = Gtk.Grid(row_spacing=2, column_spacing=10)
grid.attach(label1, 0, 0, 1, 1)
grid.attach(label2, 0, 1, 1, 1)
grid.attach(Gtk.Label(label=_("Password"), xalign=1), 0, 0, 1, 1)
grid.attach(Gtk.Label(label=_("Confirm"), xalign=1), 0, 1, 1, 1)
grid.attach(self.entry1, 1, 0, 1, 1)
grid.attach(self.entry2, 1, 1, 1, 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment