Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/browser.py
Commit message (Collapse)AuthorAgeFilesLines
* Show Sugar's palette when right click is pressed SL #3455Manuel Kaufmann2012-09-281-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the user right clicks over a link, an image or selected text the Sugar's Palette is shown with the proper menu's items for each case. There are 4 possibilities. When the click is done over: - Link: - Title and subtitle (if they are availables) - title is the content text of the link - subtitle is the uri - Copy link (copy the link into the clipboard) - Keep link (download the .html to the Journal) - Follow link in new tab (open a new tab with the url pointed) - Follow link (follow the link inside the current tab) - Image: - Title and subtitle (if they are availables) - title is the "title" property of the <img> - subtitle is the uri - Keep image (download the image to the Journal) - Copy image (copy the image into the clipboard) - Image with a link: - Title and subtitle (if they are availables) - title is the "title" property of the <img> - subtitle is the uri Same Items than "Link" option - Selected Text: - Title and subtitle (not implemented because the function webkit_web_view_get_selected_text was removed: https://bugs.webkit.org/show_bug.cgi?id=62512) - Copy text (copy the text into the clipboard) Signed-off-by: Simon Schampijer <simon@laptop.org> Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Button to clear the url entry SL #3499Manuel Kaufmann2012-09-281-0/+5
| | | | | | | | | | Added an 'X' to clear the url entry easily. This button is shown when the url entry has focus and the user is not reading a .pdf webpage. When the focus is left the icon changes again to the correct one (reload, stop loading or none) Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Display only the URL in the URL entry SL #3553Manuel Kaufmann2012-09-271-0/+4
| | | | | | | | | The Title of the current page is no longer shown in the URL entry. Now, it's only shown in the tab and the current URL is visible all the time in the URL entry. Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Error page SL #3500Manuel Kaufmann2012-09-271-0/+22
| | | | | | | | | | | Added an "Error page" with Sugar style that informs the users about the the page could not be loaded for any reason. This patch contains a HTML template (error_page.tmpl) that is used to generate the error page with the correct language. Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Busy indication SL #851Manuel Kaufmann2012-09-251-0/+21
| | | | | | | | | | | Show WATCH Cursor when the page is loading and LEFT_PTR when the load finishes. This changes take in consideration the tab that the user is watching, so the cursor refers to the state of the current browser / tab. Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Revert zoom with the original value SL #3540Manuel Kaufmann2012-09-101-0/+1
| | | | | | | | | | New functionality to go back to the original zoom value. Added an icon next to zoom properties in View Toolbar. This function can be used with the hotkey "Control + 0" as well. Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
* Restore journal file picker (#3411)Daniel Drake2012-06-141-0/+19
| | | | | | | | | | | | | | The run-file-chooser signal can be used to intercept a request for a file upload and display a custom file chooser. We want to do this to allow the user to upload files from the journal. By default, the standard GTK+ file chooser was being shown. run-file-chooser is present in WebKit2 and has been submitted for final review for inclusion in WebKit1. Signed-off-by: Daniel Drake <dsd@laptop.org> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Unset "loading..." message when the loading fails SL #3620Manuel Quiñones2012-05-301-2/+7
| | | | | | | | | | | | | Browse has to restore the previous title in the tab and in the URL entry when the loading finishes with WEBKIT_LOAD_FAILED status. This fixes bug #3620 in Sugarlabs trac. The WEBKIT_LOAD_FAILED status is reached in the current webview when the loading is manually handled in the mime-type-policy-decision-requested callback. Signed-off-by: Manuel Quiñones <manuq@laptop.org> Tested-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Simon Schampijer <simon@laptop.org>
*