[Xfce4-commits] [apps/parole] 01/01: Set the window title to the playing filename when no ID3 tags are found

noreply at xfce.org noreply at xfce.org
Sun Feb 5 04:22:30 CET 2017


This is an automated email from the git hooks/post-receive script.

bluesabre pushed a commit to branch master
in repository apps/parole.

commit 9dd2dd017671de7da554709545a3ff2369df9739
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sat Feb 4 22:22:26 2017 -0500

    Set the window title to the playing filename when no ID3 tags are found
---
 src/parole-player.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/parole-player.c b/src/parole-player.c
index 2857b59..ad7e5cb 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -1878,6 +1878,7 @@ parole_player_media_tag_cb (ParoleGst *gst, const ParoleStream *stream, ParolePl
             /* No ID3, no problem! Show the filename instead */
             decoded = g_filename_from_uri(uri, NULL, NULL);
             filename = g_path_get_basename(decoded);
+            gtk_window_set_title (GTK_WINDOW (player->priv->window), filename);
             gtk_label_set_markup(GTK_LABEL(player->priv->audiobox_title), g_strdup_printf("<span color='#F4F4F4'><b><big>%s</big></b></span>", filename));
             g_free (filename);
             g_free (decoded);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list