From: Christian Dywan Date: Thu, 12 Jul 2012 22:10:08 +0000 (+0200) Subject: With GTK+3 we have to put-in for progressbar text X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2ebd4797d3bbdf6ec994710e5417ba988290a4a;p=midori With GTK+3 we have to put-in for progressbar text --- diff --git a/toolbars/midori-transferbar.c b/toolbars/midori-transferbar.c index d1950391..5ab4ca98 100644 --- a/toolbars/midori-transferbar.c +++ b/toolbars/midori-transferbar.c @@ -254,6 +254,9 @@ midori_transferbar_add_download_item (MidoriTransferbar* transferbar, box = gtk_hbox_new (FALSE, 0); progress = gtk_progress_bar_new (); + #if GTK_CHECK_VERSION (3, 0, 0) + gtk_progress_bar_set_show_text (GTK_PROGRESS_BAR (progress), TRUE); + #endif gtk_progress_bar_set_ellipsize (GTK_PROGRESS_BAR (progress), PANGO_ELLIPSIZE_MIDDLE); if ((uri = webkit_download_get_destination_uri (download)))