libgnomecups (0.2.3-5) 20_parse-dot-cups-lpoptions.patch

Summary

 libgnomecups/gnome-cups-printer.c |    4 ++++
 1 file changed, 4 insertions(+)

    
download this patch

Patch contents

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