Use stock print icons; make it compile

This commit is contained in:
Matthias Clasen 2006-06-17 01:04:50 +00:00
parent f09e64b335
commit 505c6149cc
4 changed files with 11 additions and 4 deletions

View File

@ -1,5 +1,9 @@
2006-06-16 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/cups/gtkprintbackendcups.c:
* modules/printbackends/lpr/gtkprintbackendlpr.c: Use a stock icon
for printers.
* gtk/gtkprintunixdialog.c (add_option_to_table): Don't grow
additional columns.

View File

@ -1,5 +1,9 @@
2006-06-16 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/cups/gtkprintbackendcups.c:
* modules/printbackends/lpr/gtkprintbackendlpr.c: Use a stock icon
for printers.
* gtk/gtkprintunixdialog.c (add_option_to_table): Don't grow
additional columns.

View File

@ -648,7 +648,7 @@ cups_request_printer_info_cb (GtkPrintBackendCups *backend,
response = gtk_cups_result_get_response (result);
/* TODO: determine printer type and use correct icon */
gtk_printer_set_icon_name (printer, "printer");
gtk_printer_set_icon_name (printer, "gtk-print");
state_msg = "";
loc = "";

View File

@ -34,10 +34,9 @@
#include <glib/gi18n-lib.h>
#include "gtkprintoperation.h"
#include "gtkprintbackendlpr.h"
#include "gtkprinter.h"
#include "gtkprinter-private.h"
typedef struct _GtkPrintBackendLprClass GtkPrintBackendLprClass;
@ -384,7 +383,7 @@ gtk_print_backend_lpr_init (GtkPrintBackendLpr *backend)
GTK_PRINT_BACKEND (backend),
TRUE);
gtk_printer_set_has_details (printer, TRUE);
gtk_printer_set_icon_name (printer, "printer");
gtk_printer_set_icon_name (printer, "gtk-print");
gtk_printer_set_is_active (printer, TRUE);
gtk_printer_set_is_default (printer, TRUE);