diff options
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index be9da513..165bf9cf 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -742,7 +742,7 @@ static void updateDocument_DocumentWidget_(iDocumentWidget *d, const iGmResponse | |||
742 | 1, | 742 | 1, |
743 | mimeStr, | 743 | mimeStr, |
744 | &response->body, | 744 | &response->body, |
745 | iFalse /* it's fixed */); | 745 | 0); |
746 | redoLayout_GmDocument(d->doc); | 746 | redoLayout_GmDocument(d->doc); |
747 | } | 747 | } |
748 | else { | 748 | else { |
@@ -1151,7 +1151,7 @@ static iBool handleMediaCommand_DocumentWidget_(iDocumentWidget *d, const char * | |||
1151 | req->linkId, | 1151 | req->linkId, |
1152 | meta_GmRequest(req->req), | 1152 | meta_GmRequest(req->req), |
1153 | body_GmRequest(req->req), | 1153 | body_GmRequest(req->req), |
1154 | iTrue); | 1154 | allowHide_MediaFlag); |
1155 | redoLayout_GmDocument(d->doc); | 1155 | redoLayout_GmDocument(d->doc); |
1156 | updateVisible_DocumentWidget_(d); | 1156 | updateVisible_DocumentWidget_(d); |
1157 | invalidate_DocumentWidget_(d); | 1157 | invalidate_DocumentWidget_(d); |
@@ -1805,7 +1805,7 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e | |||
1805 | if (!requestMedia_DocumentWidget_(d, linkId)) { | 1805 | if (!requestMedia_DocumentWidget_(d, linkId)) { |
1806 | if (linkFlags & content_GmLinkFlag) { | 1806 | if (linkFlags & content_GmLinkFlag) { |
1807 | /* Dismiss shown content on click. */ | 1807 | /* Dismiss shown content on click. */ |
1808 | setData_Media(media_GmDocument(d->doc), linkId, NULL, NULL, iTrue); | 1808 | setData_Media(media_GmDocument(d->doc), linkId, NULL, NULL, allowHide_MediaFlag); |
1809 | redoLayout_GmDocument(d->doc); | 1809 | redoLayout_GmDocument(d->doc); |
1810 | d->hoverLink = NULL; | 1810 | d->hoverLink = NULL; |
1811 | scroll_DocumentWidget_(d, 0); | 1811 | scroll_DocumentWidget_(d, 0); |
@@ -1822,7 +1822,7 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e | |||
1822 | linkId, | 1822 | linkId, |
1823 | meta_GmRequest(req->req), | 1823 | meta_GmRequest(req->req), |
1824 | body_GmRequest(req->req), | 1824 | body_GmRequest(req->req), |
1825 | iTrue); | 1825 | allowHide_MediaFlag); |
1826 | redoLayout_GmDocument(d->doc); | 1826 | redoLayout_GmDocument(d->doc); |
1827 | updateVisible_DocumentWidget_(d); | 1827 | updateVisible_DocumentWidget_(d); |
1828 | invalidate_DocumentWidget_(d); | 1828 | invalidate_DocumentWidget_(d); |