With GTK+3 we have to put-in for progressbar text
This commit is contained in:
parent
c13da3b1b3
commit
d2ebd4797d
1 changed files with 3 additions and 0 deletions
|
@ -254,6 +254,9 @@ midori_transferbar_add_download_item (MidoriTransferbar* transferbar,
|
||||||
|
|
||||||
box = gtk_hbox_new (FALSE, 0);
|
box = gtk_hbox_new (FALSE, 0);
|
||||||
progress = gtk_progress_bar_new ();
|
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),
|
gtk_progress_bar_set_ellipsize (GTK_PROGRESS_BAR (progress),
|
||||||
PANGO_ELLIPSIZE_MIDDLE);
|
PANGO_ELLIPSIZE_MIDDLE);
|
||||||
if ((uri = webkit_download_get_destination_uri (download)))
|
if ((uri = webkit_download_get_destination_uri (download)))
|
||||||
|
|
Loading…
Reference in a new issue