[telepathy-idle/master] Remove obnoxious default Quit message.

Will Thompson will.thompson at collabora.co.uk
Wed May 27 16:08:06 PDT 2009


---
 data/idle.manager             |    1 -
 src/idle-connection-manager.c |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/data/idle.manager b/data/idle.manager
index b578a9a..24bb09a 100644
--- a/data/idle.manager
+++ b/data/idle.manager
@@ -14,5 +14,4 @@ param-quit-message = s
 param-use-ssl = b
 default-port = 6667
 default-charset = UTF-8
-default-quit-message = So long and thanks for all the IRC - telepathy-idle IRC Connection Manager for Telepathy - http://telepathy.freedesktop.org
 default-use-ssl = false
diff --git a/src/idle-connection-manager.c b/src/idle-connection-manager.c
index fbd7ccd..b6ec9d3 100644
--- a/src/idle-connection-manager.c
+++ b/src/idle-connection-manager.c
@@ -94,7 +94,7 @@ static const TpCMParamSpec _params[] = {
 	{"password", DBUS_TYPE_STRING_AS_STRING, G_TYPE_STRING, 0, NULL, G_STRUCT_OFFSET(Params, password)},
 	{"fullname", DBUS_TYPE_STRING_AS_STRING, G_TYPE_STRING, 0, NULL, G_STRUCT_OFFSET(Params, fullname)},
 	{"charset", DBUS_TYPE_STRING_AS_STRING, G_TYPE_STRING, TP_CONN_MGR_PARAM_FLAG_HAS_DEFAULT, "UTF-8", G_STRUCT_OFFSET(Params, charset)},
-	{"quit-message", DBUS_TYPE_STRING_AS_STRING, G_TYPE_STRING, TP_CONN_MGR_PARAM_FLAG_HAS_DEFAULT, "So long and thanks for all the IRC - telepathy-idle IRC Connection Manager for Telepathy - http://telepathy.freedesktop.org", G_STRUCT_OFFSET(Params, quit_message)},
+	{"quit-message", DBUS_TYPE_STRING_AS_STRING, G_TYPE_STRING, 0, NULL, G_STRUCT_OFFSET(Params, quit_message)},
 	{"use-ssl", DBUS_TYPE_BOOLEAN_AS_STRING, G_TYPE_BOOLEAN, TP_CONN_MGR_PARAM_FLAG_HAS_DEFAULT, GINT_TO_POINTER(FALSE), G_STRUCT_OFFSET(Params, use_ssl)},
 	{NULL, NULL, 0, 0, NULL, 0}
 };
-- 
1.5.6.5




More information about the telepathy-commits mailing list