diff options
| author | kj_sh604 | 2026-02-13 23:49:19 -0500 |
|---|---|---|
| committer | kj_sh604 | 2026-02-13 23:49:19 -0500 |
| commit | ed47bee7378934398ca5e04bf7a84cb6115c0a5d (patch) | |
| tree | c80254c7b148d5160a6fa3939c5be8483a5d66bb | |
| parent | 5ffea46b4a4ffd6d0c7511861347143ec015cd8e (diff) | |
| -rw-r--r-- | src/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -448,6 +448,13 @@ on_format_changed(GtkWidget *combo, gpointer data) format_idx = gtk_combo_box_get_active(GTK_COMBO_BOX(app->format_combo)); + // update button label based on format + if (format_idx == FMT_MPV) { + gtk_button_set_label(GTK_BUTTON(app->download_button), "stream"); + } else { + gtk_button_set_label(GTK_BUTTON(app->download_button), "download"); + } + if (format_idx == FMT_MPV && !app->mpv_available) { gtk_widget_set_sensitive(app->download_button, FALSE); set_status(app, "mpv is not installed"); |
