Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Highlight the search results correctlySimon Schampijer2012-01-231-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | Inspired by the Epiphany code we now highlight the search results in the default color, yellow. Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel QuiƱones <manuq@laptop.org>
* | | Display pages based on locale specific informationSimon Schampijer2012-01-231-16/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This displays pages based on your locale information e.g. 'google.com' will be in French when your locale is set to 'fr'. We use our associated SoupSession to set the "accept-language-auto" property [1] which will set the 'accept-language' header when making requests based on the return value of g_get_language_names() [2]. This does replace our custom code that did determine the locale information and the 'intl.accept_languages' [3] property before. [1] http://developer.gnome.org/libsoup/stable/SoupSession.html#SoupSession--accept-language-auto [2] http://developer.gimp.org/api/2.0/glib/glib-I18N.html#g-get-language-names [3] http://kb.mozillazine.org/About:config_entries#Intl. Signed-off-by: Simon Schampijer <simon@laptop.org>
* | | Append the current Sugar (Sucrose) version to the user agentSimon Schampijer2012-01-231-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This identifier is used in ASLO to determine which activities can be downloaded (ASLO is parsing the user agent of the Browser to provide an appropriate activity version, if it fails to get the Sugar version from the agent string, it uses the last stable version, which is 0.94 at the moment). One thing that is not perfectly handled by this patch is that we need to modify the user agent for every WebView (see [1]). Furthermore we need to modify the Sugar version in Browse accordingly with each Sugar release as the Sugar version is only availble in the shell and not in the toolkit. [1] https://lists.webkit.org/pipermail/webkit-gtk/2012-January/000893.html Signed-off-by: Simon Schampijer <simon@laptop.org>
* | | Bring back download functionality using WebKitSimon Schampijer2012-01-233-314/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings back the download functionality to Browse using WebKit, it handles the cases when you click on a link and the Browser is not setup to view this file. Requesting a download through Palettes is still to come. The code is inspired by the download code in Surf. Signed-off-by: Simon Schampijer <simon@laptop.org>
* | | Highlight the search results correctlySimon Schampijer2012-01-231-6/+12
| |/ |/| | | | | | | | | | | Inspired by the Epiphany code we now highlight the search results in the default color, yellow. Signed-off-by: Simon Schampijer <simon@laptop.org>
* |