Hi,

I'm trying to create a sound theme for next Mandriva Linux release and
I'm having some issues with libcanberra 0.6 :

I've created a .desktop file containing :
[Sound Theme]
Name=Ia Ora
Directories=stereo
Inherits=freedesktop

[stereo]
OutputProfile=stereo


If I set Inherits=freedesktop or no Inherists, sound event not present
in my theme but present in "freedesktop" theme are not located (I'm only
changing login and logout sound for my tests) and for instance,
canberra-gtk-play --id=bell  returns "failed to play sound: file or data
not found" (I know the warning has disappeared in git but the issue
remains).

If I set Inherits=foobar (where foobar doesn't exist), inheritance is
correctly handled.

I tried to decipher sound-theme-spec.c code to understand why
inheritance doesn't seem to be working but I failed for now. From my
debugging session, it seems freedesktop fallback theme is completely
ignored when libcanberra is testing all the various themes directory,
despite the fact freedesktop theme was correctly loaded by
load_theme_dir.

Help would be really appreciated.
-- 
Frederic Crozat <[EMAIL PROTECTED]>
Mandriva

_______________________________________________
libcanberra-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/libcanberra-discuss

Reply via email to