From fda322706bef0b4dfa2d47c4e04454dad8b6b663 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 27 Jun 2009 09:50:50 +0200 Subject: [PATCH] [Spike411] Facebook iconset for Gajim. A great thanks to Jakub Szypulka for is iconset: http://cubestuff.wordpress.com/2008/05/21/facebook-goes-tango/ --- THANKS.artists | 1 + data/iconsets/transports/facebook/16x16/away.png | Bin 0 -> 428 bytes data/iconsets/transports/facebook/16x16/chat.png | Bin 0 -> 552 bytes data/iconsets/transports/facebook/16x16/dnd.png | Bin 0 -> 428 bytes .../transports/facebook/16x16/not_in_roster.png | Bin 0 -> 500 bytes .../transports/facebook/16x16/offline.png | Bin 0 -> 458 bytes .../transports/facebook/16x16/online.png | Bin 0 -> 552 bytes data/iconsets/transports/facebook/16x16/xa.png | Bin 0 -> 428 bytes data/iconsets/transports/facebook/32x32/away.png | Bin 0 -> 811 bytes data/iconsets/transports/facebook/32x32/chat.png | Bin 0 -> 1054 bytes data/iconsets/transports/facebook/32x32/dnd.png | Bin 0 -> 811 bytes .../transports/facebook/32x32/not_in_roster.png | Bin 0 -> 977 bytes .../transports/facebook/32x32/offline.png | Bin 0 -> 877 bytes .../transports/facebook/32x32/online.png | Bin 0 -> 1054 bytes data/iconsets/transports/facebook/32x32/xa.png | Bin 0 -> 811 bytes .../transports/facebook/48x48/offline.png | Bin 0 -> 1254 bytes .../transports/facebook/48x48/online.png | Bin 0 -> 1521 bytes src/common/gajim.py | 6 ++++-- src/disco.py | 2 ++ 19 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 data/iconsets/transports/facebook/16x16/away.png create mode 100644 data/iconsets/transports/facebook/16x16/chat.png create mode 100644 data/iconsets/transports/facebook/16x16/dnd.png create mode 100644 data/iconsets/transports/facebook/16x16/not_in_roster.png create mode 100644 data/iconsets/transports/facebook/16x16/offline.png create mode 100644 data/iconsets/transports/facebook/16x16/online.png create mode 100644 data/iconsets/transports/facebook/16x16/xa.png create mode 100644 data/iconsets/transports/facebook/32x32/away.png create mode 100644 data/iconsets/transports/facebook/32x32/chat.png create mode 100644 data/iconsets/transports/facebook/32x32/dnd.png create mode 100644 data/iconsets/transports/facebook/32x32/not_in_roster.png create mode 100644 data/iconsets/transports/facebook/32x32/offline.png create mode 100644 data/iconsets/transports/facebook/32x32/online.png create mode 100644 data/iconsets/transports/facebook/32x32/xa.png create mode 100644 data/iconsets/transports/facebook/48x48/offline.png create mode 100644 data/iconsets/transports/facebook/48x48/online.png diff --git a/THANKS.artists b/THANKS.artists index 728d456e1..b6501e6e8 100644 --- a/THANKS.artists +++ b/THANKS.artists @@ -5,3 +5,4 @@ Guillaume Morin Josef Vybíral Membris Khan Rederick Asher +Jakub Szypulka diff --git a/data/iconsets/transports/facebook/16x16/away.png b/data/iconsets/transports/facebook/16x16/away.png new file mode 100644 index 0000000000000000000000000000000000000000..4bb8de1bba7982adb070d33fa689cf2b9562a0bd GIT binary patch literal 428 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf2?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR46jpoT<-(k2`U^pu7V~H zx$eAE_;xEV+Uv64rlhp8{r~Tu?Yr^yp{1A}r(OEQ3u~OdIK6rG;Bw#jqAsB;jTQo| zCnw!y6FZQ_arRZ|gyXYM3D)>+Wd8fkiA}?c!>;^5%Pp53rZ;kwkLs<-Yy5vK?!9Ap zQnj2zl>3HzU7mN@bHA5&;Q};ya}6G8ho_3`ycgx5u%Ytd?0M{;6d97mNQ)?4Oga U%IuC?4-8obPgg&ebxsLQ09-1rL;wH) literal 0 HcmV?d00001 diff --git a/data/iconsets/transports/facebook/16x16/chat.png b/data/iconsets/transports/facebook/16x16/chat.png new file mode 100644 index 0000000000000000000000000000000000000000..bc42cf9b0b3251a61786d99628207d2978969cb2 GIT binary patch literal 552 zcmV+@0@wYCP))8iP zGSW4Gj)dT61D@XN(mi()fStX9G>Hk`k!jTcBIW}wbd~{l@bV)+fA69ch>Tnx0u*5? z!uG4XNBTEUt^u(2XlryZ9*ZEs&vh_a^<2c51LxcnV0Ha10G~JSAL;8-5*k2NR&!sW zu1Vbo-vIKm{BMLwy{f7PFti21JJ#=X=K>zyym+|YeE*HSD8~Ug;vMoY*USiGns|q` zMFTh(T0(HVe)nnW;Hm=tVzLC2C1j~a#}RQHp@1NQ_d-!Q%F59n q>;qV>pw}Pd8~s7P(02x`g5F=w(8@aM?(+5k00002?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR46jpoT<-(k2`U^pu7V~H zx$eAE_;xEV+Uv64rlhp8{r~Tu?Yr^yp{1A}r(OEQ3u~OdIK6rG;Bw#jqAsB;jTQo| zCnw!y6FZQ_arRZ|gyXYM3D)>+Wd8fkiA}?c!>;^5%Pp53rZ;kwkLs<-Yy5vK?!9Ap zQnj2zl>3HzU7mN@bHA5&;Q};ya}6G8ho_3`ycgx5u%Ytd?0M{;6d97mNQ)?4Oga U%IuC?4-8obPgg&ebxsLQ09-1rL;wH) literal 0 HcmV?d00001 diff --git a/data/iconsets/transports/facebook/16x16/not_in_roster.png b/data/iconsets/transports/facebook/16x16/not_in_roster.png new file mode 100644 index 0000000000000000000000000000000000000000..2666be91a51d023254e2ddeeef2728a3f22a742e GIT binary patch literal 500 zcmVW@ZM8Z6-7}no#y0u&i!!6`NieLsA`gBDTBeF zO8}OamQmHj0N5yM9Zb`V&5cdgd+RJNE-@aD+5fUfoXjsa08wOH0bdUeS^c;Qz-TnY zS_eSvTmuNhpcSz4VFiHiN8h-5 zVGuS6y!USgYNt9$UDuL8ngmr2?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR4`mGcQj ziV}I{I+MKhW;su4)J-dU_WOUTJ%N&{cn*wjLBv|~J*CCm_jNzo5wfeQ|S`2&k?!WZ9 zRQ)SY2*-|Hd*+=ye_oHFqGFf&`&~DF+fVF_lBm7>{=^g`^+-EbgHiz#oi_@XWf=b$ zHC*gr{cw=EprRneV#5CH@~9SpWqf@c;XG|HNb(~uA yn~H@gMIol!L*}V?3QTMiofx(G=gu!y{~4-!I$qnm3cmq{JA)8iP zGSW4Gj)dT61D@XN(mi()fStX9G>Hk`k!jTcBIW}wbd~{l@bV)+fA69ch>Tnx0u*5? z!uG4XNBTEUt^u(2XlryZ9*ZEs&vh_a^<2c51LxcnV0Ha10G~JSAL;8-5*k2NR&!sW zu1Vbo-vIKm{BMLwy{f7PFti21JJ#=X=K>zyym+|YeE*HSD8~Ug;vMoY*USiGns|q` zMFTh(T0(HVe)nnW;Hm=tVzLC2C1j~a#}RQHp@1NQ_d-!Q%F59n q>;qV>pw}Pd8~s7P(02x`g5F=w(8@aM?(+5k00002?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR46jpoT<-(k2`U^pu7V~H zx$eAE_;xEV+Uv64rlhp8{r~Tu?Yr^yp{1A}r(OEQ3u~OdIK6rG;Bw#jqAsB;jTQo| zCnw!y6FZQ_arRZ|gyXYM3D)>+Wd8fkiA}?c!>;^5%Pp53rZ;kwkLs<-Yy5vK?!9Ap zQnj2zl>3HzU7mN@bHA5&;Q};ya}6G8ho_3`ycgx5u%Ytd?0M{;6d97mNQ)?4Oga U%IuC?4-8obPgg&ebxsLQ09-1rL;wH) literal 0 HcmV?d00001 diff --git a/data/iconsets/transports/facebook/32x32/away.png b/data/iconsets/transports/facebook/32x32/away.png new file mode 100644 index 0000000000000000000000000000000000000000..c89b9304dbd0114a3626758b9c14838f949be6b6 GIT binary patch literal 811 zcmV+`1JwM9P)p8ynh=-rHO#+s?$oSNPp1JGb4ue=A z3Q!;tr6o)wi9c)5I_3k=$Y9GPuLUr`R@IB&F@Z>sup6QlbnaK~s!SOn5zF#?5T10$DMb^W-QPD+9N_i(h?$@;p(&2T5ce@|AEKnGW| z-dzDeu3RKJD!um+{9;@G8Nd{@A~1m9WB>}77zqV}KH!@e{U^{;0s5hUNx2j=u{X3HZmvMfqgtcY=r>9>>xRok_?1LBIUOhg1dFI;ZH`gtKlQtjlfL{?_2?&Hx piZqakyhCrcf(FWjgFK3S`7ffY&k&BewX6UD002ovPDHLkV1n}bTwVYG literal 0 HcmV?d00001 diff --git a/data/iconsets/transports/facebook/32x32/chat.png b/data/iconsets/transports/facebook/32x32/chat.png new file mode 100644 index 0000000000000000000000000000000000000000..65695e9e541a77e61b7f0372e09efbb9e7bc8b94 GIT binary patch literal 1054 zcmV+(1mXLMP)BMty{Ah1T?7h zmsz^KzAxYawaq4nMk=Uk=ZL-S6G{eD-L9M;7!G*p6Cqo~?K;MIczym@+> zAO)VbwqGwbEv0}KR^XLqCcD5x>$tkK#?_l^RQi3Us>53fNDcu(3&+5b!W z(b>vLBLwuGX{#7<|vsS?>&;!cAXta6f^UGJ3PdzxaY`L8R3e5k%nAOIJF9*goHbBZD0koVH@isS-twg~cW7!urJ+ zH)<0YTKW0oPv)B&2No7@%!rt-FQvUORTo9Im9N%rTsj}))&&>?s=#F24g)2M1^#`p z0Sl}H%fK&jd)EV+z#ZUspbqrM1oql2unDZjcul|wEh+kdfw=YA+ugTKfsocF@5OES Y4}~4&IUUPDaR2}S07*qoM6N<$g4S;A^Z)<= literal 0 HcmV?d00001 diff --git a/data/iconsets/transports/facebook/32x32/dnd.png b/data/iconsets/transports/facebook/32x32/dnd.png new file mode 100644 index 0000000000000000000000000000000000000000..c89b9304dbd0114a3626758b9c14838f949be6b6 GIT binary patch literal 811 zcmV+`1JwM9P)p8ynh=-rHO#+s?$oSNPp1JGb4ue=A z3Q!;tr6o)wi9c)5I_3k=$Y9GPuLUr`R@IB&F@Z>sup6QlbnaK~s!SOn5zF#?5T10$DMb^W-QPD+9N_i(h?$@;p(&2T5ce@|AEKnGW| z-dzDeu3RKJD!um+{9;@G8Nd{@A~1m9WB>}77zqV}KH!@e{U^{;0s5hUNx2j=u{X3HZmvMfqgtcY=r>9>>xRok_?1LBIUOhg1dFI;ZH`gtKlQtjlfL{?_2?&Hx piZqakyhCrcf(FWjgFK3S`7ffY&k&BewX6UD002ovPDHLkV1n}bTwVYG literal 0 HcmV?d00001 diff --git a/data/iconsets/transports/facebook/32x32/not_in_roster.png b/data/iconsets/transports/facebook/32x32/not_in_roster.png new file mode 100644 index 0000000000000000000000000000000000000000..faaaa1ccd5625bcb0468cfb551506e3d3e0563d7 GIT binary patch literal 977 zcmV;?11|iDP)E8$}p~pKo@(uH(`=1=W$#LYvl+;DkgDO%O=X z6A}$@jVe*vA3;^YrD@Y^s~(_#0Er7oaD-DKR#HIXLJuWCB}fG=ZE1*Odv|t*!>*mo z#)<3@C$D79&hG5K&-Z=fomsKgvYYZ-2QN-c42w3?*4ilx`F@xQG)3eS>#GlctX3Bt z0MTap;K653zc6|{w|8$5-}mu-AJ6mgJcaT+JmsO3LIe;&5G)pJEY=!~F~qSUHZfXj zVjZL72(2|yq^Z?v`8&VdJ^k?EV}P>`fVFn&`O#y!f1W&M@!lW(NC1UGfze|}a@D^d zO|<}28vydfVv$;{))#Ytdc96@V1TtH_SX*ZJ#Who9~?Zu9_0G{d{U}$KF z_s*On2!gK0ZwjE4qF25B);sIWwbm>wEb#Nf9g4*wN1i*nYM9Bg10YIz1~`29*>&fx zUBAlw{9MQJ*)lsJE9o8J(C{IrZ>{C_?VmOrpDnYS0qMR3moCmAN+=Wx&Us@D=ik53 z?$>I|%v`y=3gEdO?u_U`l}ZKakTK8ms2s1f`%6np&h>1NPS4W+g(*AF+zj-vGFGdz zh!Q5oUtV|Z)_3!0tpQkBS#bf_1i*B>Y<3$!?=pbiff8hcbpD3pC&n3jX{_Uoz3iS(y*Wu3h8?e! z%Vj?O?2FC-o0)Wa?QSHc)P_rY)s z63}6@ar6FPf8I!a8v+~vhJlf^-3NGU!rBg5AO@CzMc~)8{nrOV;0bUKXaI#2V7nCq zb>LCz7Xn5|Qn3dZNZTCS8+}U_h)9B5N!#c@2&OL$)_XCH00000NkvXXu0mjfZiv9> literal 0 HcmV?d00001 diff --git a/data/iconsets/transports/facebook/32x32/offline.png b/data/iconsets/transports/facebook/32x32/offline.png new file mode 100644 index 0000000000000000000000000000000000000000..2ae605802e05205bac01495e1cea2e78e2dbc73d GIT binary patch literal 877 zcmV-z1CsoSP)4l1m60T)|5ET-Sz$;W; z@dm6bR){rgUVsG%v0%vtfy4qKL{+swCAuq=(rc(_lJVFqW)d<Kbeu#-kS&4d5R{H+*z3HVGfM=WsgQo_k3Kt5= zl$S!3phO`eNK`5%fFM$PBwz_mv{?J^GRB0ZHCSUX#!xDky~S^fQ|oK%0C!^m#+u1O zA)gGiX0x=>4+C%h^{?2e?+{wtU3i|y z`LlVl*&La42G{kl)}VF3PHBhtAKpb8Dt2ECKqQ`QH^xq%;qt|+Boc{OyGR1pP2jq2 ztxZWwfX*Grq%&N(bQPr%`*&s^2j~Le{JBDtxG{!eaf_|uCXSONo6Xiq#5Lj$bSw`8 z0|QNMvvV`7{94|%eD#;=Vl$4Q06QdI0gM6psLTNgdOI2{5CBDB30REE-wsd#wt(+I2}nl( zy^a9b0oEhE3SflLiWK2MOc4!^J^)z2C;XFtqSF5hg6tL`ZXFjY00000NkvXXu0mjf Dz*dOZ literal 0 HcmV?d00001 diff --git a/data/iconsets/transports/facebook/32x32/online.png b/data/iconsets/transports/facebook/32x32/online.png new file mode 100644 index 0000000000000000000000000000000000000000..65695e9e541a77e61b7f0372e09efbb9e7bc8b94 GIT binary patch literal 1054 zcmV+(1mXLMP)BMty{Ah1T?7h zmsz^KzAxYawaq4nMk=Uk=ZL-S6G{eD-L9M;7!G*p6Cqo~?K;MIczym@+> zAO)VbwqGwbEv0}KR^XLqCcD5x>$tkK#?_l^RQi3Us>53fNDcu(3&+5b!W z(b>vLBLwuGX{#7<|vsS?>&;!cAXta6f^UGJ3PdzxaY`L8R3e5k%nAOIJF9*goHbBZD0koVH@isS-twg~cW7!urJ+ zH)<0YTKW0oPv)B&2No7@%!rt-FQvUORTo9Im9N%rTsj}))&&>?s=#F24g)2M1^#`p z0Sl}H%fK&jd)EV+z#ZUspbqrM1oql2unDZjcul|wEh+kdfw=YA+ugTKfsocF@5OES Y4}~4&IUUPDaR2}S07*qoM6N<$g4S;A^Z)<= literal 0 HcmV?d00001 diff --git a/data/iconsets/transports/facebook/32x32/xa.png b/data/iconsets/transports/facebook/32x32/xa.png new file mode 100644 index 0000000000000000000000000000000000000000..c89b9304dbd0114a3626758b9c14838f949be6b6 GIT binary patch literal 811 zcmV+`1JwM9P)p8ynh=-rHO#+s?$oSNPp1JGb4ue=A z3Q!;tr6o)wi9c)5I_3k=$Y9GPuLUr`R@IB&F@Z>sup6QlbnaK~s!SOn5zF#?5T10$DMb^W-QPD+9N_i(h?$@;p(&2T5ce@|AEKnGW| z-dzDeu3RKJD!um+{9;@G8Nd{@A~1m9WB>}77zqV}KH!@e{U^{;0s5hUNx2j=u{X3HZmvMfqgtcY=r>9>>xRok_?1LBIUOhg1dFI;ZH`gtKlQtjlfL{?_2?&Hx piZqakyhCrcf(FWjgFK3S`7ffY&k&BewX6UD002ovPDHLkV1n}bTwVYG literal 0 HcmV?d00001 diff --git a/data/iconsets/transports/facebook/48x48/offline.png b/data/iconsets/transports/facebook/48x48/offline.png new file mode 100644 index 0000000000000000000000000000000000000000..fd33197c2a7000946b00d2bcaa187fb8e284050e GIT binary patch literal 1254 zcmV7t{k6gsLJ%4mSh^B&w36NDwC^B~Ih7-JRjEvyScTCb)L|@kk@j z=kD{&yzjd^vlgv2(+q3e1O|nZRJpnNV9j!!jW7uBrS%yh0^6~_R(|l+{rg{T_clte z32kmZShGF%yOrhTOlfJ!a$OfoEJOrE5J1EtDoRuj?Oza*p^0v#(K=4OWsTMfr8Qbb zdEfV`R4QtBZ?B>J;BK#o3$tsv&c@2}a;8u$TJ?I3voqD_gbf!WLa|h|fXwdR-UjeR zXZr;o2!rrmskCG@n+=p2FL?m1HLX^QVyR>qlkP&26FaW!P6YWFT5DX_g#?R9bkK8q z9zH~b#Tx|*izV{;JTqPf$8peF6NVvS7|?7ssWZ09M@|J?1W>r=qsKHxY`B;XQ=2##}+!d2tC z`u5FiZ0O60CvTgX78s{!1(I=XPW4g4!e?9U;+iCaY`|v$rF%AbT1&cHWz?DP!{!1CKGmrhuy6noEiQUlAiy-Kuk)z;#Q{dc^P znR*jSi!2s^oWqLxPM(0+tVP6%$pSbg6DK2JqN9)vC_sw{7U#qrU`sPiNovBw;= zY73Yl;%WgB3$RT?76^U6g@|x`d^A=ODhxS(afFEA2R=Y(IL;W(5-V|l43MkUYL5>O z4)2tfN^<(LO7-+)U?RUi{q2>KEpqG@OGv9HBBOobpRHNIk_>p}_AN{n}rcI-?Ch&bKl>@!Av*VYy z$`65gpaC=iUkveCU;!usOY7?&t*?Eu_Ia^TSe3Ld3nPNoS{)o7KH1*d{-#|1p$zN; z2f)8TT>y_rKn_?W5>YVa4B&DerAEr#B%f%;tH7Zl|Borx9n&cwT9TKBurhg%$h<~P zK1R%~1)KpVhF8l#0cnp631eC?S33S(3x+CPLnjCMQe?;<6al(anF1&bjNS>FAJ^pe;3rl>^t89 QBme*a07*qoM6N<$g82DJ+5i9m literal 0 HcmV?d00001 diff --git a/data/iconsets/transports/facebook/48x48/online.png b/data/iconsets/transports/facebook/48x48/online.png new file mode 100644 index 0000000000000000000000000000000000000000..2501acaab51de52c513812f2d531f4695abe5c2e GIT binary patch literal 1521 zcmVg7SH zPq7d6K@fcML3}O+!58tNf>!iD5TS@7DoBMY7R5eUf>_Z?3r!mm)Lvq1noD!e?#}#t z*xlqLXU}DGwmtR-!|u-P?tFjq{r$c(yQ4&eyV-Q70kmswTIIHpqx-a{4@+nc3X*!y zoic?AmFs+E1N;8?iPulpw66@IZ6inb6}p`7cRaYGxMj;G-Bs{#9gU+ET7lLoK36yz zl#1$=QYZyVrJxY70s>eohzQ1l6~S7;#@EKmVhN4K7@^_^{QcKuJ3cm64gSC5YJD0!Ast z6Fb-O)UFNe+|tjw{w{ipF4hWV->~2trfyca@^6_VpPpTYDa}$Ha1;@RIoqz`HN5fC z9yYJ4xq@DfdhLtGf*mIes0waDDq9>CwC9lZJWAT=Ge(G z&QDG=J@0c*slf1HiHC*Jo)|4v?P;mAbvUZC7qAwA@do8~|xsg}#1! z1kcsz2FkN-sE=>o8L6rN@SAgd{^P}Ebt=n5mIni+ZV#{C>=T>TDwUyvt84nNHw>u` zNRBzM8cXj#V-n}7LaVa7nSpc_%)o%;z`*`PU!as?Xl)Olz4d(E`<^@WC4pHEHZ-<9 z2COx0GvEg{K86kNs{{c-*u1ZLc?8|RTuz2FdRGaYt|4l@yN6vM)f`g6VnQ$!97|>EQNI#Nd4jnLzDZDtyP;uLQqeI zG=N$%4RO4QT}rTaOA~;NpN*Cp2?I(goqz>!xBlFz+1bLg#iFCmUA)2{ zW0%_o^6p1Jtom8U(X8w5Ve0yvSby#m&`(6G0c;XNE|FKInTgTkPS-O}3q`N5x1c=N z!EqF><3yW%j>6FzM@RpBTt}l+yz!^i;yFr1i4|}DRh!6CY>UL3eaVKOwb;eYK1&c- zu1_z>wHvd+%*5z%pahhG3J@d?Bw^%DUpP5#DsvzBTlbF4_HEn)s>6H9VuRVMXJ;lx zPs~pKG)|PK4l!;86o76bYSsgTz=rs`7(b9Wc}J1QB_JB{8DI*y2K*CWFSzkdArU2W zF<={?7hqATI$;SmAD9Pj#<(hRy|_eRLn1E~QF6=^X3;00000NkvXXu0mjfGmX70 literal 0 HcmV?d00001 diff --git a/src/common/gajim.py b/src/common/gajim.py index 6b160c3b8..3e3c2a5a5 100644 --- a/src/common/gajim.py +++ b/src/common/gajim.py @@ -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' diff --git a/src/disco.py b/src/disco.py index 1496f8eef..f30c127c6 100644 --- a/src/disco.py +++ b/src/disco.py @@ -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