diff options
author | Michael Catanzaro <mcatanzaro@igalia.com> | 2016-02-10 00:14:52 -0600 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@igalia.com> | 2016-02-10 00:14:52 -0600 |
commit | 38fd646791c0d92f9ebe5c98f90622e886036926 (patch) | |
tree | 051a035255f824860cb35cda541c2e169f510608 /lib | |
parent | f2dd33065b5601596f01efb91dfba56adc7327b0 (diff) | |
download | epiphany-38fd646791c0d92f9ebe5c98f90622e886036926.tar.gz |
security-popover: Use gtk_label_set_xalign
New API introduced to solve exactly this problem....
Diffstat (limited to 'lib')
-rw-r--r-- | lib/widgets/ephy-security-popover.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/widgets/ephy-security-popover.c b/lib/widgets/ephy-security-popover.c index b7ca1de15..e1003b691 100644 --- a/lib/widgets/ephy-security-popover.c +++ b/lib/widgets/ephy-security-popover.c @@ -332,8 +332,7 @@ ephy_security_popover_init (EphySecurityPopover *popover) popover->security_label = gtk_label_new (NULL); gtk_label_set_line_wrap (GTK_LABEL (popover->security_label), TRUE); - /* We must use deprecated GtkMisc, not halign, as GTK_ALIGN_START fails for labels with line wrap. */ - gtk_misc_set_alignment (GTK_MISC (popover->security_label), 0.0, 0.5); + gtk_label_set_xalign (GTK_LABEL (popover->security_label), 0.0); gtk_grid_attach (GTK_GRID (popover->grid), popover->lock_image, 0, 0, 1, 2); gtk_grid_attach (GTK_GRID (popover->grid), popover->host_label, 1, 0, 1, 1); |