FreeBSD Bugzilla – Attachment 196805 Details for
Bug 231110
x11-toolkits/gtk20, x11-toolkits/gtk30: GTK print dialogs falsely believe lpr cannot accept PDF
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to tell GTK that lpr accepts PDF output
patch-modules_printbackends_lpr_gtkprintbackendlpr.c (text/plain), 690 bytes, created by
George Mitchell
on 2018-09-03 00:22:29 UTC
(
hide
)
Description:
Patch to tell GTK that lpr accepts PDF output
Filename:
MIME Type:
Creator:
George Mitchell
Created:
2018-09-03 00:22:29 UTC
Size:
690 bytes
patch
obsolete
>--- modules/printbackends/lpr/gtkprintbackendlpr.c.orig 2016-10-22 00:13:07.000000000 -0400 >+++ modules/printbackends/lpr/gtkprintbackendlpr.c 2018-09-02 14:21:58.674404000 -0400 >@@ -392,9 +392,12 @@ > { > GtkPrinter *printer; > >- printer = gtk_printer_new (_("Print to LPR"), >- GTK_PRINT_BACKEND (backend), >- TRUE); >+ printer = g_object_new (GTK_TYPE_PRINTER, >+ "name", _("Print to LPR"), >+ "backend", GTK_PRINT_BACKEND (backend), >+ "is-virtual", TRUE, >+ "accepts-pdf", TRUE, >+ NULL); > gtk_printer_set_has_details (printer, TRUE); > gtk_printer_set_icon_name (printer, "gtk-print"); > gtk_printer_set_is_active (printer, TRUE);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 231110
: 196805 |
196976