libgnomecups r248 - in trunk: . libgnomecups
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: libgnomecups r248 - in trunk: . libgnomecups
- Date: Sat, 16 Aug 2008 22:47:09 +0000 (UTC)
Author: matthiasc
Date: Sat Aug 16 22:47:09 2008
New Revision: 248
URL: http://svn.gnome.org/viewvc/libgnomecups?rev=248&view=rev
Log:
Bug 520449 â look for lpoptions in the right spot
* libgnomecups/gnome-cups-printer.c: Also read ~/.cups/lpoptions.
Modified:
trunk/ChangeLog
trunk/libgnomecups/gnome-cups-printer.c
Modified: trunk/libgnomecups/gnome-cups-printer.c
==============================================================================
--- trunk/libgnomecups/gnome-cups-printer.c (original)
+++ trunk/libgnomecups/gnome-cups-printer.c Sat Aug 16 22:47:09 2008
@@ -515,6 +515,10 @@
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]