operate on many rows in roster
we must operate on many contacts (we should allow selecting many, and instead of get_selected() we use model, list_of_paths = get_selected_rows()
then make those paths treerowrefs:
paths_len = len(list_of_paths)
if paths_len == 0: # nothing is selected
return
list_of_rowrefs = []
for path in list_of_paths: # make them treerowrefs (it's needed)
list_of_rowrefs.append(gtk.TreeRowReference(liststore, path))
for rowref in list_of_rowrefs:
path = rowref.get_path()
if path is None:
continue
jid = liststore[path][0] # jid