# HG changeset patch # User William Pitcock # Date 1241636029 18000 # Node ID d4c3a48f1d9237d4fdd70a048cf52b2aeff64c1c # Parent b74c1fb4212f9631a1a6d718c91d295f88a88112 skins: make_mainwin_title(): give me my damn playlist position back. diff -r b74c1fb4212f -r d4c3a48f1d92 src/skins/ui_main.c --- a/src/skins/ui_main.c Wed May 06 12:10:28 2009 -0500 +++ b/src/skins/ui_main.c Wed May 06 13:53:49 2009 -0500 @@ -378,8 +378,10 @@ static gchar * make_mainwin_title(const gchar * title) { + Playlist *playlist = aud_playlist_get_active(); + if (title) - return g_strdup_printf(_("%s - Audacious"), title); + return g_strdup_printf(_("%d. %s - Audacious"), (aud_playlist_get_position(playlist) + 1), title); else return g_strdup(_("Audacious")); }