diff -pruN 0.2.2-1/libgnomecups/gnome-cups-printer.c 0.2.2-1ubuntu5/libgnomecups/gnome-cups-printer.c --- 0.2.2-1/libgnomecups/gnome-cups-printer.c 2005-09-23 21:52:49.000000000 +0100 +++ libgnomecups/gnome-cups-printer.c 2006-06-27 16:21:38.000000000 +0100 @@ -976,8 +980,11 @@ gnome_cups_printer_get_is_local (GnomeCu { g_return_val_if_fail (GNOME_CUPS_IS_PRINTER (printer), FALSE); - return (printer->details->device_uri != NULL) && - (strcmp (printer->details->device_uri, "") != 0); + return printer->details->device_uri != NULL && + strncmp(printer->details->device_uri, "smb:", 4) != 0 && + strncmp(printer->details->device_uri, "http:", 5) != 0 && + strncmp(printer->details->device_uri, "https:", 5) != 0 && + strncmp(printer->details->device_uri, "ipp:", 4) != 0; } void