summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Klinikowski <kkszysiu@gmail.com>2011-05-07 19:50:03 +0200
committerKrzysztof Klinikowski <kkszysiu@gmail.com>2011-05-07 19:50:03 +0200
commitb288fe75b601c4ffbb1195a1d33af1afdcb22256 (patch)
treee8e54a25aa1dbfbd07e0a48a0f7c8297b9a74f4f
parent8ff397fe727857e1207a6f4b3b1acd915456d877 (diff)
Fixed manager file.
-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'