| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Otherwise the URL looks like it could be edited.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
| |
This patch from Gonzalo for gtk2 was the main reference:
http://bugs.sugarlabs.org/attachment/ticket/1106/0001-Fix-1106-No-preview-in-Journal-for-downloaded-image.patch
Also borrows from sugar3.activity.Activity.get_preview to make the
preview with cairo. And uses GdkPixbuf to load any GdkPixbuf
supported format.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
| |
For the remote tabs, FINISHED is set when the download finishes, but
for remote we were leaving the tabs in PROVISIONAL state. This caused
an error when the user tried to close the tab with the local PDF.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch is a workaround for a WebKit's bug[1] regarding the
'notify::progress' signal that is not emitted when it should be. So,
we use 'notify::current-size' signal instead and compare the
'current-size' with the 'total-size' to get the proper progress.
[1] https://bugs.webkit.org/show_bug.cgi?id=107308
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Acked-by: Manuel Quiñones <manuq@laptop.org>
|