forked from AuroraMiddleware/gtk
Use stock print icons; make it compile
This commit is contained in:
parent
f09e64b335
commit
505c6149cc
@ -1,5 +1,9 @@
|
|||||||
2006-06-16 Matthias Clasen <mclasen@redhat.com>
|
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
|
* gtk/gtkprintunixdialog.c (add_option_to_table): Don't grow
|
||||||
additional columns.
|
additional columns.
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2006-06-16 Matthias Clasen <mclasen@redhat.com>
|
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
|
* gtk/gtkprintunixdialog.c (add_option_to_table): Don't grow
|
||||||
additional columns.
|
additional columns.
|
||||||
|
|
||||||
|
@ -648,7 +648,7 @@ cups_request_printer_info_cb (GtkPrintBackendCups *backend,
|
|||||||
response = gtk_cups_result_get_response (result);
|
response = gtk_cups_result_get_response (result);
|
||||||
|
|
||||||
/* TODO: determine printer type and use correct icon */
|
/* 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 = "";
|
state_msg = "";
|
||||||
loc = "";
|
loc = "";
|
||||||
|
@ -34,10 +34,9 @@
|
|||||||
#include <glib/gi18n-lib.h>
|
#include <glib/gi18n-lib.h>
|
||||||
|
|
||||||
#include "gtkprintoperation.h"
|
#include "gtkprintoperation.h"
|
||||||
|
|
||||||
#include "gtkprintbackendlpr.h"
|
#include "gtkprintbackendlpr.h"
|
||||||
|
|
||||||
#include "gtkprinter.h"
|
#include "gtkprinter.h"
|
||||||
|
#include "gtkprinter-private.h"
|
||||||
|
|
||||||
typedef struct _GtkPrintBackendLprClass GtkPrintBackendLprClass;
|
typedef struct _GtkPrintBackendLprClass GtkPrintBackendLprClass;
|
||||||
|
|
||||||
@ -384,7 +383,7 @@ gtk_print_backend_lpr_init (GtkPrintBackendLpr *backend)
|
|||||||
GTK_PRINT_BACKEND (backend),
|
GTK_PRINT_BACKEND (backend),
|
||||||
TRUE);
|
TRUE);
|
||||||
gtk_printer_set_has_details (printer, 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_active (printer, TRUE);
|
||||||
gtk_printer_set_is_default (printer, TRUE);
|
gtk_printer_set_is_default (printer, TRUE);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user