mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Make print dialog work when 'BrowseShortNames Off' is specified in cups
2006-11-25 Matthias Clasen <mclasen@redhat.com> * modules/printbackends/cups/gtkprintbackendcups.c: Make print dialog work when 'BrowseShortNames Off' is specified in cups configuration. Patch by Tim Waugh.
This commit is contained in:
parent
9c96044c00
commit
7ad533044a
@ -1,3 +1,9 @@
|
||||
2006-11-25 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* modules/printbackends/cups/gtkprintbackendcups.c: Make
|
||||
print dialog work when 'BrowseShortNames Off' is specified
|
||||
in cups configuration. Patch by Tim Waugh.
|
||||
|
||||
2006-11-24 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
|
||||
|
@ -1077,11 +1077,11 @@ cups_request_printer_list_cb (GtkPrintBackendCups *cups_backend,
|
||||
resource);
|
||||
#endif
|
||||
|
||||
if (member_uris && !strncmp (resource, "/printers/", 10))
|
||||
if (!strncmp (resource, "/printers/", 10))
|
||||
{
|
||||
cups_printer->ppd_name = g_strdup (resource + 10);
|
||||
GTK_NOTE (PRINTING,
|
||||
g_print ("CUPS Backend: Setting ppd name '%s' for printer class '%s'\n", cups_printer->ppd_name, printer_name));
|
||||
g_print ("CUPS Backend: Setting ppd name '%s' for printer/class '%s'\n", cups_printer->ppd_name, printer_name));
|
||||
}
|
||||
|
||||
gethostname (uri, sizeof(uri));
|
||||
|
Loading…
Reference in New Issue
Block a user