mbouden / pywebkitgtk

Automatically exported from code.google.com/p/pywebkitgtk
Other
0 stars 0 forks source link

enums needed for webkit.Download are not wrapped #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
webkit.Download.get_status() returns a WebKitDownloadStatus object, however, 
that class is nowhere to be found in pywebkitgtk, so there's nothing to compare 
it with.

Same with the 'error' signal on webkit.Download

What version of the product are you using?
1.1.6-1.1.7
On what operating system?
Same on all OSes

Please provide any additional information below.
I had to use this hack to make use of webkit.Download

webkit.WebKitDownloadStatus = type(webkit.Download().get_status())

webkit.DOWNLOAD_STATUS_ERROR = webkit.WebKitDownloadStatus(-1)
webkit.DOWNLOAD_STATUS_CREATED = webkit.WebKitDownloadStatus(0)
webkit.DOWNLOAD_STATUS_STARTED = webkit.WebKitDownloadStatus(1)
webkit.DOWNLOAD_STATUS_FINISHED  = webkit.WebKitDownloadStatus(3)
webkit.DOWNLOAD_STATUS_CANCELLED  = webkit.WebKitDownloadStatus(2)

Original issue reported on code.google.com by Lucian.B...@gmail.com on 21 Jul 2010 at 3:39

GoogleCodeExporter commented 8 years ago

Original comment by jmalo...@gmail.com on 7 Aug 2010 at 9:06