GTK3: conversion of method custom
svn: r20304
This commit is contained in:
parent
7d96db40ed
commit
86c4e407e9
@ -142,11 +142,9 @@ def paperstyle_to_pagesetup(paper_style):
|
||||
else:
|
||||
paper_width = gramps_paper_size.get_height() * 10
|
||||
paper_height = gramps_paper_size.get_width() * 10
|
||||
paper_size = Gtk.paper_size_new_custom("custom",
|
||||
"Custom Size",
|
||||
paper_width,
|
||||
paper_height,
|
||||
Gtk.Unit.MM)
|
||||
paper_size = Gtk.PaperSize.new_custom("custom", "Custom Size",
|
||||
paper_width, paper_height,
|
||||
Gtk.Unit.MM)
|
||||
log.debug("Selected paper size: (%f,%f)" % (paper_width, paper_height))
|
||||
|
||||
page_setup = Gtk.PageSetup()
|
||||
|
Loading…
Reference in New Issue
Block a user