diff --git a/pixmaps/flags/FLAGS_LICENCE b/pixmaps/flags/FLAGS_LICENCE new file mode 100644 index 000000000..368a8fef8 --- /dev/null +++ b/pixmaps/flags/FLAGS_LICENCE @@ -0,0 +1,2 @@ +Flag images found at http://www.hahn-hotel.com/flags/ +"All sets provided by us are free to use to anyone, for commercial or non-commercial websites." \ No newline at end of file diff --git a/pixmaps/flags/ad.png b/pixmaps/flags/ad.png new file mode 100644 index 000000000..0d2b04c25 Binary files /dev/null and b/pixmaps/flags/ad.png differ diff --git a/pixmaps/flags/ae.png b/pixmaps/flags/ae.png new file mode 100644 index 000000000..885be201e Binary files /dev/null and b/pixmaps/flags/ae.png differ diff --git a/pixmaps/flags/af.png b/pixmaps/flags/af.png new file mode 100644 index 000000000..d59b3a6dd Binary files /dev/null and b/pixmaps/flags/af.png differ diff --git a/pixmaps/flags/ag.png b/pixmaps/flags/ag.png new file mode 100644 index 000000000..20440ba20 Binary files /dev/null and b/pixmaps/flags/ag.png differ diff --git a/pixmaps/flags/ai.png b/pixmaps/flags/ai.png new file mode 100644 index 000000000..c71ec8310 Binary files /dev/null and b/pixmaps/flags/ai.png differ diff --git a/pixmaps/flags/al.png b/pixmaps/flags/al.png new file mode 100644 index 000000000..d37e44ed0 Binary files /dev/null and b/pixmaps/flags/al.png differ diff --git a/pixmaps/flags/am.png b/pixmaps/flags/am.png new file mode 100644 index 000000000..043ec6728 Binary files /dev/null and b/pixmaps/flags/am.png differ diff --git a/pixmaps/flags/an.png b/pixmaps/flags/an.png new file mode 100644 index 000000000..9ede9b732 Binary files /dev/null and b/pixmaps/flags/an.png differ diff --git a/pixmaps/flags/ao.png b/pixmaps/flags/ao.png new file mode 100644 index 000000000..6b5e475c4 Binary files /dev/null and b/pixmaps/flags/ao.png differ diff --git a/pixmaps/flags/aq.png b/pixmaps/flags/aq.png new file mode 100644 index 000000000..f2144987b Binary files /dev/null and b/pixmaps/flags/aq.png differ diff --git a/pixmaps/flags/ar.png b/pixmaps/flags/ar.png new file mode 100644 index 000000000..913bdb9fa Binary files /dev/null and b/pixmaps/flags/ar.png differ diff --git a/pixmaps/flags/as.png b/pixmaps/flags/as.png new file mode 100644 index 000000000..5e6b4cdca Binary files /dev/null and b/pixmaps/flags/as.png differ diff --git a/pixmaps/flags/at.png b/pixmaps/flags/at.png new file mode 100644 index 000000000..ee928f171 Binary files /dev/null and b/pixmaps/flags/at.png differ diff --git a/pixmaps/flags/au.png b/pixmaps/flags/au.png new file mode 100644 index 000000000..422598a68 Binary files /dev/null and b/pixmaps/flags/au.png differ diff --git a/pixmaps/flags/aw.png b/pixmaps/flags/aw.png new file mode 100644 index 000000000..68c9c9864 Binary files /dev/null and b/pixmaps/flags/aw.png differ diff --git a/pixmaps/flags/ax.png b/pixmaps/flags/ax.png new file mode 100644 index 000000000..6b834b442 Binary files /dev/null and b/pixmaps/flags/ax.png differ diff --git a/pixmaps/flags/az.png b/pixmaps/flags/az.png new file mode 100644 index 000000000..c1271f2ed Binary files /dev/null and b/pixmaps/flags/az.png differ diff --git a/pixmaps/flags/ba.png b/pixmaps/flags/ba.png new file mode 100644 index 000000000..f4daa7b52 Binary files /dev/null and b/pixmaps/flags/ba.png differ diff --git a/pixmaps/flags/bb.png b/pixmaps/flags/bb.png new file mode 100644 index 000000000..bebfc7a66 Binary files /dev/null and b/pixmaps/flags/bb.png differ diff --git a/pixmaps/flags/bd.png b/pixmaps/flags/bd.png new file mode 100644 index 000000000..a72670a08 Binary files /dev/null and b/pixmaps/flags/bd.png differ diff --git a/pixmaps/flags/be.png b/pixmaps/flags/be.png new file mode 100644 index 000000000..e94e32cce Binary files /dev/null and b/pixmaps/flags/be.png differ diff --git a/pixmaps/flags/bf.png b/pixmaps/flags/bf.png new file mode 100644 index 000000000..cd51c286f Binary files /dev/null and b/pixmaps/flags/bf.png differ diff --git a/pixmaps/flags/bg.png b/pixmaps/flags/bg.png new file mode 100644 index 000000000..28544ef15 Binary files /dev/null and b/pixmaps/flags/bg.png differ diff --git a/pixmaps/flags/bh.png b/pixmaps/flags/bh.png new file mode 100644 index 000000000..5cee8eec3 Binary files /dev/null and b/pixmaps/flags/bh.png differ diff --git a/pixmaps/flags/bi.png b/pixmaps/flags/bi.png new file mode 100644 index 000000000..d3ff9476f Binary files /dev/null and b/pixmaps/flags/bi.png differ diff --git a/pixmaps/flags/bj.png b/pixmaps/flags/bj.png new file mode 100644 index 000000000..010bc3579 Binary files /dev/null and b/pixmaps/flags/bj.png differ diff --git a/pixmaps/flags/bm.png b/pixmaps/flags/bm.png new file mode 100644 index 000000000..8f282aa27 Binary files /dev/null and b/pixmaps/flags/bm.png differ diff --git a/pixmaps/flags/bn.png b/pixmaps/flags/bn.png new file mode 100644 index 000000000..f1272b99d Binary files /dev/null and b/pixmaps/flags/bn.png differ diff --git a/pixmaps/flags/bo.png b/pixmaps/flags/bo.png new file mode 100644 index 000000000..dcb2303aa Binary files /dev/null and b/pixmaps/flags/bo.png differ diff --git a/pixmaps/flags/br.png b/pixmaps/flags/br.png new file mode 100644 index 000000000..38f81c4aa Binary files /dev/null and b/pixmaps/flags/br.png differ diff --git a/pixmaps/flags/bs.png b/pixmaps/flags/bs.png new file mode 100644 index 000000000..d1708dda7 Binary files /dev/null and b/pixmaps/flags/bs.png differ diff --git a/pixmaps/flags/bt.png b/pixmaps/flags/bt.png new file mode 100644 index 000000000..d39c1fc06 Binary files /dev/null and b/pixmaps/flags/bt.png differ diff --git a/pixmaps/flags/bv.png b/pixmaps/flags/bv.png new file mode 100644 index 000000000..bac14bc40 Binary files /dev/null and b/pixmaps/flags/bv.png differ diff --git a/pixmaps/flags/bw.png b/pixmaps/flags/bw.png new file mode 100644 index 000000000..b372b23f8 Binary files /dev/null and b/pixmaps/flags/bw.png differ diff --git a/pixmaps/flags/by.png b/pixmaps/flags/by.png new file mode 100644 index 000000000..e217a8295 Binary files /dev/null and b/pixmaps/flags/by.png differ diff --git a/pixmaps/flags/bz.png b/pixmaps/flags/bz.png new file mode 100644 index 000000000..87e7e76f9 Binary files /dev/null and b/pixmaps/flags/bz.png differ diff --git a/pixmaps/flags/ca.png b/pixmaps/flags/ca.png new file mode 100644 index 000000000..182b51e3a Binary files /dev/null and b/pixmaps/flags/ca.png differ diff --git a/pixmaps/flags/cc.png b/pixmaps/flags/cc.png new file mode 100644 index 000000000..82310fa87 Binary files /dev/null and b/pixmaps/flags/cc.png differ diff --git a/pixmaps/flags/cd.png b/pixmaps/flags/cd.png new file mode 100644 index 000000000..e555370eb Binary files /dev/null and b/pixmaps/flags/cd.png differ diff --git a/pixmaps/flags/cf.png b/pixmaps/flags/cf.png new file mode 100644 index 000000000..0e797cc5c Binary files /dev/null and b/pixmaps/flags/cf.png differ diff --git a/pixmaps/flags/cg.png b/pixmaps/flags/cg.png new file mode 100644 index 000000000..83ecf4aa0 Binary files /dev/null and b/pixmaps/flags/cg.png differ diff --git a/pixmaps/flags/ch.png b/pixmaps/flags/ch.png new file mode 100644 index 000000000..47af5323c Binary files /dev/null and b/pixmaps/flags/ch.png differ diff --git a/pixmaps/flags/ci.png b/pixmaps/flags/ci.png new file mode 100644 index 000000000..c15d564bb Binary files /dev/null and b/pixmaps/flags/ci.png differ diff --git a/pixmaps/flags/ck.png b/pixmaps/flags/ck.png new file mode 100644 index 000000000..9eaf66ceb Binary files /dev/null and b/pixmaps/flags/ck.png differ diff --git a/pixmaps/flags/cl.png b/pixmaps/flags/cl.png new file mode 100644 index 000000000..a15e5a910 Binary files /dev/null and b/pixmaps/flags/cl.png differ diff --git a/pixmaps/flags/cm.png b/pixmaps/flags/cm.png new file mode 100644 index 000000000..633480892 Binary files /dev/null and b/pixmaps/flags/cm.png differ diff --git a/pixmaps/flags/cn.png b/pixmaps/flags/cn.png new file mode 100644 index 000000000..cfb61ee32 Binary files /dev/null and b/pixmaps/flags/cn.png differ diff --git a/pixmaps/flags/co.png b/pixmaps/flags/co.png new file mode 100644 index 000000000..c68ade012 Binary files /dev/null and b/pixmaps/flags/co.png differ diff --git a/pixmaps/flags/cr.png b/pixmaps/flags/cr.png new file mode 100644 index 000000000..b9c89a01c Binary files /dev/null and b/pixmaps/flags/cr.png differ diff --git a/pixmaps/flags/cs.png b/pixmaps/flags/cs.png new file mode 100644 index 000000000..9355b9329 Binary files /dev/null and b/pixmaps/flags/cs.png differ diff --git a/pixmaps/flags/cu.png b/pixmaps/flags/cu.png new file mode 100644 index 000000000..f9abb7102 Binary files /dev/null and b/pixmaps/flags/cu.png differ diff --git a/pixmaps/flags/cv.png b/pixmaps/flags/cv.png new file mode 100644 index 000000000..df1d52588 Binary files /dev/null and b/pixmaps/flags/cv.png differ diff --git a/pixmaps/flags/cx.png b/pixmaps/flags/cx.png new file mode 100644 index 000000000..e1978521c Binary files /dev/null and b/pixmaps/flags/cx.png differ diff --git a/pixmaps/flags/cy.png b/pixmaps/flags/cy.png new file mode 100644 index 000000000..564232b35 Binary files /dev/null and b/pixmaps/flags/cy.png differ diff --git a/pixmaps/flags/cz.png b/pixmaps/flags/cz.png new file mode 100644 index 000000000..dcc14c6c8 Binary files /dev/null and b/pixmaps/flags/cz.png differ diff --git a/pixmaps/flags/de.png b/pixmaps/flags/de.png new file mode 100644 index 000000000..8c688c9c2 Binary files /dev/null and b/pixmaps/flags/de.png differ diff --git a/pixmaps/flags/dj.png b/pixmaps/flags/dj.png new file mode 100644 index 000000000..a9b2adf70 Binary files /dev/null and b/pixmaps/flags/dj.png differ diff --git a/pixmaps/flags/dk.png b/pixmaps/flags/dk.png new file mode 100644 index 000000000..e73bcee24 Binary files /dev/null and b/pixmaps/flags/dk.png differ diff --git a/pixmaps/flags/dm.png b/pixmaps/flags/dm.png new file mode 100644 index 000000000..31fa4cd1d Binary files /dev/null and b/pixmaps/flags/dm.png differ diff --git a/pixmaps/flags/do.png b/pixmaps/flags/do.png new file mode 100644 index 000000000..818b2ce30 Binary files /dev/null and b/pixmaps/flags/do.png differ diff --git a/pixmaps/flags/dz.png b/pixmaps/flags/dz.png new file mode 100644 index 000000000..246c73c3e Binary files /dev/null and b/pixmaps/flags/dz.png differ diff --git a/pixmaps/flags/ec.png b/pixmaps/flags/ec.png new file mode 100644 index 000000000..febddf840 Binary files /dev/null and b/pixmaps/flags/ec.png differ diff --git a/pixmaps/flags/ee.png b/pixmaps/flags/ee.png new file mode 100644 index 000000000..f6e109f51 Binary files /dev/null and b/pixmaps/flags/ee.png differ diff --git a/pixmaps/flags/eg.png b/pixmaps/flags/eg.png new file mode 100644 index 000000000..6c32efbc6 Binary files /dev/null and b/pixmaps/flags/eg.png differ diff --git a/pixmaps/flags/eh.png b/pixmaps/flags/eh.png new file mode 100644 index 000000000..fe0918685 Binary files /dev/null and b/pixmaps/flags/eh.png differ diff --git a/pixmaps/flags/er.png b/pixmaps/flags/er.png new file mode 100644 index 000000000..a91ef3f8b Binary files /dev/null and b/pixmaps/flags/er.png differ diff --git a/pixmaps/flags/es.png b/pixmaps/flags/es.png new file mode 100644 index 000000000..bfe7b69c4 Binary files /dev/null and b/pixmaps/flags/es.png differ diff --git a/pixmaps/flags/et.png b/pixmaps/flags/et.png new file mode 100644 index 000000000..0b642741d Binary files /dev/null and b/pixmaps/flags/et.png differ diff --git a/pixmaps/flags/fi.png b/pixmaps/flags/fi.png new file mode 100644 index 000000000..8637023f8 Binary files /dev/null and b/pixmaps/flags/fi.png differ diff --git a/pixmaps/flags/fj.png b/pixmaps/flags/fj.png new file mode 100644 index 000000000..0aab514ab Binary files /dev/null and b/pixmaps/flags/fj.png differ diff --git a/pixmaps/flags/fk.png b/pixmaps/flags/fk.png new file mode 100644 index 000000000..2b721f96d Binary files /dev/null and b/pixmaps/flags/fk.png differ diff --git a/pixmaps/flags/fm.png b/pixmaps/flags/fm.png new file mode 100644 index 000000000..1a910645a Binary files /dev/null and b/pixmaps/flags/fm.png differ diff --git a/pixmaps/flags/fo.png b/pixmaps/flags/fo.png new file mode 100644 index 000000000..4bf6eddfb Binary files /dev/null and b/pixmaps/flags/fo.png differ diff --git a/pixmaps/flags/fr.png b/pixmaps/flags/fr.png new file mode 100644 index 000000000..d4616ed1f Binary files /dev/null and b/pixmaps/flags/fr.png differ diff --git a/pixmaps/flags/fx.png b/pixmaps/flags/fx.png new file mode 100644 index 000000000..d4616ed1f Binary files /dev/null and b/pixmaps/flags/fx.png differ diff --git a/pixmaps/flags/ga.png b/pixmaps/flags/ga.png new file mode 100644 index 000000000..1f1788cd3 Binary files /dev/null and b/pixmaps/flags/ga.png differ diff --git a/pixmaps/flags/gb.png b/pixmaps/flags/gb.png new file mode 100644 index 000000000..e0ce9a66a Binary files /dev/null and b/pixmaps/flags/gb.png differ diff --git a/pixmaps/flags/gd.png b/pixmaps/flags/gd.png new file mode 100644 index 000000000..70467ac36 Binary files /dev/null and b/pixmaps/flags/gd.png differ diff --git a/pixmaps/flags/ge.png b/pixmaps/flags/ge.png new file mode 100644 index 000000000..11260b6bc Binary files /dev/null and b/pixmaps/flags/ge.png differ diff --git a/pixmaps/flags/gf.png b/pixmaps/flags/gf.png new file mode 100644 index 000000000..d4616ed1f Binary files /dev/null and b/pixmaps/flags/gf.png differ diff --git a/pixmaps/flags/gg.png b/pixmaps/flags/gg.png new file mode 100644 index 000000000..20252f2be Binary files /dev/null and b/pixmaps/flags/gg.png differ diff --git a/pixmaps/flags/gh.png b/pixmaps/flags/gh.png new file mode 100644 index 000000000..3f3b980fb Binary files /dev/null and b/pixmaps/flags/gh.png differ diff --git a/pixmaps/flags/gi.png b/pixmaps/flags/gi.png new file mode 100644 index 000000000..54d6eb103 Binary files /dev/null and b/pixmaps/flags/gi.png differ diff --git a/pixmaps/flags/gl.png b/pixmaps/flags/gl.png new file mode 100644 index 000000000..ef5ead591 Binary files /dev/null and b/pixmaps/flags/gl.png differ diff --git a/pixmaps/flags/gm.png b/pixmaps/flags/gm.png new file mode 100644 index 000000000..95cce12dd Binary files /dev/null and b/pixmaps/flags/gm.png differ diff --git a/pixmaps/flags/gn.png b/pixmaps/flags/gn.png new file mode 100644 index 000000000..5f8bba11b Binary files /dev/null and b/pixmaps/flags/gn.png differ diff --git a/pixmaps/flags/gp.png b/pixmaps/flags/gp.png new file mode 100644 index 000000000..d4616ed1f Binary files /dev/null and b/pixmaps/flags/gp.png differ diff --git a/pixmaps/flags/gq.png b/pixmaps/flags/gq.png new file mode 100644 index 000000000..2cbd4a89a Binary files /dev/null and b/pixmaps/flags/gq.png differ diff --git a/pixmaps/flags/gr.png b/pixmaps/flags/gr.png new file mode 100644 index 000000000..a5b70ad2d Binary files /dev/null and b/pixmaps/flags/gr.png differ diff --git a/pixmaps/flags/gs.png b/pixmaps/flags/gs.png new file mode 100644 index 000000000..770617135 Binary files /dev/null and b/pixmaps/flags/gs.png differ diff --git a/pixmaps/flags/gt.png b/pixmaps/flags/gt.png new file mode 100644 index 000000000..ce82c343a Binary files /dev/null and b/pixmaps/flags/gt.png differ diff --git a/pixmaps/flags/gu.png b/pixmaps/flags/gu.png new file mode 100644 index 000000000..1d2dc8731 Binary files /dev/null and b/pixmaps/flags/gu.png differ diff --git a/pixmaps/flags/gw.png b/pixmaps/flags/gw.png new file mode 100644 index 000000000..5e70972a4 Binary files /dev/null and b/pixmaps/flags/gw.png differ diff --git a/pixmaps/flags/gy.png b/pixmaps/flags/gy.png new file mode 100644 index 000000000..ae7c645dd Binary files /dev/null and b/pixmaps/flags/gy.png differ diff --git a/pixmaps/flags/hk.png b/pixmaps/flags/hk.png new file mode 100644 index 000000000..0bc072052 Binary files /dev/null and b/pixmaps/flags/hk.png differ diff --git a/pixmaps/flags/hm.png b/pixmaps/flags/hm.png new file mode 100644 index 000000000..214924d27 Binary files /dev/null and b/pixmaps/flags/hm.png differ diff --git a/pixmaps/flags/hn.png b/pixmaps/flags/hn.png new file mode 100644 index 000000000..de08a367b Binary files /dev/null and b/pixmaps/flags/hn.png differ diff --git a/pixmaps/flags/hr.png b/pixmaps/flags/hr.png new file mode 100644 index 000000000..69eeed334 Binary files /dev/null and b/pixmaps/flags/hr.png differ diff --git a/pixmaps/flags/ht.png b/pixmaps/flags/ht.png new file mode 100644 index 000000000..8369277b7 Binary files /dev/null and b/pixmaps/flags/ht.png differ diff --git a/pixmaps/flags/hu.png b/pixmaps/flags/hu.png new file mode 100644 index 000000000..0d492a04d Binary files /dev/null and b/pixmaps/flags/hu.png differ diff --git a/pixmaps/flags/id.png b/pixmaps/flags/id.png new file mode 100644 index 000000000..14e91f92a Binary files /dev/null and b/pixmaps/flags/id.png differ diff --git a/pixmaps/flags/ie.png b/pixmaps/flags/ie.png new file mode 100644 index 000000000..839c3106f Binary files /dev/null and b/pixmaps/flags/ie.png differ diff --git a/pixmaps/flags/il.png b/pixmaps/flags/il.png new file mode 100644 index 000000000..31cf02dec Binary files /dev/null and b/pixmaps/flags/il.png differ diff --git a/pixmaps/flags/in.png b/pixmaps/flags/in.png new file mode 100644 index 000000000..92737dbda Binary files /dev/null and b/pixmaps/flags/in.png differ diff --git a/pixmaps/flags/io.png b/pixmaps/flags/io.png new file mode 100644 index 000000000..9ece8abe7 Binary files /dev/null and b/pixmaps/flags/io.png differ diff --git a/pixmaps/flags/iq.png b/pixmaps/flags/iq.png new file mode 100644 index 000000000..f73741913 Binary files /dev/null and b/pixmaps/flags/iq.png differ diff --git a/pixmaps/flags/ir.png b/pixmaps/flags/ir.png new file mode 100644 index 000000000..e81a0f677 Binary files /dev/null and b/pixmaps/flags/ir.png differ diff --git a/pixmaps/flags/is.png b/pixmaps/flags/is.png new file mode 100644 index 000000000..8bf828728 Binary files /dev/null and b/pixmaps/flags/is.png differ diff --git a/pixmaps/flags/it.png b/pixmaps/flags/it.png new file mode 100644 index 000000000..e0cab7297 Binary files /dev/null and b/pixmaps/flags/it.png differ diff --git a/pixmaps/flags/je.png b/pixmaps/flags/je.png new file mode 100644 index 000000000..a66213330 Binary files /dev/null and b/pixmaps/flags/je.png differ diff --git a/pixmaps/flags/jm.png b/pixmaps/flags/jm.png new file mode 100644 index 000000000..f3021b5f7 Binary files /dev/null and b/pixmaps/flags/jm.png differ diff --git a/pixmaps/flags/jo.png b/pixmaps/flags/jo.png new file mode 100644 index 000000000..e39b14e05 Binary files /dev/null and b/pixmaps/flags/jo.png differ diff --git a/pixmaps/flags/jp.png b/pixmaps/flags/jp.png new file mode 100644 index 000000000..506a5356e Binary files /dev/null and b/pixmaps/flags/jp.png differ diff --git a/pixmaps/flags/ke.png b/pixmaps/flags/ke.png new file mode 100644 index 000000000..ffb150afd Binary files /dev/null and b/pixmaps/flags/ke.png differ diff --git a/pixmaps/flags/kg.png b/pixmaps/flags/kg.png new file mode 100644 index 000000000..aceeb6c61 Binary files /dev/null and b/pixmaps/flags/kg.png differ diff --git a/pixmaps/flags/kh.png b/pixmaps/flags/kh.png new file mode 100644 index 000000000..c64d08aa9 Binary files /dev/null and b/pixmaps/flags/kh.png differ diff --git a/pixmaps/flags/ki.png b/pixmaps/flags/ki.png new file mode 100644 index 000000000..510e344bb Binary files /dev/null and b/pixmaps/flags/ki.png differ diff --git a/pixmaps/flags/km.png b/pixmaps/flags/km.png new file mode 100644 index 000000000..f0aab2ea7 Binary files /dev/null and b/pixmaps/flags/km.png differ diff --git a/pixmaps/flags/kn.png b/pixmaps/flags/kn.png new file mode 100644 index 000000000..887c87cfd Binary files /dev/null and b/pixmaps/flags/kn.png differ diff --git a/pixmaps/flags/kp.png b/pixmaps/flags/kp.png new file mode 100644 index 000000000..653e82f63 Binary files /dev/null and b/pixmaps/flags/kp.png differ diff --git a/pixmaps/flags/kr.png b/pixmaps/flags/kr.png new file mode 100644 index 000000000..ac8276643 Binary files /dev/null and b/pixmaps/flags/kr.png differ diff --git a/pixmaps/flags/kw.png b/pixmaps/flags/kw.png new file mode 100644 index 000000000..a4c27ffd5 Binary files /dev/null and b/pixmaps/flags/kw.png differ diff --git a/pixmaps/flags/ky.png b/pixmaps/flags/ky.png new file mode 100644 index 000000000..c7f14c4dd Binary files /dev/null and b/pixmaps/flags/ky.png differ diff --git a/pixmaps/flags/kz.png b/pixmaps/flags/kz.png new file mode 100644 index 000000000..38f75b20a Binary files /dev/null and b/pixmaps/flags/kz.png differ diff --git a/pixmaps/flags/la.png b/pixmaps/flags/la.png new file mode 100644 index 000000000..fd70e0475 Binary files /dev/null and b/pixmaps/flags/la.png differ diff --git a/pixmaps/flags/lb.png b/pixmaps/flags/lb.png new file mode 100644 index 000000000..48043644c Binary files /dev/null and b/pixmaps/flags/lb.png differ diff --git a/pixmaps/flags/lc.png b/pixmaps/flags/lc.png new file mode 100644 index 000000000..971b03a70 Binary files /dev/null and b/pixmaps/flags/lc.png differ diff --git a/pixmaps/flags/li.png b/pixmaps/flags/li.png new file mode 100644 index 000000000..cd6eb0893 Binary files /dev/null and b/pixmaps/flags/li.png differ diff --git a/pixmaps/flags/lk.png b/pixmaps/flags/lk.png new file mode 100644 index 000000000..500c9355f Binary files /dev/null and b/pixmaps/flags/lk.png differ diff --git a/pixmaps/flags/lr.png b/pixmaps/flags/lr.png new file mode 100644 index 000000000..a77998406 Binary files /dev/null and b/pixmaps/flags/lr.png differ diff --git a/pixmaps/flags/ls.png b/pixmaps/flags/ls.png new file mode 100644 index 000000000..892bc44df Binary files /dev/null and b/pixmaps/flags/ls.png differ diff --git a/pixmaps/flags/lt.png b/pixmaps/flags/lt.png new file mode 100644 index 000000000..2bd0203a5 Binary files /dev/null and b/pixmaps/flags/lt.png differ diff --git a/pixmaps/flags/lu.png b/pixmaps/flags/lu.png new file mode 100644 index 000000000..dab8533cb Binary files /dev/null and b/pixmaps/flags/lu.png differ diff --git a/pixmaps/flags/lv.png b/pixmaps/flags/lv.png new file mode 100644 index 000000000..abba0cd5c Binary files /dev/null and b/pixmaps/flags/lv.png differ diff --git a/pixmaps/flags/ly.png b/pixmaps/flags/ly.png new file mode 100644 index 000000000..7bce7778a Binary files /dev/null and b/pixmaps/flags/ly.png differ diff --git a/pixmaps/flags/ma.png b/pixmaps/flags/ma.png new file mode 100644 index 000000000..c21eef1cc Binary files /dev/null and b/pixmaps/flags/ma.png differ diff --git a/pixmaps/flags/mc.png b/pixmaps/flags/mc.png new file mode 100644 index 000000000..b33762c50 Binary files /dev/null and b/pixmaps/flags/mc.png differ diff --git a/pixmaps/flags/md.png b/pixmaps/flags/md.png new file mode 100644 index 000000000..5441949d8 Binary files /dev/null and b/pixmaps/flags/md.png differ diff --git a/pixmaps/flags/me.png b/pixmaps/flags/me.png new file mode 100644 index 000000000..7f9ed152a Binary files /dev/null and b/pixmaps/flags/me.png differ diff --git a/pixmaps/flags/mg.png b/pixmaps/flags/mg.png new file mode 100644 index 000000000..5a86b6107 Binary files /dev/null and b/pixmaps/flags/mg.png differ diff --git a/pixmaps/flags/mh.png b/pixmaps/flags/mh.png new file mode 100644 index 000000000..7463976dc Binary files /dev/null and b/pixmaps/flags/mh.png differ diff --git a/pixmaps/flags/mk.png b/pixmaps/flags/mk.png new file mode 100644 index 000000000..a981b835a Binary files /dev/null and b/pixmaps/flags/mk.png differ diff --git a/pixmaps/flags/ml.png b/pixmaps/flags/ml.png new file mode 100644 index 000000000..36a632ee0 Binary files /dev/null and b/pixmaps/flags/ml.png differ diff --git a/pixmaps/flags/mm.png b/pixmaps/flags/mm.png new file mode 100644 index 000000000..86ecd2c80 Binary files /dev/null and b/pixmaps/flags/mm.png differ diff --git a/pixmaps/flags/mn.png b/pixmaps/flags/mn.png new file mode 100644 index 000000000..4f7adc7c8 Binary files /dev/null and b/pixmaps/flags/mn.png differ diff --git a/pixmaps/flags/mo.png b/pixmaps/flags/mo.png new file mode 100644 index 000000000..4cba9b407 Binary files /dev/null and b/pixmaps/flags/mo.png differ diff --git a/pixmaps/flags/mp.png b/pixmaps/flags/mp.png new file mode 100644 index 000000000..6c782fcb1 Binary files /dev/null and b/pixmaps/flags/mp.png differ diff --git a/pixmaps/flags/mq.png b/pixmaps/flags/mq.png new file mode 100644 index 000000000..d4616ed1f Binary files /dev/null and b/pixmaps/flags/mq.png differ diff --git a/pixmaps/flags/mr.png b/pixmaps/flags/mr.png new file mode 100644 index 000000000..1460ab7c4 Binary files /dev/null and b/pixmaps/flags/mr.png differ diff --git a/pixmaps/flags/ms.png b/pixmaps/flags/ms.png new file mode 100644 index 000000000..526f512e3 Binary files /dev/null and b/pixmaps/flags/ms.png differ diff --git a/pixmaps/flags/mt.png b/pixmaps/flags/mt.png new file mode 100644 index 000000000..611a45933 Binary files /dev/null and b/pixmaps/flags/mt.png differ diff --git a/pixmaps/flags/mu.png b/pixmaps/flags/mu.png new file mode 100644 index 000000000..d8b22ccf0 Binary files /dev/null and b/pixmaps/flags/mu.png differ diff --git a/pixmaps/flags/mv.png b/pixmaps/flags/mv.png new file mode 100644 index 000000000..0024b864a Binary files /dev/null and b/pixmaps/flags/mv.png differ diff --git a/pixmaps/flags/mw.png b/pixmaps/flags/mw.png new file mode 100644 index 000000000..975fb0a50 Binary files /dev/null and b/pixmaps/flags/mw.png differ diff --git a/pixmaps/flags/mx.png b/pixmaps/flags/mx.png new file mode 100644 index 000000000..8b705e4b3 Binary files /dev/null and b/pixmaps/flags/mx.png differ diff --git a/pixmaps/flags/my.png b/pixmaps/flags/my.png new file mode 100644 index 000000000..45a827783 Binary files /dev/null and b/pixmaps/flags/my.png differ diff --git a/pixmaps/flags/mz.png b/pixmaps/flags/mz.png new file mode 100644 index 000000000..14c7e9c45 Binary files /dev/null and b/pixmaps/flags/mz.png differ diff --git a/pixmaps/flags/na.png b/pixmaps/flags/na.png new file mode 100644 index 000000000..64df913b8 Binary files /dev/null and b/pixmaps/flags/na.png differ diff --git a/pixmaps/flags/nc.png b/pixmaps/flags/nc.png new file mode 100644 index 000000000..d4616ed1f Binary files /dev/null and b/pixmaps/flags/nc.png differ diff --git a/pixmaps/flags/ne.png b/pixmaps/flags/ne.png new file mode 100644 index 000000000..8e6eb323a Binary files /dev/null and b/pixmaps/flags/ne.png differ diff --git a/pixmaps/flags/nf.png b/pixmaps/flags/nf.png new file mode 100644 index 000000000..1f6e81410 Binary files /dev/null and b/pixmaps/flags/nf.png differ diff --git a/pixmaps/flags/ng.png b/pixmaps/flags/ng.png new file mode 100644 index 000000000..46dceb270 Binary files /dev/null and b/pixmaps/flags/ng.png differ diff --git a/pixmaps/flags/ni.png b/pixmaps/flags/ni.png new file mode 100644 index 000000000..452706578 Binary files /dev/null and b/pixmaps/flags/ni.png differ diff --git a/pixmaps/flags/nl.png b/pixmaps/flags/nl.png new file mode 100644 index 000000000..9f5e06340 Binary files /dev/null and b/pixmaps/flags/nl.png differ diff --git a/pixmaps/flags/no.png b/pixmaps/flags/no.png new file mode 100644 index 000000000..bac14bc40 Binary files /dev/null and b/pixmaps/flags/no.png differ diff --git a/pixmaps/flags/np.png b/pixmaps/flags/np.png new file mode 100644 index 000000000..7d0261652 Binary files /dev/null and b/pixmaps/flags/np.png differ diff --git a/pixmaps/flags/nr.png b/pixmaps/flags/nr.png new file mode 100644 index 000000000..599353a79 Binary files /dev/null and b/pixmaps/flags/nr.png differ diff --git a/pixmaps/flags/nu.png b/pixmaps/flags/nu.png new file mode 100644 index 000000000..eafce7b27 Binary files /dev/null and b/pixmaps/flags/nu.png differ diff --git a/pixmaps/flags/nz.png b/pixmaps/flags/nz.png new file mode 100644 index 000000000..36a08b14d Binary files /dev/null and b/pixmaps/flags/nz.png differ diff --git a/pixmaps/flags/om.png b/pixmaps/flags/om.png new file mode 100644 index 000000000..13f67d91e Binary files /dev/null and b/pixmaps/flags/om.png differ diff --git a/pixmaps/flags/pa.png b/pixmaps/flags/pa.png new file mode 100644 index 000000000..5d7356cc7 Binary files /dev/null and b/pixmaps/flags/pa.png differ diff --git a/pixmaps/flags/pe.png b/pixmaps/flags/pe.png new file mode 100644 index 000000000..913b23a20 Binary files /dev/null and b/pixmaps/flags/pe.png differ diff --git a/pixmaps/flags/pf.png b/pixmaps/flags/pf.png new file mode 100644 index 000000000..049a2df3e Binary files /dev/null and b/pixmaps/flags/pf.png differ diff --git a/pixmaps/flags/pg.png b/pixmaps/flags/pg.png new file mode 100644 index 000000000..d70415489 Binary files /dev/null and b/pixmaps/flags/pg.png differ diff --git a/pixmaps/flags/ph.png b/pixmaps/flags/ph.png new file mode 100644 index 000000000..f5427019b Binary files /dev/null and b/pixmaps/flags/ph.png differ diff --git a/pixmaps/flags/pk.png b/pixmaps/flags/pk.png new file mode 100644 index 000000000..f644d24ac Binary files /dev/null and b/pixmaps/flags/pk.png differ diff --git a/pixmaps/flags/pl.png b/pixmaps/flags/pl.png new file mode 100644 index 000000000..bacf1fac9 Binary files /dev/null and b/pixmaps/flags/pl.png differ diff --git a/pixmaps/flags/pm.png b/pixmaps/flags/pm.png new file mode 100644 index 000000000..d4616ed1f Binary files /dev/null and b/pixmaps/flags/pm.png differ diff --git a/pixmaps/flags/pn.png b/pixmaps/flags/pn.png new file mode 100644 index 000000000..f5743c590 Binary files /dev/null and b/pixmaps/flags/pn.png differ diff --git a/pixmaps/flags/pr.png b/pixmaps/flags/pr.png new file mode 100644 index 000000000..88d368020 Binary files /dev/null and b/pixmaps/flags/pr.png differ diff --git a/pixmaps/flags/ps.png b/pixmaps/flags/ps.png new file mode 100644 index 000000000..94c651258 Binary files /dev/null and b/pixmaps/flags/ps.png differ diff --git a/pixmaps/flags/pt.png b/pixmaps/flags/pt.png new file mode 100644 index 000000000..bc8f3977f Binary files /dev/null and b/pixmaps/flags/pt.png differ diff --git a/pixmaps/flags/pw.png b/pixmaps/flags/pw.png new file mode 100644 index 000000000..6ab9422e2 Binary files /dev/null and b/pixmaps/flags/pw.png differ diff --git a/pixmaps/flags/py.png b/pixmaps/flags/py.png new file mode 100644 index 000000000..5ebaaefbc Binary files /dev/null and b/pixmaps/flags/py.png differ diff --git a/pixmaps/flags/qa.png b/pixmaps/flags/qa.png new file mode 100644 index 000000000..71f70e559 Binary files /dev/null and b/pixmaps/flags/qa.png differ diff --git a/pixmaps/flags/re.png b/pixmaps/flags/re.png new file mode 100644 index 000000000..d4616ed1f Binary files /dev/null and b/pixmaps/flags/re.png differ diff --git a/pixmaps/flags/ro.png b/pixmaps/flags/ro.png new file mode 100644 index 000000000..cf8e057dd Binary files /dev/null and b/pixmaps/flags/ro.png differ diff --git a/pixmaps/flags/rs.png b/pixmaps/flags/rs.png new file mode 100644 index 000000000..3da1f485a Binary files /dev/null and b/pixmaps/flags/rs.png differ diff --git a/pixmaps/flags/ru.png b/pixmaps/flags/ru.png new file mode 100644 index 000000000..712abb308 Binary files /dev/null and b/pixmaps/flags/ru.png differ diff --git a/pixmaps/flags/rw.png b/pixmaps/flags/rw.png new file mode 100644 index 000000000..774d03594 Binary files /dev/null and b/pixmaps/flags/rw.png differ diff --git a/pixmaps/flags/sa.png b/pixmaps/flags/sa.png new file mode 100644 index 000000000..470c3eddc Binary files /dev/null and b/pixmaps/flags/sa.png differ diff --git a/pixmaps/flags/sb.png b/pixmaps/flags/sb.png new file mode 100644 index 000000000..fdc0d4bba Binary files /dev/null and b/pixmaps/flags/sb.png differ diff --git a/pixmaps/flags/sc.png b/pixmaps/flags/sc.png new file mode 100644 index 000000000..804ff9840 Binary files /dev/null and b/pixmaps/flags/sc.png differ diff --git a/pixmaps/flags/sd.png b/pixmaps/flags/sd.png new file mode 100644 index 000000000..46d235ebf Binary files /dev/null and b/pixmaps/flags/sd.png differ diff --git a/pixmaps/flags/se.png b/pixmaps/flags/se.png new file mode 100644 index 000000000..1e13d4aee Binary files /dev/null and b/pixmaps/flags/se.png differ diff --git a/pixmaps/flags/sg.png b/pixmaps/flags/sg.png new file mode 100644 index 000000000..e51d426c1 Binary files /dev/null and b/pixmaps/flags/sg.png differ diff --git a/pixmaps/flags/sh.png b/pixmaps/flags/sh.png new file mode 100644 index 000000000..c696327f6 Binary files /dev/null and b/pixmaps/flags/sh.png differ diff --git a/pixmaps/flags/si.png b/pixmaps/flags/si.png new file mode 100644 index 000000000..c278182d1 Binary files /dev/null and b/pixmaps/flags/si.png differ diff --git a/pixmaps/flags/sj.png b/pixmaps/flags/sj.png new file mode 100644 index 000000000..bac14bc40 Binary files /dev/null and b/pixmaps/flags/sj.png differ diff --git a/pixmaps/flags/sk.png b/pixmaps/flags/sk.png new file mode 100644 index 000000000..2ee304725 Binary files /dev/null and b/pixmaps/flags/sk.png differ diff --git a/pixmaps/flags/sl.png b/pixmaps/flags/sl.png new file mode 100644 index 000000000..40d2755de Binary files /dev/null and b/pixmaps/flags/sl.png differ diff --git a/pixmaps/flags/sm.png b/pixmaps/flags/sm.png new file mode 100644 index 000000000..fe0cace00 Binary files /dev/null and b/pixmaps/flags/sm.png differ diff --git a/pixmaps/flags/sn.png b/pixmaps/flags/sn.png new file mode 100644 index 000000000..e3edef72c Binary files /dev/null and b/pixmaps/flags/sn.png differ diff --git a/pixmaps/flags/so.png b/pixmaps/flags/so.png new file mode 100644 index 000000000..915c224d4 Binary files /dev/null and b/pixmaps/flags/so.png differ diff --git a/pixmaps/flags/sr.png b/pixmaps/flags/sr.png new file mode 100644 index 000000000..8ccf0c1c9 Binary files /dev/null and b/pixmaps/flags/sr.png differ diff --git a/pixmaps/flags/st.png b/pixmaps/flags/st.png new file mode 100644 index 000000000..c83b44c5f Binary files /dev/null and b/pixmaps/flags/st.png differ diff --git a/pixmaps/flags/sv.png b/pixmaps/flags/sv.png new file mode 100644 index 000000000..f6e2c2fe5 Binary files /dev/null and b/pixmaps/flags/sv.png differ diff --git a/pixmaps/flags/sy.png b/pixmaps/flags/sy.png new file mode 100644 index 000000000..9f2dc3ecb Binary files /dev/null and b/pixmaps/flags/sy.png differ diff --git a/pixmaps/flags/sz.png b/pixmaps/flags/sz.png new file mode 100644 index 000000000..c880f713e Binary files /dev/null and b/pixmaps/flags/sz.png differ diff --git a/pixmaps/flags/tc.png b/pixmaps/flags/tc.png new file mode 100644 index 000000000..b7450dec7 Binary files /dev/null and b/pixmaps/flags/tc.png differ diff --git a/pixmaps/flags/td.png b/pixmaps/flags/td.png new file mode 100644 index 000000000..cf8e057dd Binary files /dev/null and b/pixmaps/flags/td.png differ diff --git a/pixmaps/flags/tf.png b/pixmaps/flags/tf.png new file mode 100644 index 000000000..88d215861 Binary files /dev/null and b/pixmaps/flags/tf.png differ diff --git a/pixmaps/flags/tg.png b/pixmaps/flags/tg.png new file mode 100644 index 000000000..c9298dfa6 Binary files /dev/null and b/pixmaps/flags/tg.png differ diff --git a/pixmaps/flags/th.png b/pixmaps/flags/th.png new file mode 100644 index 000000000..e04583c32 Binary files /dev/null and b/pixmaps/flags/th.png differ diff --git a/pixmaps/flags/tj.png b/pixmaps/flags/tj.png new file mode 100644 index 000000000..efad9a5d2 Binary files /dev/null and b/pixmaps/flags/tj.png differ diff --git a/pixmaps/flags/tk.png b/pixmaps/flags/tk.png new file mode 100644 index 000000000..36a08b14d Binary files /dev/null and b/pixmaps/flags/tk.png differ diff --git a/pixmaps/flags/tl.png b/pixmaps/flags/tl.png new file mode 100644 index 000000000..b5df531ad Binary files /dev/null and b/pixmaps/flags/tl.png differ diff --git a/pixmaps/flags/tm.png b/pixmaps/flags/tm.png new file mode 100644 index 000000000..aff8f4ed4 Binary files /dev/null and b/pixmaps/flags/tm.png differ diff --git a/pixmaps/flags/tn.png b/pixmaps/flags/tn.png new file mode 100644 index 000000000..12e204509 Binary files /dev/null and b/pixmaps/flags/tn.png differ diff --git a/pixmaps/flags/to.png b/pixmaps/flags/to.png new file mode 100644 index 000000000..5398fab5f Binary files /dev/null and b/pixmaps/flags/to.png differ diff --git a/pixmaps/flags/tp.png b/pixmaps/flags/tp.png new file mode 100644 index 000000000..b5df531ad Binary files /dev/null and b/pixmaps/flags/tp.png differ diff --git a/pixmaps/flags/tr.png b/pixmaps/flags/tr.png new file mode 100644 index 000000000..66b0e45b5 Binary files /dev/null and b/pixmaps/flags/tr.png differ diff --git a/pixmaps/flags/tt.png b/pixmaps/flags/tt.png new file mode 100644 index 000000000..b3e16640e Binary files /dev/null and b/pixmaps/flags/tt.png differ diff --git a/pixmaps/flags/tv.png b/pixmaps/flags/tv.png new file mode 100644 index 000000000..f78c0d9a1 Binary files /dev/null and b/pixmaps/flags/tv.png differ diff --git a/pixmaps/flags/tw.png b/pixmaps/flags/tw.png new file mode 100644 index 000000000..2bb14c468 Binary files /dev/null and b/pixmaps/flags/tw.png differ diff --git a/pixmaps/flags/tz.png b/pixmaps/flags/tz.png new file mode 100644 index 000000000..f3e8e121f Binary files /dev/null and b/pixmaps/flags/tz.png differ diff --git a/pixmaps/flags/ua.png b/pixmaps/flags/ua.png new file mode 100644 index 000000000..86291367d Binary files /dev/null and b/pixmaps/flags/ua.png differ diff --git a/pixmaps/flags/ug.png b/pixmaps/flags/ug.png new file mode 100644 index 000000000..d17a5d35a Binary files /dev/null and b/pixmaps/flags/ug.png differ diff --git a/pixmaps/flags/um.png b/pixmaps/flags/um.png new file mode 100644 index 000000000..a21bdc56c Binary files /dev/null and b/pixmaps/flags/um.png differ diff --git a/pixmaps/flags/us.png b/pixmaps/flags/us.png new file mode 100644 index 000000000..a21bdc56c Binary files /dev/null and b/pixmaps/flags/us.png differ diff --git a/pixmaps/flags/uy.png b/pixmaps/flags/uy.png new file mode 100644 index 000000000..43a2372e2 Binary files /dev/null and b/pixmaps/flags/uy.png differ diff --git a/pixmaps/flags/uz.png b/pixmaps/flags/uz.png new file mode 100644 index 000000000..456d35927 Binary files /dev/null and b/pixmaps/flags/uz.png differ diff --git a/pixmaps/flags/va.png b/pixmaps/flags/va.png new file mode 100644 index 000000000..306dc1ef5 Binary files /dev/null and b/pixmaps/flags/va.png differ diff --git a/pixmaps/flags/vc.png b/pixmaps/flags/vc.png new file mode 100644 index 000000000..682471224 Binary files /dev/null and b/pixmaps/flags/vc.png differ diff --git a/pixmaps/flags/ve.png b/pixmaps/flags/ve.png new file mode 100644 index 000000000..c93b6fcdc Binary files /dev/null and b/pixmaps/flags/ve.png differ diff --git a/pixmaps/flags/vg.png b/pixmaps/flags/vg.png new file mode 100644 index 000000000..96172adda Binary files /dev/null and b/pixmaps/flags/vg.png differ diff --git a/pixmaps/flags/vi.png b/pixmaps/flags/vi.png new file mode 100644 index 000000000..ab242df15 Binary files /dev/null and b/pixmaps/flags/vi.png differ diff --git a/pixmaps/flags/vn.png b/pixmaps/flags/vn.png new file mode 100644 index 000000000..d346b244c Binary files /dev/null and b/pixmaps/flags/vn.png differ diff --git a/pixmaps/flags/vu.png b/pixmaps/flags/vu.png new file mode 100644 index 000000000..4962e7bd2 Binary files /dev/null and b/pixmaps/flags/vu.png differ diff --git a/pixmaps/flags/wf.png b/pixmaps/flags/wf.png new file mode 100644 index 000000000..d4616ed1f Binary files /dev/null and b/pixmaps/flags/wf.png differ diff --git a/pixmaps/flags/ws.png b/pixmaps/flags/ws.png new file mode 100644 index 000000000..90c97c47d Binary files /dev/null and b/pixmaps/flags/ws.png differ diff --git a/pixmaps/flags/ye.png b/pixmaps/flags/ye.png new file mode 100644 index 000000000..8f3b8d22b Binary files /dev/null and b/pixmaps/flags/ye.png differ diff --git a/pixmaps/flags/yt.png b/pixmaps/flags/yt.png new file mode 100644 index 000000000..d4616ed1f Binary files /dev/null and b/pixmaps/flags/yt.png differ diff --git a/pixmaps/flags/yu.png b/pixmaps/flags/yu.png new file mode 100644 index 000000000..9355b9329 Binary files /dev/null and b/pixmaps/flags/yu.png differ diff --git a/pixmaps/flags/za.png b/pixmaps/flags/za.png new file mode 100644 index 000000000..490f2daec Binary files /dev/null and b/pixmaps/flags/za.png differ diff --git a/pixmaps/flags/zm.png b/pixmaps/flags/zm.png new file mode 100644 index 000000000..4fe4cbe03 Binary files /dev/null and b/pixmaps/flags/zm.png differ diff --git a/pixmaps/flags/zw.png b/pixmaps/flags/zw.png new file mode 100644 index 000000000..e7754fa38 Binary files /dev/null and b/pixmaps/flags/zw.png differ diff --git a/setup.py b/setup.py index 9fe858354..8c27c633e 100644 --- a/setup.py +++ b/setup.py @@ -282,6 +282,7 @@ cmdclass = { data = [('share/deluge/glade', glob.glob('glade/*.glade')), ('share/deluge/pixmaps', glob.glob('pixmaps/*.png')), + ('share/deluge/pixmaps/flags', glob.glob('pixmaps/flags/*.png')), ('share/applications' , ['deluge.desktop']), ('share/pixmaps' , ['deluge.png'])] diff --git a/src/deluge_core.cpp b/src/deluge_core.cpp index 7891401b5..572fdd8cc 100644 --- a/src/deluge_core.cpp +++ b/src/deluge_core.cpp @@ -242,6 +242,7 @@ boost::filesystem::path const& save_path) // h.set_max_connections(60); // at some point we should use this h.set_max_uploads(-1); h.set_ratio(preferred_ratio); + h.resolve_countries(true); new_torrent.handle = h; new_torrent.unique_ID = M_unique_counter; @@ -1176,8 +1177,11 @@ static PyObject *torrent_get_peer_info(PyObject *self, PyObject *args) PyTuple_SetItem(py_pieces, piece, curr_piece); } + std::stringstream country; + country << peers[i].country[0] << peers[i].country[1]; + peer_info = Py_BuildValue( - "{s:f,s:L,s:f,s:L,s:i,s:i,s:b,s:b,s:b,s:b,s:b,s:b,s:b,s:b,s:b,s:s,s:b,s:s,s:f,s:O,s:b,s:b}", + "{s:f,s:L,s:f,s:L,s:i,s:i,s:b,s:b,s:b,s:b,s:b,s:b,s:b,s:b,s:b,s:s,s:b,s:s,s:f,s:O,s:b,s:b,s:s}", "download_speed", peers[i].down_speed, "total_download", peers[i].total_download, "upload_speed", peers[i].up_speed, @@ -1199,7 +1203,8 @@ static PyObject *torrent_get_peer_info(PyObject *self, PyObject *args) "peer_has", float(float(pieces_had)*100.0/pieces.size()), "pieces", py_pieces, "rc4_encrypted", ((peers[i].flags & peer_info::rc4_encrypted) != 0), - "plaintext_encrypted", ((peers[i].flags & peer_info::plaintext_encrypted) != 0) + "plaintext_encrypted", ((peers[i].flags & peer_info::plaintext_encrypted) != 0), + "country", country.str().c_str() ); Py_DECREF(py_pieces); // Assuming the previous line does NOT steal the ref, then this is diff --git a/src/tab_peers.py b/src/tab_peers.py index f23937b07..683deb977 100644 --- a/src/tab_peers.py +++ b/src/tab_peers.py @@ -8,6 +8,7 @@ from itertools import izip import gobject import gtk +import common import dgtk class PeersTabManager(object): @@ -17,11 +18,13 @@ class PeersTabManager(object): # IP int, IP string, Client, Percent Complete, Down Speed, Up Speed # IP int is for faster sorting - self.peer_store = gtk.ListStore(gobject.TYPE_UINT, str, str, float, - int, int) + self.peer_store = gtk.ListStore(gobject.TYPE_UINT, gtk.gdk.Pixbuf, + str, str, float, int, int) # Stores IP -> gtk.TreeIter's iter mapping for quick look up # in update_torrent_info_widget self.peer_store_dict = {} + + self._cached_flags = {} def build_peers_view(self): def percent(column, cell, model, iter, data): @@ -31,25 +34,39 @@ class PeersTabManager(object): self.peer_view.set_model(self.peer_store) - self.peer_ip_column = dgtk.add_text_column(self.peer_view, - _("IP Address"), 1) - self.peer_client_column = dgtk.add_text_column(self.peer_view, - _("Client"), 2) - self.peer_complete_column = dgtk.add_func_column(self.peer_view, - _("Percent Complete"), percent, 3) - self.peer_download_column = dgtk.add_func_column(self.peer_view, - _("Down Speed"), dgtk.cell_data_speed, - 4) - self.peer_upload_column = dgtk.add_func_column(self.peer_view, - _("Up Speed"), dgtk.cell_data_speed, - 5) - - self.peer_ip_column.set_sort_column_id(0) + ip_column = dgtk.add_texticon_column(self.peer_view, _("IP Address"), + 1, 2) + ip_column.set_sort_column_id(0) + dgtk.add_text_column(self.peer_view, _("Client"), 3) + dgtk.add_func_column(self.peer_view, _("Percent Complete"), percent, + 4) + dgtk.add_func_column(self.peer_view, _("Down Speed"), + dgtk.cell_data_speed, 5) + dgtk.add_func_column(self.peer_view, _("Up Speed"), + dgtk.cell_data_speed, 6) def clear_store(self): self.peer_store.clear() self.peer_store_dict = {} + def get_country_image(self, country): + country_image = None + if country.isalpha(): + if country in self._cached_flags: + country_image = self._cached_flags[country] + else: + try: + country_image = gtk.gdk.pixbuf_new_from_file( + common.get_pixmap('flags/%s.png' % + country.lower())) + except gobject.GError: + pass + + self._cached_flags[country] = country_image + + return country_image + + def update(self, unique_id): new_peer_info = self.manager.get_torrent_peer_info(unique_id) new_ips = set() @@ -59,8 +76,9 @@ class PeersTabManager(object): if peer['ip'] in self.peer_store_dict: iter = self.peer_store_dict[peer['ip']] - dgtk.update_store(self.peer_store, iter, (3, 4, 5), - (round(peer["peer_has"], 2), + dgtk.update_store(self.peer_store, iter, (1, 4, 5, 6), + (self.get_country_image(peer["country"]), + round(peer["peer_has"], 2), peer["download_speed"], peer["upload_speed"])) @@ -82,11 +100,11 @@ class PeersTabManager(object): # Fallback to latin-1 in case peer's client # doesn't use utf-8. utorrent < 1.7 for example client = client.decode('latin-1') - - iter = self.peer_store.append([ip_int, peer["ip"], - client, round(peer["peer_has"], 2), - peer["download_speed"], - peer["upload_speed"]]) + + iter = self.peer_store.append([ip_int, + self.get_country_image(peer["country"]), + peer["ip"], client, round(peer["peer_has"], 2), + peer["download_speed"], peer["upload_speed"]]) self.peer_store_dict[peer['ip']] = iter