diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-17 13:07:58 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-17 13:07:58 +0200 |
commit | d8a95f267f4f1865a58cbed15e6b45349e9d2c09 (patch) | |
tree | 5501245d7ef1209319a10ad824ac29b33e26a428 /src/gmrequest.c | |
parent | 48ba3598db53f249f3a8bfd577ca95afde52c760 (diff) |
Added "about:bookmarks"
A simple way to export all or some of your bookmarks.
Diffstat (limited to 'src/gmrequest.c')
-rw-r--r-- | src/gmrequest.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gmrequest.c b/src/gmrequest.c index 1f922142..97634bd4 100644 --- a/src/gmrequest.c +++ b/src/gmrequest.c | |||
@@ -27,6 +27,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
27 | #include "app.h" /* dataDir_App() */ | 27 | #include "app.h" /* dataDir_App() */ |
28 | #include "mimehooks.h" | 28 | #include "mimehooks.h" |
29 | #include "feeds.h" | 29 | #include "feeds.h" |
30 | #include "bookmarks.h" | ||
30 | #include "ui/text.h" | 31 | #include "ui/text.h" |
31 | #include "embedded.h" | 32 | #include "embedded.h" |
32 | #include "defs.h" | 33 | #include "defs.h" |
@@ -298,6 +299,9 @@ static const iBlock *aboutPageSource_(iRangecc path) { | |||
298 | if (equalCase_Rangecc(path, "feeds")) { | 299 | if (equalCase_Rangecc(path, "feeds")) { |
299 | return utf8_String(entryListPage_Feeds()); | 300 | return utf8_String(entryListPage_Feeds()); |
300 | } | 301 | } |
302 | if (equalCase_Rangecc(path, "bookmarks")) { | ||
303 | return utf8_String(bookmarkListPage_Bookmarks(bookmarks_App())); | ||
304 | } | ||
301 | if (equalCase_Rangecc(path, "blank")) { | 305 | if (equalCase_Rangecc(path, "blank")) { |
302 | return utf8_String(collectNewCStr_String("\n")); | 306 | return utf8_String(collectNewCStr_String("\n")); |
303 | } | 307 | } |