From 9b6a425aa41b3d3b0fcd34c3def7cb9476333928 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Cerveau?= Date: Fri, 23 Apr 2021 14:45:07 +0200 Subject: [PATCH] playback-test: add window title If playbin mode, display the current uri Part-of: --- tests/examples/playback/playback-test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/examples/playback/playback-test.c b/tests/examples/playback/playback-test.c index 350f338..cbaed94 100644 --- a/tests/examples/playback/playback-test.c +++ b/tests/examples/playback/playback-test.c @@ -3380,7 +3380,8 @@ create_ui (PlaybackApp * app) } else { playbin = NULL; } - + if (app->pipeline_type == 0) + gtk_window_set_title (GTK_WINDOW (app->window), app->current_path->data); /* do the packing stuff ... */ gtk_window_set_default_size (GTK_WINDOW (app->window), 250, 96); /* FIXME: can we avoid this for audio only? */ -- 2.7.4