summaryrefslogtreecommitdiff
path: root/src/ndef.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2013-10-18 01:00:25 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2013-10-18 01:07:34 +0200
commit0d5ba1dd06ca27ad8a68785277a954b881c2ab7d (patch)
tree24c56df6b32bb01dc2a8cb1fa72b595cabb8a334 /src/ndef.c
parentbc0817f0d3e26b4f9921c3db4123f9a0f6ba5cd0 (diff)
downloadneard-0d5ba1dd06ca27ad8a68785277a954b881c2ab7d.tar.gz
neard-0d5ba1dd06ca27ad8a68785277a954b881c2ab7d.tar.bz2
neard-0d5ba1dd06ca27ad8a68785277a954b881c2ab7d.zip
ndef: Simplify D-Bus exported record type strings
"Android Application Record (AAR)" is not really D-Bus clients friendly.
Diffstat (limited to 'src/ndef.c')
-rw-r--r--src/ndef.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ndef.c b/src/ndef.c
index af2b883..5c241c8 100644
--- a/src/ndef.c
+++ b/src/ndef.c
@@ -488,14 +488,14 @@ static void append_record(struct near_ndef_record *record,
break;
case RECORD_TYPE_MIME_TYPE:
- type = "MIME Type (RFC 2046)";
+ type = "MIMEType";
near_dbus_dict_append_basic(dict, "Type",
DBUS_TYPE_STRING, &type);
append_mime_payload(record->mime, dict);
break;
case RECORD_TYPE_EXT_AAR:
- type = "Android Application Record (AAR)";
+ type = "AAR";
near_dbus_dict_append_basic(dict, "Type",
DBUS_TYPE_STRING, &type);
append_aar_payload(record->aar, dict);