[Spike411] Facebook iconset for Gajim. A great thanks to Jakub Szypulka for is iconset: http://cubestuff.wordpress.com/2008/05/21/facebook-goes-tango/
|
@ -5,3 +5,4 @@ Guillaume Morin
|
||||||
Josef Vybíral
|
Josef Vybíral
|
||||||
Membris Khan
|
Membris Khan
|
||||||
Rederick Asher
|
Rederick Asher
|
||||||
|
Jakub Szypulka
|
||||||
|
|
BIN
data/iconsets/transports/facebook/16x16/away.png
Normal file
After Width: | Height: | Size: 428 B |
BIN
data/iconsets/transports/facebook/16x16/chat.png
Normal file
After Width: | Height: | Size: 552 B |
BIN
data/iconsets/transports/facebook/16x16/dnd.png
Normal file
After Width: | Height: | Size: 428 B |
BIN
data/iconsets/transports/facebook/16x16/not_in_roster.png
Normal file
After Width: | Height: | Size: 500 B |
BIN
data/iconsets/transports/facebook/16x16/offline.png
Normal file
After Width: | Height: | Size: 458 B |
BIN
data/iconsets/transports/facebook/16x16/online.png
Normal file
After Width: | Height: | Size: 552 B |
BIN
data/iconsets/transports/facebook/16x16/xa.png
Normal file
After Width: | Height: | Size: 428 B |
BIN
data/iconsets/transports/facebook/32x32/away.png
Normal file
After Width: | Height: | Size: 811 B |
BIN
data/iconsets/transports/facebook/32x32/chat.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
data/iconsets/transports/facebook/32x32/dnd.png
Normal file
After Width: | Height: | Size: 811 B |
BIN
data/iconsets/transports/facebook/32x32/not_in_roster.png
Normal file
After Width: | Height: | Size: 977 B |
BIN
data/iconsets/transports/facebook/32x32/offline.png
Normal file
After Width: | Height: | Size: 877 B |
BIN
data/iconsets/transports/facebook/32x32/online.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
data/iconsets/transports/facebook/32x32/xa.png
Normal file
After Width: | Height: | Size: 811 B |
BIN
data/iconsets/transports/facebook/48x48/offline.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
data/iconsets/transports/facebook/48x48/online.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
|
@ -344,12 +344,14 @@ def get_transport_name_from_jid(jid, use_config_setting = True):
|
||||||
host = host_splitted[0]
|
host = host_splitted[0]
|
||||||
|
|
||||||
if host in ('aim', 'irc', 'icq', 'msn', 'sms', 'tlen', 'weather', 'yahoo',
|
if host in ('aim', 'irc', 'icq', 'msn', 'sms', 'tlen', 'weather', 'yahoo',
|
||||||
'mrim'):
|
'mrim', 'facebook'):
|
||||||
return host
|
return host
|
||||||
elif host == 'gg':
|
elif host == 'gg':
|
||||||
return 'gadu-gadu'
|
return 'gadu-gadu'
|
||||||
elif host == 'jit':
|
elif host == 'jit':
|
||||||
return 'icq'
|
return 'icq'
|
||||||
|
elif host == 'facebook':
|
||||||
|
return 'facebook'
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
@ -384,7 +386,7 @@ def get_hostname_from_account(account_name, use_srv = False):
|
||||||
def get_notification_image_prefix(jid):
|
def get_notification_image_prefix(jid):
|
||||||
'''returns the prefix for the notification images'''
|
'''returns the prefix for the notification images'''
|
||||||
transport_name = get_transport_name_from_jid(jid)
|
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
|
prefix = transport_name
|
||||||
else:
|
else:
|
||||||
prefix = 'jabber'
|
prefix = 'jabber'
|
||||||
|
|
|
@ -109,6 +109,8 @@ def _gen_agent_type_info():
|
||||||
('_jid', 'yahoo'): (False, 'yahoo.png'),
|
('_jid', 'yahoo'): (False, 'yahoo.png'),
|
||||||
('gateway', 'mrim'): (False, 'mrim.png'),
|
('gateway', 'mrim'): (False, 'mrim.png'),
|
||||||
('_jid', '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
|
# Category type to "human-readable" description string, and sort priority
|
||||||
|
|