summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 96440feb..3f952411 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -3021,6 +3021,13 @@ const iGmDocument *document_DocumentWidget(const iDocumentWidget *d) {
3021 return d->doc; 3021 return d->doc;
3022} 3022}
3023 3023
3024const iString *feedTitle_DocumentWidget(const iDocumentWidget *d) {
3025 if (!isEmpty_String(title_GmDocument(d->doc))) {
3026 return title_GmDocument(d->doc);
3027 }
3028 return bookmarkTitle_DocumentWidget(d);
3029}
3030
3024const iString *bookmarkTitle_DocumentWidget(const iDocumentWidget *d) { 3031const iString *bookmarkTitle_DocumentWidget(const iDocumentWidget *d) {
3025 iStringArray *title = iClob(new_StringArray()); 3032 iStringArray *title = iClob(new_StringArray());
3026 if (!isEmpty_String(title_GmDocument(d->doc))) { 3033 if (!isEmpty_String(title_GmDocument(d->doc))) {