104
103
page = pdf.get_page(int(pagenumber) - 1)
106
105
pixbuf = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, False, 8, int(w), int(h))
107
page.render_to_pixbuf(0,0,8,11,1,0, pixbuf)
106
page.render_to_pixbuf(0,0,int(w),int(h),1,0, pixbuf)
109
108
Statusbar.push_message(_('An error was encountered while trying to load slide number {0}'.format(pagenumber)), duration=120)
110
109
logging.debug("Something went wrong when loading slide %s" % pagenumber)