Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
path: root/browser.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix for Follow link in new tabManuel Quiñones2011-09-121-0/+14
| | | | | | | | Proper code, using signals, instead of adding a reference of TabbedView to Browse objects. Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
* Pylint cleanupSimon Schampijer2011-09-101-6/+5
* Browse: tabs usability improvedManuel Quiñones2011-09-101-20/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The Add Tab button has been relocated next to the tab labels, allowing more space for the URL entry. Tabs are always shown. There is at least one tab. In that case, it cannot be closed. We prevent the closing by hiding the 'X' button. Also, the close image was sugarized. There is now a fixed width for tabs. The label text does ellipsize. The width depends on the amount of tabs. There is a maximum size that is used when there is extra space. There is a minimum size to prevent hiding the information. When a new tab is opened, it now shows an empty page, not the default page. In the future, we will add a hint in this empty page, similar to what we have for an empty Journal. Added the option to "follow link in new tab" in the link's palette. Added an icon for this item, and also the icon for "follow link" is also updated. When a new tab is opened via the '+' button, the focus goes to the URL entry in the toolbar. Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
* Remove more unused importsGonzalo Odiard2011-08-291-4/+0
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Set and restore index in the history (OLPC #10779 / SL #2499)Gonzalo Odiard2011-06-181-1/+6
| | | | | | | | | | Restoring the history index instead of (re)loading the active URL will "distribute" the history over the Back and Forward buttons exactly the same as before Stop + Resume instead of putting it all on the Back button. [tweaked description] Signed-off-by: Sascha Silbe <silbe@activitycentral.com> Acked-By: Sascha Silbe <silbe@activitycentral.com>
* Generalise GetSourceListener to SaveListenerSascha Silbe2011-06-071-9/+15
| | | | | | | Slightly enhance and rename GetSourceListener so it can be used for waiting for completion of any save operation, not just GetSource. Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
* Fix overlong linesSascha Silbe2011-05-211-7/+10
| | | | Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
* fix PEP8 whitespace issuesSascha Silbe2011-05-211-4/+3
| | | | Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
* fix error writing file if there are not a url in the location barGonzalo Odiard2010-10-191-0/+2