Group :: System/Libraries
RPM: libgnomecups
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: libgnomecups-0.2.2-parse-dot-cups-loptions.patch
Download
Download
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
+++ 0.2.2-1ubuntu5/libgnomecups/gnome-cups-printer.c 2006-06-27 16:21:38.000000000 +0100
@@ -510,6 +510,10 @@ parse_lpoptions (cups_dest_t **dests)
num_dests = cups_get_dests (filename, num_dests, dests);
g_free (filename);
+ filename = g_build_filename (g_get_home_dir (), ".cups", "lpoptions", NULL);
+ num_dests = cups_get_dests (filename, num_dests, dests);
+ g_free (filename);
+
return num_dests;
}