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

23 lines
908 B
Plaintext
Raw Normal View History

$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,
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 */
@@ -1668,6 +1669,7 @@ new_printer_add_button_cb (GtkButton *button,
2012-03-29 02:57:02 -04:00
pp->devices[device_id].device_uri);
}
}
+#endif
/* Add the new printer */
if (ppd_name && ppd_name->ppd_name)