[Spike411] Facebook iconset for Gajim. A great thanks to Jakub Szypulka for is iconset: http://cubestuff.wordpress.com/2008/05/21/facebook-goes-tango/

This commit is contained in:
Yann Leboulanger 2009-06-27 09:50:50 +02:00
parent 008c98da44
commit fda322706b
19 changed files with 7 additions and 2 deletions

View File

@ -5,3 +5,4 @@ Guillaume Morin
Josef Vybíral
Membris Khan
Rederick Asher
Jakub Szypulka

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 500 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 977 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 877 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -344,12 +344,14 @@ def get_transport_name_from_jid(jid, use_config_setting = True):
host = host_splitted[0]
if host in ('aim', 'irc', 'icq', 'msn', 'sms', 'tlen', 'weather', 'yahoo',
'mrim'):
'mrim', 'facebook'):
return host
elif host == 'gg':
return 'gadu-gadu'
elif host == 'jit':
return 'icq'
elif host == 'facebook':
return 'facebook'
else:
return None
@ -384,7 +386,7 @@ def get_hostname_from_account(account_name, use_srv = False):
def get_notification_image_prefix(jid):
'''returns the prefix for the notification images'''
transport_name = get_transport_name_from_jid(jid)
if transport_name in ('aim', 'icq', 'msn', 'yahoo'):
if transport_name in ('aim', 'icq', 'msn', 'yahoo', 'facebook'):
prefix = transport_name
else:
prefix = 'jabber'

View File

@ -109,6 +109,8 @@ def _gen_agent_type_info():
('_jid', 'yahoo'): (False, 'yahoo.png'),
('gateway', 'mrim'): (False, 'mrim.png'),
('_jid', 'mrim'): (False, 'mrim.png'),
('gateway', 'facebook'): (False, 'facebook.png'),
('_jid', 'facebook'): (False, 'facebook.png'),
}
# Category type to "human-readable" description string, and sort priority