17759
|
1 |
diff -urN -x'*.orig' -x'*.rej' libgnomeprint-2.18.6/libgnomeprint/modules/papi/gnome-print-papi.c ../SUNWgnome-print-2.29.92.hacked/libgnomeprint-2.18.6/libgnomeprint/modules/papi/gnome-print-papi.c
|
|
2 |
--- libgnomeprint-2.18.6/libgnomeprint/modules/papi/gnome-print-papi.c 2010-03-25 15:40:30.626047574 +0000
|
|
3 |
+++ ../SUNWgnome-print-2.29.92.hacked/libgnomeprint-2.18.6/libgnomeprint/modules/papi/gnome-print-papi.c 2010-03-26 16:15:50.597742000 +0000
|
|
4 |
@@ -45,7 +45,7 @@
|
|
5 |
#include <libgnomeprint/gpa/gpa-settings.h>
|
|
6 |
|
|
7 |
#define d(x)
|
|
8 |
-#define GENERIC_PPD_FILE "file://localhost/usr/lib/lp/model/ppd/system/foomatic/Generic/Generic-PostScript_Printer-Postscript.ppd.gz"
|
|
9 |
+#define GENERIC_PPD_FILE "file://localhost/usr/share/gnome-print-2.0/ppd/Generic/Generic-PostScript_Printer-Postscript.ppd.gz"
|
|
10 |
|
|
11 |
/* Argument order: id, name */
|
|
12 |
|
|
13 |
@@ -759,7 +759,7 @@
|
|
14 |
status = papiAttributeListGetString (attrs, NULL,
|
|
15 |
"printer-name", &name);
|
|
16 |
status2 = papiAttributeListGetString (attrs, NULL,
|
|
17 |
- "printer-uri", &uri);
|
|
18 |
+ "printer-uri-supported", &uri);
|
|
19 |
if (status == PAPI_OK && status2 == PAPI_OK) {
|
|
20 |
is_default =
|
|
21 |
(name != NULL && !strcmp (def, name));
|