• Matthias Clasen's avatar
    RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size · 59ae44d0
    Matthias Clasen authored
            was chosen
    
            Patch by Marek Kasik.
    
            * gtk/gtk.symbols:
            * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
    
            * gtk/gtkprintbackend.[hc]: Add fallback implementation.
    
            * modules/printbackends/file/gtkprintbackendfile.c:
            * modules/printbackends/cups/gtkprintbackendcups.c: Implement
            get_default_page_size.
    
            * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
            select its default paper size.
    
            * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
            use the printer default.
    
            * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
            if we don't have a default page setup.
    
    svn path=/trunk/; revision=20120
    59ae44d0
gtkprintoperation-unix.c 28.5 KB