summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/sunshine.manager11
-rw-r--r--sunshine/protocol.py2
2 files changed, 12 insertions, 1 deletions
diff --git a/data/sunshine.manager b/data/sunshine.manager
index 9efa416..d27c22f 100644
--- a/data/sunshine.manager
+++ b/data/sunshine.manager
@@ -4,6 +4,7 @@ BusName = org.freedesktop.Telepathy.ConnectionManager.sunshine
ObjectPath = /org/freedesktop/Telepathy/ConnectionManager/sunshine
[Protocol gadugadu]
+Interfaces=org.freedesktop.Telepathy.Protocol.Interface.Avatars;org.freedesktop.Telepathy.Protocol.Interface.Presence;
param-account = s required
param-password = s required
param-server = s
@@ -16,3 +17,13 @@ default-port = 8074
default-export-contacts = false
default-use-ssl = true
default-use-specified-server = false
+SupportedAvatarMIMETypes=image/png;image/jpeg;image/gif;
+MinimumAvatarHeight=96
+RecommendedAvatarHeight=96
+MaximumAvatarHeight=256
+MinimumAvatarWidth=96
+RecommendedAvatarWidth=96
+MaximumAvatarWidth=256
+MaximumAvatarBytes=512000
+EnglishName=Gadu-Gadu
+Icon=im-gadugadu
diff --git a/sunshine/protocol.py b/sunshine/protocol.py
index ce7f399..25bc833 100644
--- a/sunshine/protocol.py
+++ b/sunshine/protocol.py
@@ -34,7 +34,7 @@ class SunshineProtocol(telepathy.server.Protocol,
_proto = "gadugadu"
_vcard_field = ""
_english_name = "Gadu-Gadu"
- _icon = "im-gadu"
+ _icon = "im-gadugadu"
_secret_parameters = set([
'password'