]> code.delx.au - pulseaudio/commit
device-manager: Keep track as to whether or not the user specifically renamed the...
authorColin Guthrie <cguthrie@mandriva.org>
Fri, 2 Oct 2009 20:01:19 +0000 (21:01 +0100)
committerColin Guthrie <cguthrie@mandriva.org>
Fri, 2 Oct 2009 20:01:19 +0000 (21:01 +0100)
commitfdbb5500634bbe3481fb60ce373ad4f9c2063f75
tree08734885471bbfc0efbf3fc844c73f2b7cd9426d
parent6468dcf9d13c49299eba8c76ee41f4ff5fdba80f
device-manager: Keep track as to whether or not the user specifically renamed the device.

If the user has not (via our protocol extension) renamed a device, but it happens to now have
a different name (e.g. module-combine automatically updating the description for us or udev-db
getting better etc.) then make sure we update our cache with this updated version.

If the user has set a name, enforce it's use, even if the description is updated by some other
means (e.g. the user manually editing the proplist or another module doing it for them).
src/modules/module-device-manager.c