diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-23 11:46:18 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-23 11:46:18 +0200 |
commit | 64b9cea544ecb2c0ae95afae5e84543ac6117f62 (patch) | |
tree | dbe2f0e2a462a14449c3053fdc30ccaf701782e7 /src/bookmarks.h | |
parent | 5d8bfceb00d5d6b358b358b76c5828344c179e5d (diff) |
Improved handling of bookmark icons
The effect of a bookmark icon is restricted to URLs that begin with the bookmarked URL.
TODO: Bookmark icon of an URL should affect the whole domain, but this should take into consideration user subdirectories ("~name" or "/users/name").
IssueID #140
Diffstat (limited to 'src/bookmarks.h')
-rw-r--r-- | src/bookmarks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bookmarks.h b/src/bookmarks.h index 555ff58b..ab9c683b 100644 --- a/src/bookmarks.h +++ b/src/bookmarks.h | |||
@@ -62,7 +62,7 @@ iBookmark * get_Bookmarks (iBookmarks *, uint32_t id); | |||
62 | void fetchRemote_Bookmarks (iBookmarks *); | 62 | void fetchRemote_Bookmarks (iBookmarks *); |
63 | void requestFinished_Bookmarks (iBookmarks *, iGmRequest *req); | 63 | void requestFinished_Bookmarks (iBookmarks *, iGmRequest *req); |
64 | iBool updateBookmarkIcon_Bookmarks(iBookmarks *, const iString *url, iChar icon); | 64 | iBool updateBookmarkIcon_Bookmarks(iBookmarks *, const iString *url, iChar icon); |
65 | iChar siteIcon_Bookmarks (const iBookmarks *, iRangecc hostName); | 65 | iChar siteIcon_Bookmarks (const iBookmarks *, const iString *url); |
66 | 66 | ||
67 | void save_Bookmarks (const iBookmarks *, const char *dirPath); | 67 | void save_Bookmarks (const iBookmarks *, const char *dirPath); |
68 | uint32_t findUrl_Bookmarks (const iBookmarks *, const iString *url); /* O(n) */ | 68 | uint32_t findUrl_Bookmarks (const iBookmarks *, const iString *url); /* O(n) */ |