summaryrefslogtreecommitdiff
path: root/shell/ev-progress-message-area.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-progress-message-area.c')
-rw-r--r--shell/ev-progress-message-area.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/ev-progress-message-area.c b/shell/ev-progress-message-area.c
index c50b6041..4c972e7c 100644
--- a/shell/ev-progress-message-area.c
+++ b/shell/ev-progress-message-area.c
@@ -91,7 +91,11 @@ ev_progress_message_area_init (EvProgressMessageArea *area)
gtk_label_set_use_markup (GTK_LABEL (area->priv->label), TRUE);
gtk_label_set_ellipsize (GTK_LABEL (area->priv->label),
PANGO_ELLIPSIZE_END);
+#if GTK_CHECK_VERSION (3, 16, 0)
+ gtk_label_set_xalign (GTK_LABEL (area->priv->label), 0.0);
+#else
gtk_misc_set_alignment (GTK_MISC (area->priv->label), 0.0, 0.5);
+#endif
gtk_box_pack_start (GTK_BOX (vbox), area->priv->label, TRUE, TRUE, 0);
gtk_widget_show (area->priv->label);