main: Set `PULSE_PROP_media.role`
This commit is contained in:
parent
30fa0480a3
commit
2b3fddd015
|
@ -177,8 +177,4 @@ void GstStartup::SetEnvironment() {
|
|||
Utilities::SetEnv("GST_REGISTRY", gst_registry_filename);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBPULSE
|
||||
Utilities::SetEnv("PULSE_PROP_media.role", "music");
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
|
@ -132,6 +132,7 @@ int main(int argc, char *argv[]) {
|
|||
// This makes us show up nicely in gnome-volume-control
|
||||
g_set_application_name("Strawberry");
|
||||
g_setenv("PULSE_PROP_application.icon_name", "strawberry", TRUE);
|
||||
g_setenv("PULSE_PROP_media.role", "music", TRUE);
|
||||
|
||||
RegisterMetaTypes();
|
||||
|
||||
|
|
Loading…
Reference in New Issue