Show country flags in peers tab.
@ -267,7 +267,6 @@ class TorrentManager(component.Component):
|
||||
except RuntimeError, e:
|
||||
log.warning("Error adding torrent: %s", e)
|
||||
|
||||
log.debug("after torrent add")
|
||||
if not handle or not handle.is_valid():
|
||||
log.debug("torrent handle is invalid!")
|
||||
# The torrent was not added to the session
|
||||
@ -286,6 +285,9 @@ class TorrentManager(component.Component):
|
||||
self.queue.insert(0, torrent.torrent_id)
|
||||
else:
|
||||
self.queue.insert(queue, torrent.torrent_id)
|
||||
|
||||
# Set resolve_countries to True
|
||||
handle.resolve_countries(True)
|
||||
|
||||
# Set per-torrent options
|
||||
torrent.set_max_connections(options["max_connections_per_torrent"])
|
||||
|
2
deluge/data/pixmaps/flags/FLAGS_LICENCE
Normal file
@ -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."
|
BIN
deluge/data/pixmaps/flags/ad.png
Normal file
After Width: | Height: | Size: 761 B |
BIN
deluge/data/pixmaps/flags/ae.png
Normal file
After Width: | Height: | Size: 518 B |
BIN
deluge/data/pixmaps/flags/af.png
Normal file
After Width: | Height: | Size: 688 B |
BIN
deluge/data/pixmaps/flags/ag.png
Normal file
After Width: | Height: | Size: 880 B |
BIN
deluge/data/pixmaps/flags/ai.png
Normal file
After Width: | Height: | Size: 862 B |
BIN
deluge/data/pixmaps/flags/al.png
Normal file
After Width: | Height: | Size: 770 B |
BIN
deluge/data/pixmaps/flags/am.png
Normal file
After Width: | Height: | Size: 596 B |
BIN
deluge/data/pixmaps/flags/an.png
Normal file
After Width: | Height: | Size: 650 B |
BIN
deluge/data/pixmaps/flags/ao.png
Normal file
After Width: | Height: | Size: 809 B |
BIN
deluge/data/pixmaps/flags/aq.png
Normal file
After Width: | Height: | Size: 836 B |
BIN
deluge/data/pixmaps/flags/ar.png
Normal file
After Width: | Height: | Size: 708 B |
BIN
deluge/data/pixmaps/flags/as.png
Normal file
After Width: | Height: | Size: 806 B |
BIN
deluge/data/pixmaps/flags/at.png
Normal file
After Width: | Height: | Size: 505 B |
BIN
deluge/data/pixmaps/flags/au.png
Normal file
After Width: | Height: | Size: 877 B |
BIN
deluge/data/pixmaps/flags/aw.png
Normal file
After Width: | Height: | Size: 722 B |
BIN
deluge/data/pixmaps/flags/ax.png
Normal file
After Width: | Height: | Size: 718 B |
BIN
deluge/data/pixmaps/flags/az.png
Normal file
After Width: | Height: | Size: 834 B |
BIN
deluge/data/pixmaps/flags/ba.png
Normal file
After Width: | Height: | Size: 741 B |
BIN
deluge/data/pixmaps/flags/bb.png
Normal file
After Width: | Height: | Size: 813 B |
BIN
deluge/data/pixmaps/flags/bd.png
Normal file
After Width: | Height: | Size: 817 B |
BIN
deluge/data/pixmaps/flags/be.png
Normal file
After Width: | Height: | Size: 548 B |
BIN
deluge/data/pixmaps/flags/bf.png
Normal file
After Width: | Height: | Size: 549 B |
BIN
deluge/data/pixmaps/flags/bg.png
Normal file
After Width: | Height: | Size: 539 B |
BIN
deluge/data/pixmaps/flags/bh.png
Normal file
After Width: | Height: | Size: 647 B |
BIN
deluge/data/pixmaps/flags/bi.png
Normal file
After Width: | Height: | Size: 837 B |
BIN
deluge/data/pixmaps/flags/bj.png
Normal file
After Width: | Height: | Size: 607 B |
BIN
deluge/data/pixmaps/flags/bm.png
Normal file
After Width: | Height: | Size: 773 B |
BIN
deluge/data/pixmaps/flags/bn.png
Normal file
After Width: | Height: | Size: 786 B |
BIN
deluge/data/pixmaps/flags/bo.png
Normal file
After Width: | Height: | Size: 632 B |
BIN
deluge/data/pixmaps/flags/br.png
Normal file
After Width: | Height: | Size: 801 B |
BIN
deluge/data/pixmaps/flags/bs.png
Normal file
After Width: | Height: | Size: 620 B |
BIN
deluge/data/pixmaps/flags/bt.png
Normal file
After Width: | Height: | Size: 929 B |
BIN
deluge/data/pixmaps/flags/bv.png
Normal file
After Width: | Height: | Size: 819 B |
BIN
deluge/data/pixmaps/flags/bw.png
Normal file
After Width: | Height: | Size: 680 B |
BIN
deluge/data/pixmaps/flags/by.png
Normal file
After Width: | Height: | Size: 567 B |
BIN
deluge/data/pixmaps/flags/bz.png
Normal file
After Width: | Height: | Size: 841 B |
BIN
deluge/data/pixmaps/flags/ca.png
Normal file
After Width: | Height: | Size: 754 B |
BIN
deluge/data/pixmaps/flags/cc.png
Normal file
After Width: | Height: | Size: 717 B |
BIN
deluge/data/pixmaps/flags/cd.png
Normal file
After Width: | Height: | Size: 688 B |
BIN
deluge/data/pixmaps/flags/cf.png
Normal file
After Width: | Height: | Size: 764 B |
BIN
deluge/data/pixmaps/flags/cg.png
Normal file
After Width: | Height: | Size: 645 B |
BIN
deluge/data/pixmaps/flags/ch.png
Normal file
After Width: | Height: | Size: 582 B |
BIN
deluge/data/pixmaps/flags/ci.png
Normal file
After Width: | Height: | Size: 680 B |
BIN
deluge/data/pixmaps/flags/ck.png
Normal file
After Width: | Height: | Size: 796 B |
BIN
deluge/data/pixmaps/flags/cl.png
Normal file
After Width: | Height: | Size: 609 B |
BIN
deluge/data/pixmaps/flags/cm.png
Normal file
After Width: | Height: | Size: 659 B |
BIN
deluge/data/pixmaps/flags/cn.png
Normal file
After Width: | Height: | Size: 523 B |
BIN
deluge/data/pixmaps/flags/co.png
Normal file
After Width: | Height: | Size: 489 B |
BIN
deluge/data/pixmaps/flags/cr.png
Normal file
After Width: | Height: | Size: 634 B |
BIN
deluge/data/pixmaps/flags/cs.png
Normal file
After Width: | Height: | Size: 569 B |
BIN
deluge/data/pixmaps/flags/cu.png
Normal file
After Width: | Height: | Size: 766 B |
BIN
deluge/data/pixmaps/flags/cv.png
Normal file
After Width: | Height: | Size: 734 B |
BIN
deluge/data/pixmaps/flags/cx.png
Normal file
After Width: | Height: | Size: 784 B |
BIN
deluge/data/pixmaps/flags/cy.png
Normal file
After Width: | Height: | Size: 768 B |
BIN
deluge/data/pixmaps/flags/cz.png
Normal file
After Width: | Height: | Size: 650 B |
BIN
deluge/data/pixmaps/flags/de.png
Normal file
After Width: | Height: | Size: 534 B |
BIN
deluge/data/pixmaps/flags/dj.png
Normal file
After Width: | Height: | Size: 641 B |
BIN
deluge/data/pixmaps/flags/dk.png
Normal file
After Width: | Height: | Size: 625 B |
BIN
deluge/data/pixmaps/flags/dm.png
Normal file
After Width: | Height: | Size: 882 B |
BIN
deluge/data/pixmaps/flags/do.png
Normal file
After Width: | Height: | Size: 771 B |
BIN
deluge/data/pixmaps/flags/dz.png
Normal file
After Width: | Height: | Size: 909 B |
BIN
deluge/data/pixmaps/flags/ec.png
Normal file
After Width: | Height: | Size: 670 B |
BIN
deluge/data/pixmaps/flags/ee.png
Normal file
After Width: | Height: | Size: 516 B |
BIN
deluge/data/pixmaps/flags/eg.png
Normal file
After Width: | Height: | Size: 519 B |
BIN
deluge/data/pixmaps/flags/eh.png
Normal file
After Width: | Height: | Size: 515 B |
BIN
deluge/data/pixmaps/flags/er.png
Normal file
After Width: | Height: | Size: 789 B |
BIN
deluge/data/pixmaps/flags/es.png
Normal file
After Width: | Height: | Size: 634 B |
BIN
deluge/data/pixmaps/flags/et.png
Normal file
After Width: | Height: | Size: 830 B |
BIN
deluge/data/pixmaps/flags/fi.png
Normal file
After Width: | Height: | Size: 654 B |
BIN
deluge/data/pixmaps/flags/fj.png
Normal file
After Width: | Height: | Size: 974 B |
BIN
deluge/data/pixmaps/flags/fk.png
Normal file
After Width: | Height: | Size: 730 B |
BIN
deluge/data/pixmaps/flags/fm.png
Normal file
After Width: | Height: | Size: 800 B |
BIN
deluge/data/pixmaps/flags/fo.png
Normal file
After Width: | Height: | Size: 761 B |
BIN
deluge/data/pixmaps/flags/fr.png
Normal file
After Width: | Height: | Size: 694 B |
BIN
deluge/data/pixmaps/flags/fx.png
Normal file
After Width: | Height: | Size: 694 B |
BIN
deluge/data/pixmaps/flags/ga.png
Normal file
After Width: | Height: | Size: 561 B |
BIN
deluge/data/pixmaps/flags/gb.png
Normal file
After Width: | Height: | Size: 980 B |
BIN
deluge/data/pixmaps/flags/gd.png
Normal file
After Width: | Height: | Size: 754 B |
BIN
deluge/data/pixmaps/flags/ge.png
Normal file
After Width: | Height: | Size: 587 B |
BIN
deluge/data/pixmaps/flags/gf.png
Normal file
After Width: | Height: | Size: 694 B |
BIN
deluge/data/pixmaps/flags/gg.png
Normal file
After Width: | Height: | Size: 530 B |
BIN
deluge/data/pixmaps/flags/gh.png
Normal file
After Width: | Height: | Size: 579 B |
BIN
deluge/data/pixmaps/flags/gi.png
Normal file
After Width: | Height: | Size: 645 B |
BIN
deluge/data/pixmaps/flags/gl.png
Normal file
After Width: | Height: | Size: 702 B |
BIN
deluge/data/pixmaps/flags/gm.png
Normal file
After Width: | Height: | Size: 598 B |
BIN
deluge/data/pixmaps/flags/gn.png
Normal file
After Width: | Height: | Size: 762 B |
BIN
deluge/data/pixmaps/flags/gp.png
Normal file
After Width: | Height: | Size: 694 B |
BIN
deluge/data/pixmaps/flags/gq.png
Normal file
After Width: | Height: | Size: 738 B |
BIN
deluge/data/pixmaps/flags/gr.png
Normal file
After Width: | Height: | Size: 744 B |
BIN
deluge/data/pixmaps/flags/gs.png
Normal file
After Width: | Height: | Size: 745 B |
BIN
deluge/data/pixmaps/flags/gt.png
Normal file
After Width: | Height: | Size: 831 B |
BIN
deluge/data/pixmaps/flags/gu.png
Normal file
After Width: | Height: | Size: 819 B |
BIN
deluge/data/pixmaps/flags/gw.png
Normal file
After Width: | Height: | Size: 557 B |
BIN
deluge/data/pixmaps/flags/gy.png
Normal file
After Width: | Height: | Size: 815 B |
BIN
deluge/data/pixmaps/flags/hk.png
Normal file
After Width: | Height: | Size: 636 B |
BIN
deluge/data/pixmaps/flags/hm.png
Normal file
After Width: | Height: | Size: 789 B |
BIN
deluge/data/pixmaps/flags/hn.png
Normal file
After Width: | Height: | Size: 734 B |
BIN
deluge/data/pixmaps/flags/hr.png
Normal file
After Width: | Height: | Size: 825 B |