| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Add a new row below the standard toolbar and place the URL entry
inside, when the screen width is smaller than the heignt. Otherwise,
it looks as before. Fixes #4212 .
|
|
|
|
|
|
| |
And improve the code of the tab close
Fixes #4590
|
| |
|
|
|
|
| |
Fixes #4619 . Too much calls to datastore.write() is ineffective.
|
| |
|
|
|
|
|
|
|
|
|
| |
Using data-urls the small images can be replaced by custom ones.
Converted them to data-urls with this online tool:
http://dataurl.net/#dataurlmaker
I couldn't find selectors for active buttons, 'active' pseudo class
doesn't work.
|
|
|
|
|
|
|
| |
This was preventing the download to finish, leaving a broken entry in
the Journal.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The only way to do this in webkitgtk1 is to inject CSS using
WebKit.WebView.execute_script:
http://webkitgtk.org/reference/webkitgtk/stable/webkitgtk-webkitwebview.html#webkit-web-view-execute-script
The new CSS rules do:
- set page background white
- set player background dark grey, same as Sugar toolbar
- set player text white
- set buttons size to the same size as Sugar toolbar buttons
This commit doesn't change the size of the icons inside the buttons,
which is too small. Ongoing investigation in the #4465 ticket, it
looks like it should be an upstream fix.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
| |
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>
|