[vinagre] Save the protocol in bookmark file



commit 804c154f978b2fe0879af355b3888c889ade7e85
Author: Jonh Wendell <jwendell gnome org>
Date:   Fri Jul 31 13:41:18 2009 -0300

    Save the protocol in bookmark file

 vinagre/vinagre-connection.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vinagre/vinagre-connection.c b/vinagre/vinagre-connection.c
index 14e12bf..818b9a5 100644
--- a/vinagre/vinagre-connection.c
+++ b/vinagre/vinagre-connection.c
@@ -187,6 +187,8 @@ vinagre_connection_get_property (GObject *object, guint prop_id, GValue *value,
 static void
 default_fill_writer (VinagreConnection *conn, xmlTextWriter *writer)
 {
+  if (conn->priv->protocol)
+    xmlTextWriterWriteElement (writer, "protocol", conn->priv->protocol);
   xmlTextWriterWriteElement (writer, "name", conn->priv->name);
   xmlTextWriterWriteElement (writer, "host", conn->priv->host);
   xmlTextWriterWriteFormatElement (writer, "port", "%d", conn->priv->port);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]