]> git.tdb.fi Git - ext/subsurface.git/blobdiff - gtk-gui.c
Show dive import text updates in the progress bar
[ext/subsurface.git] / gtk-gui.c
index 469840b7d8d3c5857e6c59f996a5bb37b175e0cb..98c0111eab530ef11de4027f54217f45eed45a27 100644 (file)
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -1113,6 +1113,10 @@ void update_progressbar(progressbar_t *progress, double value)
        gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(progress->bar), value);
 }
 
+void update_progressbar_text(progressbar_t *progress, const char *text)
+{
+       gtk_progress_bar_set_text(GTK_PROGRESS_BAR(progress->bar), text);
+}
 
 void set_filename(const char *filename)
 {