Skip to content

Commit

Permalink
audgui: Don't show text for progress bar in info popup (GTK3)
Browse files Browse the repository at this point in the history
GTK3 displays the text above the progress bar which looks out of place.
  • Loading branch information
radioactiveman committed Nov 11, 2023
1 parent ad663b7 commit 8b3b7ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libaudgui/infopopup.cc
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,7 @@ static GtkWidget * infopopup_create ()
gtk_progress_bar_set_text ((GtkProgressBar *) widgets.progress, "");

#ifdef USE_GTK3
gtk_widget_set_margin_top (widgets.progress, 6);
gtk_progress_bar_set_show_text ((GtkProgressBar *) widgets.progress, true);
gtk_widget_set_margin_top (widgets.progress, 4);
gtk_grid_attach ((GtkGrid *) grid, widgets.progress, 0, 8, 2, 1);
#else
gtk_table_set_row_spacing ((GtkTable *) grid, 7, 4);
Expand Down

0 comments on commit 8b3b7ad

Please sign in to comment.