summaryrefslogtreecommitdiff
path: root/mate-session
diff options
context:
space:
mode:
Diffstat (limited to 'mate-session')
-rw-r--r--mate-session/gsm-logout-dialog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mate-session/gsm-logout-dialog.c b/mate-session/gsm-logout-dialog.c
index 1f5846b..da3d651 100644
--- a/mate-session/gsm-logout-dialog.c
+++ b/mate-session/gsm-logout-dialog.c
@@ -505,6 +505,9 @@ gsm_get_dialog (GsmDialogLogoutType type,
hbox = gtk_hbox_new (FALSE, 0);
#endif
logout_dialog->priv->progressbar = gtk_progress_bar_new ();
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gtk_progress_bar_set_show_text (GTK_PROGRESS_BAR (logout_dialog->priv->progressbar), TRUE);
+#endif
gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (logout_dialog->priv->progressbar), 1.0);
gtk_box_pack_start (GTK_BOX (hbox),
logout_dialog->priv->progressbar,