]> spindle.queued.net Git - midori/commitdiff
With GTK+3 we have to put-in for progressbar text
authorChristian Dywan <christian@twotoasts.de>
Thu, 12 Jul 2012 22:10:08 +0000 (00:10 +0200)
committerChristian Dywan <christian@twotoasts.de>
Thu, 12 Jul 2012 22:10:08 +0000 (00:10 +0200)
toolbars/midori-transferbar.c

index d1950391006ff9f9f841c4ef4ec26ec0cd4c0193..5ab4ca98ac64c5b10ec352900e411ca0b8779c09 100644 (file)
@@ -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)))