API or command to know the bookmark file name and location
Hello, 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. If I have to support my application for all versions of ubuntu, then I must not rely on hard coding the path of bookmarks file name/path. Is there an, API and command to find out the path and name of a bookmarks file? (I want a command also because I want to invoke it from a script as well). Thanks in advance. -Sandeep ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
API or command to know the bookmark file name and location
Hello, 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. If I have to support my application for all versions of ubuntu, then I must not rely on hard coding the path of bookmarks file name/path. Is there an, API and command to find out the path and name of a bookmarks file? (I want a command also because I want to invoke it from a script as well). Thanks in advance. -Sandeep ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: API or command to know the bookmark file name and location
On Mon, Jul 15, 2013 at 11:09 AM, Sandeep sand...@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. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list