Skip to content

Commit

Permalink
pltbrowser: fix current track playback indication in GTK2 (fixes #3075)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksiy-Yakovenko committed Jun 25, 2024
1 parent 3156d1c commit 460d010
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/pltbrowser/pltbrowser.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,14 @@ fill_pltbrowser_rows (gpointer user_data)
playing_pixbuf = gtk_icon_theme_load_icon (icon_theme, "media-playback-pause", 16, 0, NULL);
}
else if (playback_state == DDB_PLAYBACK_STATE_STOPPED) {
playing_pixbuf = gtk_icon_theme_load_icon (icon_theme, "media-playback-stop", 16, 0, NULL);
playing_pixbuf = NULL;
}
else {
#if GTK_CHECK_VERSION(3,0,0)
playing_pixbuf = gtk_icon_theme_load_icon (icon_theme, "media-playback-start", 16, 0, NULL);
#else
playing_pixbuf = gtk_icon_theme_load_icon (icon_theme, "media-playback-start-ltr", 16, 0, NULL);
#endif
}
}
}
Expand Down

0 comments on commit 460d010

Please sign in to comment.