summaryrefslogtreecommitdiffstats
path: root/print/libgnomecups/files/patch-20_parse-dot-cups-lpoptions
blob: ff62dc25443ed7529bc51c7349aefd9eaa7eda3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
@@ -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;
 }