Set GLib prgname and application name

This makes Mopidy properly show up in pulseaudio as "Mopidy" instead of
"python*"
This commit is contained in:
Piotr Dobrowolski 2017-06-13 17:19:32 +02:00
parent b0bf0ecb15
commit 2124c66d11

View File

@ -25,6 +25,8 @@ else:
gi.require_version('GstPbutils', '1.0')
from gi.repository import GstPbutils
GLib.set_prgname('mopidy')
GLib.set_application_name('Mopidy')
REQUIRED_GST_VERSION = (1, 2, 3)