Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 221267 Details for
Bug 278047
Wrong xfconf channel/option in xfprint-manager-4.6.1 main.c. Not see CUPS printers.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
xfprint-manager/main.c patch to show cups printers
xfconf_channel_fix.diff (text/plain), 1.10 KB, created by
Bailey Kong
on 2010-02-26 09:45:38 UTC
(
hide
)
Description:
xfprint-manager/main.c patch to show cups printers
Filename:
MIME Type:
Creator:
Bailey Kong
Created:
2010-02-26 09:45:38 UTC
Size:
1.10 KB
patch
obsolete
>--- xfprint-manager/main.c.bak 2010-02-26 01:34:35.617657199 -0800 >+++ xfprint-manager/main.c 2010-02-26 01:36:58.282657642 -0800 >@@ -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: %s is not set", PACKAGE, PROP_PRINTING_SYSTEM); > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 278047
:
198179
| 221267 |
221269