openbsd-ports/x11/gnome/controlcenter/patches/patch-panels_printers_pp-new-printer-dialog_c

23 lines
911 B
Plaintext
Raw Normal View History

2012-03-29 02:57:02 -04:00
$OpenBSD: patch-panels_printers_pp-new-printer-dialog_c,v 1.7 2012/03/29 06:57:03 ajacoutot Exp $
No PackageKit on OpenBSD.
2012-03-29 02:57:02 -04:00
--- panels/printers/pp-new-printer-dialog.c.orig Thu Mar 1 08:56:37 2012
+++ panels/printers/pp-new-printer-dialog.c Wed Mar 28 10:25:04 2012
@@ -1605,6 +1605,7 @@ new_printer_add_button_cb (GtkButton *button,
2011-09-27 08:15:23 -04:00
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 */
2012-03-29 02:57:02 -04:00
@@ -1666,6 +1667,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)