Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Adopt to new Activity APISimon Schampijer2012-01-111-7/+5
| | | | | | '_shared_activity' has been deprecated use 'get_shared_activity()' now. Signed-off-by: Simon Schampijer <simon@laptop.org>
* Deprecation fix: don't use EditToolbar from activity moduleSimon Schampijer2012-01-111-3/+3
| | | | | | The EditToolar has been moved to the widgets module Signed-off-by: Simon Schampijer <simon@laptop.org>
* Make None comparison PEP8 conformSimon Schampijer2012-01-111-1/+1
|
* Palettes showing history in back and forward buttonsManuel Quiñones2012-01-071-32/+38
| | | | Signed-off-by: Manuel Quiñones <manuq@laptop.org>
* Use self._browser in PrimaryToolbar, remove unused codeManuel Quiñones2012-01-071-29/+8
| | | | | Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
* Show link information when hovering over linkSimon Schampijer2012-01-072-32/+58
| | | | | | | | | When hovering over a link we show the link information at the lower left corner, like Epiphany does. Needs styling to be eve nicer. Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Global history for URL autocompletion in URL entryManuel Quiñones2012-01-065-52/+45
| | | | | | | | | The sqlite backend to store the global history is maintained. There are two fields in the database that are left unused: bookmark and gecko_flags. Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
* Cleanup in browser.py from unused xulrunner based codeManuel Quiñones2012-01-051-10/+0
| | | | | Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
* Restore starred linksManuel Quiñones2012-01-052-43/+45
| | | | | | | The thumbnails are now made with Cairo. Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
* Use gtk-notebook-action-widget for the 'add-tab' buttonSimon Schampijer2012-01-051-28/+2
| | | | | | | | | | | | | | | | | | Due to API changes in the GTK Notebook [1] we can add now an action widget to it (e.g. a button to add a new tab). So far our 'add-new-tab'-button in Browse was another special tab. This does simplify the Browse code a lot by using the action widget instead. Yay! There will be a visual difference with this approach, the Button will always be at the far right, but this is acceptable - Safari uses the same style, with a button at the far right for adding a new tab (once a tab is open). [1] http://developer.gnome.org/gtk3/3.0/GtkNotebook.html#gtk-notebook-set-action-widget Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Cleanup in browser.py from unused xulrunner based codeSimon Schampijer2012-01-051-89/+0
| | | | | Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Make view source using the Webkit APISimon Schampijer2012-01-051-47/+8
| | | | | | | Inspired by: http://wiki.disorder.sk/howto:webkit_snippets Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Merge branch 'master' of git.sugarlabs.org:browse/mainlineManuel Quiñones2012-01-051-1/+1
|\
| * Adopt to WebKit API for title of the browser widgetSimon Schampijer2012-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | The webkitgtk API [1] does return None if the title is not set. Adopt to that change. [1] http://webkitgtk.org/reference/webkitgtk-webkitwebview.html#WebKitWebView--title Signed-off-by: Simon Schampijer <simon@laptop.org> Reviewed-by: Manuel Quiñones <manuq@laptop.org>
* | Normalize and autosearch url input.Manuel Quiñones2012-01-052-1/+71
|/ | | | | | | | | | This borrows code from Epiphany. Our normalize_or_autosearch_url is like the method of the same name in ephy-web-view.c . And the function has_web_scheme is like ephy_embed_utils_address_has_web_scheme in ephy-embed-utils.c Acked-by: Simon Schampijer <simon@laptop.org> Signed-off-by: Manuel Quiñones <manuq@laptop.org>
* Improve session store and restoreManuel Quiñones2012-01-043-113/+66
| | | | | | | | | | | | | | | | | | | | | | | | | This is the review from Simon Schampijer of commit 14102bcd65f015dcbf12d1406df8ef7ffb64d13d . * the sessionstore code is moved into Browser, we do have set_history_index/get_history_index already there, the TabbedView does use that path for their requests about the history * Rename a few bits s/session/history and the return value from self.get_back_forward_list() Use back_forward_list as variable * Fold _get_history and _set_history into their appropriate 'mother' methods * Make set_history_index a bit cleaner, the API provided by webkitgtk does not seem to cleanly allow our usage like: get_current_item_index and go_to_back_forward_item(index) also the API does seem to miss a back_forward_list.get_length() (see the code we have to do in _items_history_as_list) there only exist a back_forward_list.get_back_length() and back_forward_list.get_forward_length(). Signed-off-by: Manuel Quiñones <manuq@laptop.org>
* New version, 130v130Manuel Quiñones2011-12-231-1/+1
| | | | | | The first version of the port to GTK+3 . Signed-off-by: Manuel Quiñones <manuq@laptop.org>
* Fix URI for loading default pageManuel Quiñones2011-12-211-1/+1
| | | | Signed-off-by: Manuel Quiñones <manuq@laptop.org>
* Restore reload/stop loading functionalityManuel Quiñones2011-12-201-4/+3
| | | | Signed-off-by: Manuel Quiñones <manuq@laptop.org>
* Restore edit subtoolbar functionality: undo, redo, copy, paste, searchManuel Quiñones2011-12-201-49/+55
| | | | Signed-off-by: Manuel Quiñones <manuq@laptop.org>
* Remove old zoom methodsManuel Quiñones2011-12-201-16/+0
| | | | | | | Now the WebKit.WebView zoom_in() and zoom_out() methods are called and the page is effectively zoomed. Signed-off-by: Manuel Quiñones <manuq@laptop.org>
* Merge branch 'master' of git.sugarlabs.org:browse/mainlineManuel Quiñones2011-12-201-63/+76
|\
| *