summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--gtk/gtkprintoperation-unix.c3
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 62ecea9db8..95bc68ac7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-10-16 Marek Kasik <mkasik@redhat.com>
+
+ Bug 556527 - The current page property is not passed to
+ GtkPrintUnixDialog
+
+ * gtk/gtkprintoperation-unix.c: pass current-page property
+ to GtkPrintUnixDialog
+
2008-10-15 Michael Natterer <mitch@imendio.com>
* gdk/gdkapplaunchcontext.h (GDK_IS_APP_LAUNCH_CONTEXT): fix typo
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);