Re: API or command to know the bookmark file name and location



On Mon, Jul 15, 2013 at 11:09 AM, Sandeep <sandeep b-one net> wrote

I would like to know if there exists an API and also a command to find the
bookmarks file name and path in ubuntu.

My application writes to the bookmarks file to add some short cuts. Before
ubuntu 11.X the bookmarks file used to be in "/home/myname/.gtk-bookmarks",
but post ubuntu 13.0X it is inside "/home/myname/.config/gtk-3.0/bookmarks".

There's no api or commandline tool to find the file.
There _is_ of course an api to add an item to the recent files:
gtk_recent_manager_add_item
You could simply use that in your application.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]