Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Release 134v134Manuel Quiñones2012-04-051-1/+1
|
* Fix bookmarks read from previous sessionManuel Quiñones2012-03-292-2/+7
| | | | | | | | | | | | | Color parameter in get_image() method of class LinkButton is being passed with type str when inside a session, but is type unicode when read from a previous session, because json stores unicode. And Rsvg.Handle.new_from_data() needs a single byte string. This fixes #3402 . Also removed unused parameters in LinkButton constructor. Signed-off-by: Manuel Quiñones <manuq@laptop.org>
* Update progress bar and stop/reload buttons when switching tabsManuel Quiñones2012-03-282-10/+9
| | | | | | | | | | | | | | | | | | | | Calling the _set_status and _set_progress methods in the web toolbar directly when a new tab is activated. Also the callback for load-status is disconnected now in the previous tab, like the other callbacks. Removed the update of the navigation buttons when the loading status changes. This is only needed when the adress changes or when the tabs are switched. Removed the title set to None when loading status chenges, this was giving the following Gtk error: Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
* Pass URI instead of file path when the activity starts from a fileManuel Quiñones2012-03-281-1/+2
| | | | | | | | | | | | If the MIME type of the file that the activity reads is not "text/plain" or "text/uri-list", it will load the file as-is in the default tab. But WebKit needs an URI, and we are passing the file path. Appending 'file://' to the file path solves the issue. This fixes second part of #3300 . Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
* Store empty strings instead of None in the places sqlite database.Manuel Quiñones2012-03-281-2/+10
| | | | | | | | | | | | | | | | | | | The SQL model sets "text" as the fields type for uri and title. However, sqlite uses a dynamic type sistem [1] and our Place class was initializing those attributes with None. As a consequence, when the user types something in the toolbar entry, and a search is made to show a drop-down list for autocomplete, the drop-down list is being filled with None, but is defined as Gtk.ListStore(str, str). This is provoking a GTK+ error,that crashes the activity in the XO, as bug In order to keep backwards compatibility, if the database returns None for does fields, they are translated to empty strings in _place_from_row() method of place.SqliteStore . [1] http://sqlite.org/datatype3.html Signed-off-by: Manuel Quiñones <manuq@laptop.org> Signed-off-by: Simon Schampijer <simon@laptop.org>
*