Commit b299cd80 authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Reset page count. [#314520]

2005-08-26  Morten Welinder  <terra@gnome.org>

	* src/print.c (dialog_response): Reset page count.  [#314520]
parent 304939e9
2005-08-26 Morten Welinder <terra@gnome.org>
* src/print.c (dialog_response): Reset page count. [#314520]
2005-08-25 Stepan Kasal <kasal@ucw.cz>
* src/Makefile.am (check_PROGRAMS): Add test-pango only if WITH_GTK.
......
......@@ -22,6 +22,7 @@ Morten:
* Fix crash related to changing colours of sheet tabs.
* Fix rich text editing problem. [#314209]
* Be consistent about dialog separators. [#314306]
* Fix print problem with page numbers. [#314520]
--------------------------------------------------------------------------
Gnumeric 1.5.3
......
2005-08-26 Morten Welinder <terra@gnome.org>
* src/print.c (dialog_response): Reset page count. [#314520]
2005-08-25 Stepan Kasal <kasal@ucw.cz>
* src/Makefile.am (check_PROGRAMS): Add test-pango only if WITH_GTK.
......
......@@ -1017,7 +1017,7 @@ print_sheet_range (PrintJobInfo *pj, Sheet const *sheet,
/*
* code to count the number of pages that will be printed.
* Unfortuantely a lot of data here is caclualted again when you
* Unfortuantely a lot of data here is calculated again when you
* actually print the page ...
*/
......@@ -1263,6 +1263,7 @@ dialog_response (GtkDialog *dialog, gint id,
switch (id) {
case GNOME_PRINT_DIALOG_RESPONSE_PRINT:
case GNOME_PRINT_DIALOG_RESPONSE_PREVIEW:
state->pj->render_info->page = 1;
state->sheet = wbcg_cur_sheet (state->wbcg);
range = gnome_print_dialog_get_range_page (
GNOME_PRINT_DIALOG (state->dialog), &first, &end);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment