d7b4a42c10
* bug fixes and translation updates
23 lines
908 B
Plaintext
23 lines
908 B
Plaintext
$OpenBSD: patch-panels_printers_pp-new-printer-dialog_c,v 1.8 2012/04/17 11:02:32 jasper Exp $
|
|
|
|
No PackageKit on OpenBSD.
|
|
|
|
--- panels/printers/pp-new-printer-dialog.c.orig Mon Apr 16 14:54:29 2012
|
|
+++ panels/printers/pp-new-printer-dialog.c Tue Apr 17 12:52:09 2012
|
|
@@ -1607,6 +1607,7 @@ new_printer_add_button_cb (GtkButton *button,
|
|
pp->devices[device_id].device_make_and_model,
|
|
pp->devices[device_id].device_uri);
|
|
|
|
+#ifndef __OpenBSD__
|
|
if (ppd_name == NULL || ppd_name->ppd_match_level < PPD_EXACT_MATCH)
|
|
{
|
|
/* Try PackageKit to install printer driver */
|
|
@@ -1668,6 +1669,7 @@ new_printer_add_button_cb (GtkButton *button,
|
|
pp->devices[device_id].device_uri);
|
|
}
|
|
}
|
|
+#endif
|
|
|
|
/* Add the new printer */
|
|
if (ppd_name && ppd_name->ppd_name)
|