diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-01 18:33:42 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-01 18:33:42 +0200 |
commit | 7d2744f839fb6adb9b4e13957ab53dc57293ae6d (patch) | |
tree | 0a69a8d0e26130e3aed77fcbb35722c26b7e85ea /src/ui/documentwidget.c | |
parent | 319b3d8bba5793a56654d143a4ac75170698e141 (diff) |
Editing feed title in Feed Settings dialog
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 7 |
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 | ||
3024 | const 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 | |||
3024 | const iString *bookmarkTitle_DocumentWidget(const iDocumentWidget *d) { | 3031 | const 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))) { |