Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 04cfd1c3eea0789dae7183dd83fbae19 > files > 4

libgnomecups-0.2.3-14.mga5.src.rpm

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;
 }