[Bugs] #2833 UNSP: Browse must be save a page to PDF for offline reading.
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Tue May 10 13:52:13 EDT 2011
#2833: Browse must be save a page to PDF for offline reading.
------------------------------------------+---------------------------------
Reporter: godiard | Owner: lucian
Type: enhancement | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: Browse | Version: Unspecified
Severity: Unspecified | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
Paola Bruccoleri from Uruguay has reported a solution using a web site:
{{{
...usé: http://www.web2pdfconvert.com/
entonces.. en el archivo webtoolbar.py agregué:
el botón:
self._savepdf = ToolButton('filesave')
self._savepdf.set_tooltip(_('Save PDF'))
self._savepdf.connect('clicked', self._savepdf_clicked)
self.insert(self._savepdf, -1)
self._savepdf.show()
la función:
def _savepdf_clicked(self, button):
uri = self._browser.web_navigation.currentURI
dir = 'http://www.web2pdfconvert.com/?u='+uri
dir = 'http://html-pdf-converter.com/en/convert?u='+uri
self._browser.load_uri(dir)
self._browser.grab_focus()
}}}
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/2833>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list