summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-07-30 21:12:47 +0200
committermathieui <mathieui@mathieui.net>2015-07-30 21:12:47 +0200
commitf2c8c328e615b9212a4969d0a24b1716b6ff7ab0 (patch)
tree4cfd29417ae9ad8a6768475e9fd70cc6aeda715f /src
parent9a4dc500783c2bfa1efdcbc459712522cdbdfdaf (diff)
downloadpoezio-f2c8c328e615b9212a4969d0a24b1716b6ff7ab0.tar.gz
poezio-f2c8c328e615b9212a4969d0a24b1716b6ff7ab0.tar.bz2
poezio-f2c8c328e615b9212a4969d0a24b1716b6ff7ab0.tar.xz
poezio-f2c8c328e615b9212a4969d0a24b1716b6ff7ab0.zip
Add a selected_row attribute to the roster tab
(for easier API access)
Diffstat (limited to 'src')
-rw-r--r--src/tabs/rostertab.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tabs/rostertab.py b/src/tabs/rostertab.py
index 4d946ba4..f9fe49d6 100644
--- a/src/tabs/rostertab.py
+++ b/src/tabs/rostertab.py
@@ -197,6 +197,10 @@ class RosterInfoTab(Tab):
usage='<name> <path>',
completion=self.completion_cert_fetch)
+ @property
+ def selected_row(self):
+ return self.roster_win.get_selected_row()
+
@command_args_parser.ignored
def command_certs(self):
"""