summaryrefslogtreecommitdiff
path: root/gtk/gtkprinter.h
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2008-07-15 17:34:34 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-07-15 17:34:34 +0000
commit1eb96eadfc3349534617082f3bb5dd8be2f3a99a (patch)
tree403051291907f22e24287d20189bd7ed8eb68002 /gtk/gtkprinter.h
parent1ea43444be78b1c281dd888ff86eca838ec3c7c2 (diff)
downloadgtk+-1eb96eadfc3349534617082f3bb5dd8be2f3a99a.tar.gz
Bug 384940 – handle rejecting jobs and authentication meaningfully
Patch by Marek Kasik, icons by Mike Langlie: * gtk/gtk.symbols: * gtk/gtkprintbackend.h: * gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties and getters/setters. * gtk/gtkstock.h: * gtk/gtkiconfactory.c: * gtk/Makefile.am: * gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon. * modules/printbackends/cups/gtkprintbackendcups.c: * gtk/gtkprintunixdialog.c: Handle paused and job-rejecting printers. svn path=/trunk/; revision=20838
Diffstat (limited to 'gtk/gtkprinter.h')
-rw-r--r--gtk/gtkprinter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkprinter.h b/gtk/gtkprinter.h
index e3c8dd71b7..7b74da7261 100644
--- a/gtk/gtkprinter.h
+++ b/gtk/gtkprinter.h
@@ -99,6 +99,8 @@ G_CONST_RETURN gchar *gtk_printer_get_location (GtkPrinter *pri
G_CONST_RETURN gchar *gtk_printer_get_icon_name (GtkPrinter *printer);
gint gtk_printer_get_job_count (GtkPrinter *printer);
gboolean gtk_printer_is_active (GtkPrinter *printer);
+gboolean gtk_printer_is_paused (GtkPrinter *printer);
+gboolean gtk_printer_is_accepting_jobs (GtkPrinter *printer);
gboolean gtk_printer_is_virtual (GtkPrinter *printer);
gboolean gtk_printer_is_default (GtkPrinter *printer);
gboolean gtk_printer_accepts_pdf (GtkPrinter *printer);