summaryrefslogtreecommitdiff
path: root/src/nautilus-notebook.c
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2016-02-10 21:39:56 +0100
committerCarlos Soriano <csoriano@gnome.org>2016-02-12 17:52:24 +0100
commit4a7d0a49a0d77e0b4aef030289fd7845db90a763 (patch)
treee81487875be1a29ec7e73ab6bbbcb909172a9874 /src/nautilus-notebook.c
parenta88310dd2143476bf34d2d892807d0457d2f7d85 (diff)
downloadnautilus-4a7d0a49a0d77e0b4aef030289fd7845db90a763.tar.gz
notebook: vertically align label
The label was misaligned with latest gtk+.
Diffstat (limited to 'src/nautilus-notebook.c')
-rw-r--r--src/nautilus-notebook.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nautilus-notebook.c b/src/nautilus-notebook.c
index 6c4474dbf..b04254c48 100644
--- a/src/nautilus-notebook.c
+++ b/src/nautilus-notebook.c
@@ -304,8 +304,8 @@ build_tab_label (NautilusNotebook *nb, NautilusWindowSlot *slot)
label = gtk_label_new (NULL);
gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END);
gtk_label_set_single_line_mode (GTK_LABEL (label), TRUE);
- gtk_label_set_xalign (GTK_LABEL (label), 0);
- gtk_label_set_yalign (GTK_LABEL (label), 0);
+ gtk_label_set_xalign (GTK_LABEL (label), 0.5);
+ gtk_label_set_yalign (GTK_LABEL (label), 0.5);
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
gtk_widget_show (label);