Add preliminary set_busy fuinction to activity bar
This commit is contained in:
@@ -105,5 +105,11 @@ void activity_bar_set_ready(ActivityBar *bar)
|
||||
gtk_spinner_stop(GTK_SPINNER(bar->spinner));
|
||||
}
|
||||
|
||||
void activity_bar_set_busy(ActivityBar *bar, const char *text)
|
||||
{
|
||||
gtk_label_set_text(GTK_LABEL(bar->label), (text ? text : "Working..."));
|
||||
gtk_spinner_start(GTK_SPINNER(bar->spinner));
|
||||
}
|
||||
|
||||
|
||||
/** @} */
|
||||
|
Reference in New Issue
Block a user