diff options
author | mathieui <mathieui@mathieui.net> | 2015-07-30 21:12:47 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2015-07-30 21:12:47 +0200 |
commit | f2c8c328e615b9212a4969d0a24b1716b6ff7ab0 (patch) | |
tree | 4cfd29417ae9ad8a6768475e9fd70cc6aeda715f /src/tabs | |
parent | 9a4dc500783c2bfa1efdcbc459712522cdbdfdaf (diff) | |
download | poezio-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/tabs')
-rw-r--r-- | src/tabs/rostertab.py | 4 |
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): """ |