Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Handle 'create-web-view' signal and open a new tab SL #4236Manuel Kaufmann2012-11-231-17/+31
| | | | | | | | | | | | | | | There are some cases that WebKit.WebView needs to create a new WebKit.WebView (e.g. to open a pop up window) and it emits this signal. Handling this signal we are able to insert a new tab (instead of creating a new window) and attach it next to the current one with the desired url to be load. The signal 'new-window-policy-decision-requested' was removed because it is not more needed because 'create-web-view' will work for all kind of popups. Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Title of media files SL #3934Manuel Kaufmann2012-11-231-3/+6
| | | | | | | | | | | | | | When a plugin handles the request, for example to play an .ogg file, WebKit sets the title as 'None' and '__load_status_changed_cb' is not called when status is 'WebKit.LoadStatus.FINISHED', so the title is not set as 'Untitled'. This patch checks if the title is 'None' (because of the case mentioned above) and sets it as the 'os.path.basename' of the 'WebKit.WebView.props.uri' (the name of the filename). Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Order of MenuItems in palettes, SL #4230Manuel Kaufmann2012-11-231-4/+4
| | | | | | | | Keep the same order for MenuItems when the Palettes are shown for links as in previous builds. Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Simon Schampijer <simon@laptop.org>
* Fix the reload button in the url entry, SL #4240Manuel Kaufmann2012-11-231-1/+0
| | | | | | | | Call self._browser.reload() just if the entry does not have focus and the page is not loading. Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Simon Schampijer <simon@laptop.org>
* Avoid close the PDFTab when Esc is pressed SL #4246Manuel Kaufmann2012-11-221-2/+6
| | | | | | | | Do not call "stop_loading" if the WebKit is not in 'loading' state when 'Esc' is pressed. Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Grab the WebKit.WebView focus on tab closing #4187Manuel Kaufmann2012-11-221-0/+14
| | | | | | | | | | | | | When the current tab is closed the next tab is shown (left one if the current tab was the last, othercase right one). After this the WebKit.WebView of the tab displayed grabs the focus to show the OSK if this tab was showing it. So, switching between tabs and closing them respect the OSK status (shown / hidden). Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Avoid trace in log for PDF tab SL #4231Manuel Kaufmann2012-11-221-2/+5
| | | | | | | | DummyBrowser doesn't have 'loading_uri', so we check if the Browse's instance is DummyBrowser before trying to get its value. Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Hanlde focus properly on each tab SL #4200Manuel Kaufmann2012-11-192-0/+3
| | | | | | | | | | | The focus is grabbed after loading the 'Home page' and when the session is restored. This patch allow us to show the OSK when it's needed and to be able to start typing with the hardware keyboard. Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Simon Schampijer <simon@laptop.org>
*