Skip to content

Commit

Permalink
Fix #401: Find duplicates status bar text
Browse files Browse the repository at this point in the history
#401

Ensure display of informative text such as "Reading dimensions.."
  • Loading branch information
Colin Clark committed Dec 15, 2016
1 parent 5bd5a40 commit aa6a20a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dupe.c
Original file line number Diff line number Diff line change
Expand Up @@ -3220,6 +3220,10 @@ DupeWindow *dupe_window_new(DupeMatchType match_mask)

dw->extra_label = gtk_progress_bar_new();
gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(dw->extra_label), 0.0);
#if GTK_CHECK_VERSION(3,0,0)
gtk_progress_bar_set_text(GTK_PROGRESS_BAR(dw->extra_label), "");
gtk_progress_bar_set_show_text(GTK_PROGRESS_BAR(dw->extra_label), TRUE);
#endif
gtk_box_pack_end(GTK_BOX(status_box), dw->extra_label, FALSE, FALSE, 0);
gtk_widget_show(dw->extra_label);

Expand Down

0 comments on commit aa6a20a

Please sign in to comment.