get_nth_bookmark
Description:
This function queries the bookmarks added by the user to the places sidebar, and returns one of them.
This function is used by FileChooser to implement the “Alt-1”, “Alt-2”, etc. shortcuts, which activate the cooresponding bookmark.
Parameters:
this |
a places sidebar |
n |
index of the bookmark to query |
Returns:
The bookmark specified by the index |