| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
It was set in the setup method of the pdf viewer, but
was overwritten by the show_pdf method.
This requires the patch attached in SL #3620
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Tested-by: Manuel Kaufmann <humitos@gmail.com>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
|
| |
This patch moves the line that sets the title to the
filename of the PDF, so we display "Loading..." until we
know the title, and if title is None, we show the filename.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Reviewed-By: Manuel Kaufmann <humitos@gmail.com>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Calling the _set_status and _set_progress methods in the web toolbar
directly when a new tab is activated.
Also the callback for load-status is disconnected now in the previous
tab, like the other callbacks.
Removed the update of the navigation buttons when the loading status
changes. This is only needed when the adress changes or when the tabs
are switched.
Removed the title set to None when loading status chenges, this was
giving the following Gtk error:
Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|
|
When a request is made with a MIME type 'application/pdf', a new tab
is opened next to the current one to show the document. If the
document is remote, a download starts, and the progress is shown in
the toolbar's URL entry. It can be cancelled with the X button, the
same for cancelling the loading.
Basic navigation is provided to allow a quick read of the PDF. The
user can also save the document to the Journal to store it, and later
it may be opened in Read for featureful usage. The controls are in a
floating toolbar, at the bottom of the document.
The PDF tabs are restored between sessions as expected.
If the user clicks on a hyperlink in a PDF, a new tab is opened next
to the current to browse it.
This uses Evince, the same backend to display the PDF document as
Read. And WebKit to download the document, as per other downloads in
Browse.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
|