New tag & want functions for context menu in search view.

This commit is contained in:
luxick
2017-07-02 15:40:46 +02:00
parent 8a0995d74f
commit f5cd7d5d1c
8 changed files with 190 additions and 26 deletions

View File

@@ -118,7 +118,7 @@ class CardList(Gtk.ScrolledWindow):
self.store.set_sort_column_id(1, Gtk.SortType.ASCENDING)
def get_selected_cards(self):
def get_selected_cards(self) -> dict:
(model, pathlist) = self.selection.get_selected_rows()
output = {}
for path in pathlist: