[gnome-keyring] [daemon] Set 'text/plain' content type on secrets returned from daemon
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring] [daemon] Set 'text/plain' content type on secrets returned from daemon
- Date: Wed, 4 Apr 2012 05:52:06 +0000 (UTC)
commit 561db8dbce88175f4814c1b7a56fc313eea8a199
Author: Stef Walter <stefw gnome org>
Date: Wed Apr 4 07:50:54 2012 +0200
[daemon] Set 'text/plain' content type on secrets returned from daemon
* All the secrets that gnome-keyring currently stores are text
daemon/dbus/gkd-secret-secret.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/dbus/gkd-secret-secret.c b/daemon/dbus/gkd-secret-secret.c
index fcaa7c3..c4ef3a4 100644
--- a/daemon/dbus/gkd-secret-secret.c
+++ b/daemon/dbus/gkd-secret-secret.c
@@ -158,7 +158,7 @@ gkd_secret_secret_parse (GkdSecretService *service, DBusMessage *message,
void
gkd_secret_secret_append (GkdSecretSecret *secret, DBusMessageIter *iter)
{
- const gchar *content_type = "application/octet-stream";
+ const gchar *content_type = "text/plain";
DBusMessageIter struc, array;
const gchar *path;
int length;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]