summaryrefslogtreecommitdiff
path: root/gtk/gtkprintoperation.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-05-23 16:30:45 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-05-23 16:30:45 +0000
commit57a052b0b06704b2d91041c8ffe2c9ceb365acd7 (patch)
tree60db6d0368636b284c2e74d08712de4890ff0843 /gtk/gtkprintoperation.h
parentf2a6a098bb24c55997d20782a1836a4bd9e502bd (diff)
downloadgtk+-57a052b0b06704b2d91041c8ffe2c9ceb365acd7.tar.gz
Add a boolean show-progress property, and show a progress dialog if it is
2006-05-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkprintoperation.h: * gtk/gtkprintoperation.c: Add a boolean show-progress property, and show a progress dialog if it is set to TRUE. * gtk/gtkprintoperation.c (pdf_end_run): * gtk/gtkprintoperation-win32.c (win32_end_run): * gtk/gtkprintoperation-unix.c (unix_end_run): * gtk/gtkprintoperation-private.h: Add a cancelled parameter to end_run, and call it even if the print operation was cancelled.
Diffstat (limited to 'gtk/gtkprintoperation.h')
-rw-r--r--gtk/gtkprintoperation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkprintoperation.h b/gtk/gtkprintoperation.h
index 58baf74561..f3003e4dc2 100644
--- a/gtk/gtkprintoperation.h
+++ b/gtk/gtkprintoperation.h
@@ -136,6 +136,8 @@ void gtk_print_operation_set_pdf_target (GtkPrintOper
const gchar *filename);
void gtk_print_operation_set_track_print_status (GtkPrintOperation *op,
gboolean track_status);
+void gtk_print_operation_set_show_progress (GtkPrintOperation *op,
+ gboolean show_progress);
GtkPrintOperationResult gtk_print_operation_run (GtkPrintOperation *op,
GtkWindow *parent,
GError **error);