diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/xfprint/xfprint-manager-fix.diff |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/xfprint/xfprint-manager-fix.diff')
-rw-r--r-- | extra/xfprint/xfprint-manager-fix.diff | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/xfprint/xfprint-manager-fix.diff b/extra/xfprint/xfprint-manager-fix.diff new file mode 100644 index 000000000..1bf0725f8 --- /dev/null +++ b/extra/xfprint/xfprint-manager-fix.diff @@ -0,0 +1,29 @@ +--- xfprint-manager/main.c 2009-02-24 21:34:16.000000000 +0000 ++++ xfprint-manager/main.c.new 2010-07-15 21:30:51.098745852 +0000 +@@ -41,6 +41,7 @@ + #include <libxfprint/printer-list-window.h> + + #define CHANNEL "xfprint" ++#define PROP_PRINTING_SYSTEM "/printing-system" + + extern void mainwin_setup (void); + +@@ -66,15 +67,15 @@ + channel = xfconf_channel_new (CHANNEL); + if (channel) { + +- if (xfconf_channel_has_property (channel, "/XfPrint/system")) { +- const gchar *system_name = xfconf_channel_get_string (channel, "/XfPrint/system", "none"); ++ if (xfconf_channel_has_property (channel, PROP_PRINTING_SYSTEM)) { ++ const gchar *system_name = xfconf_channel_get_string (channel, PROP_PRINTING_SYSTEM, "none"); + if (g_ascii_strcasecmp (system_name, "none") != 0) { + ps = printing_system_new (system_name); + if (ps == NULL); + g_warning ("Unable to load printing system module %s", system_name); + } + } else { +- g_warning ("%s: XfPrint/system is not set", PACKAGE); ++ g_warning ("%s: XfPrint/printing-system is not set", PACKAGE); + } + } + |