Commit c73b6be5 authored by Jody Goldberg's avatar Jody Goldberg

Correct custom magnification support in the zoom dialog initialization.

parent 9423bca9
1999-09-23 Jody Goldberg <jgoldberg@home.com>
* src/dialogs/dialog-zoom.c (dialog_zoom_impl) : Set the spinbox value
when we start with a custom zoom factor.
1999-09-22 Jody Goldberg <jgoldberg@home.com>
* src/xml-io.c (xml_write_sheet_object) : Avoid warning about
......
1999-09-23 Jody Goldberg <jgoldberg@home.com>
* src/dialogs/dialog-zoom.c (dialog_zoom_impl) : Set the spinbox value
when we start with a custom zoom factor.
1999-09-22 Jody Goldberg <jgoldberg@home.com>
* src/xml-io.c (xml_write_sheet_object) : Avoid warning about
......
......@@ -93,6 +93,7 @@ dialog_zoom_impl (Workbook *wb, Sheet *cur_sheet, GladeXML *gui)
radio = GTK_RADIO_BUTTON (glade_xml_get_widget (gui, "radio_custom"));
g_return_if_fail (radio != NULL);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), TRUE);
gtk_spin_button_set_value (zoom, (int)(cur_sheet->last_zoom_factor_used * 100.));
}
gtk_clist_freeze (list);
......
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