Merge branch 'fix-142' into 'master'

Show app icon in PulseAudio settings

Closes #142

See merge request World/podcasts!125
This commit is contained in:
Jordan Petridis 2019-10-19 15:25:59 +00:00
commit deafa8f4d3

View File

@ -321,6 +321,9 @@ impl PdApplication {
bindtextdomain("gnome-podcasts", LOCALEDIR);
textdomain("gnome-podcasts");
// Make sure the app icon shows up in PulseAudio settings
env::set_var("PULSE_PROP_application.icon_name", APP_ID);
let application = Self::new();
// Weird magic I copy-pasted that sets the Application Name in the Shell.