From 17a64e88414a61fa1c007fcc30438ed208a79ec9 Mon Sep 17 00:00:00 2001 From: Marek Kasik Date: Thu, 16 Oct 2008 11:20:33 +0000 Subject: Bug 556527 - The current page property is not passed to GtkPrintUnixDialog 2008-10-16 Marek Kasik Bug 556527 - The current page property is not passed to GtkPrintUnixDialog * gtk/gtkprintoperation-unix.c: pass current-page property to GtkPrintUnixDialog svn path=/trunk/; revision=21660 --- gtk/gtkprintoperation-unix.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gtk/gtkprintoperation-unix.c') diff --git a/gtk/gtkprintoperation-unix.c b/gtk/gtkprintoperation-unix.c index 3a4545acd9..99e047e419 100644 --- a/gtk/gtkprintoperation-unix.c +++ b/gtk/gtkprintoperation-unix.c @@ -367,6 +367,9 @@ get_print_dialog (GtkPrintOperation *op, gtk_print_unix_dialog_set_page_setup (GTK_PRINT_UNIX_DIALOG (pd), priv->default_page_setup); + gtk_print_unix_dialog_set_current_page (GTK_PRINT_UNIX_DIALOG (pd), + priv->current_page); + g_signal_emit_by_name (op, "create-custom-widget", &priv->custom_widget); -- cgit v1.2.1