order jids in left col by name; fixes 1658
This commit is contained in:
parent
08d07e3ffc
commit
644e744bd2
|
@ -170,7 +170,7 @@ class HistoryManager:
|
||||||
gtk.main_quit()
|
gtk.main_quit()
|
||||||
|
|
||||||
def _fill_jids_listview(self):
|
def _fill_jids_listview(self):
|
||||||
self.cur.execute('SELECT jid, jid_id FROM jids')
|
self.cur.execute('SELECT jid, jid_id FROM jids ORDER BY jid')
|
||||||
rows = self.cur.fetchall() # list of tupples: [(u'aaa@bbb',), (u'cc@dd',)]
|
rows = self.cur.fetchall() # list of tupples: [(u'aaa@bbb',), (u'cc@dd',)]
|
||||||
for row in rows:
|
for row in rows:
|
||||||
self.jids_already_in.append(row[0]) # jid
|
self.jids_already_in.append(row[0]) # jid
|
||||||
|
|
Loading…
Reference in New Issue