OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5daa339
)
tools: Use device Alias instead of Name in mpris-player
author
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Thu, 31 Jan 2013 15:33:52 +0000
(09:33 -0600)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 31 Jan 2013 20:40:57 +0000
(14:40 -0600)
User may have set a different Name using Alias, Alias should always
be set.
tools/mpris-player.c
patch
|
blob
|
history
diff --git
a/tools/mpris-player.c
b/tools/mpris-player.c
index
aafa142
..
b82b5df
100644
(file)
--- a/
tools/mpris-player.c
+++ b/
tools/mpris-player.c
@@
-1422,7
+1422,7
@@
static void register_player(GDBusProxy *proxy)
if (device == NULL)
return;
- if (!g_dbus_proxy_get_property(device, "
Name
", &iter))
+ if (!g_dbus_proxy_get_property(device, "
Alias
", &iter))
return;
dbus_message_iter_get_basic(&iter, &name);