gnumeric r17208 - in trunk: . src/dialogs
- From: guelzow svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r17208 - in trunk: . src/dialogs
- Date: Sun, 15 Mar 2009 18:03:07 +0000 (UTC)
Author: guelzow
Date: Sun Mar 15 18:03:07 2009
New Revision: 17208
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17208&view=rev
Log:
2008-03-15 Andreas J. Guelzow <aguelzow pyrshep ca>
* dialog-row-height.c (dialog_row_height): setup destroy handler
if the current sheet is deleted.
* dialog-col-width.c (dialog_col_width): ditto
Modified:
trunk/NEWS
trunk/src/dialogs/ChangeLog
trunk/src/dialogs/dialog-col-width.c
trunk/src/dialogs/dialog-row-height.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sun Mar 15 18:03:07 2009
@@ -8,9 +8,9 @@
* Don't switch sheets when widgets are adjusted. [#574734]
* Fix printing of rotated text (negative angles or non-default
alignment). [#574813]
- * Remove crash potential under goto and cell-format dialog with
- multiple views. [Part of #364291]
- * Fis some strings. [#575360]
+ * Remove crash potential for various dialogs with multiple views.
+ [#364291]
+ * Fix some strings. [#575360]
Jean:
* Make gconf use independent from the with-gnome option. [#574813]
Modified: trunk/src/dialogs/dialog-col-width.c
==============================================================================
--- trunk/src/dialogs/dialog-col-width.c (original)
+++ trunk/src/dialogs/dialog-col-width.c Sun Mar 15 18:03:07 2009
@@ -302,6 +302,9 @@
glade_xml_get_widget (state->gui, "help_button"),
GNUMERIC_HELP_LINK_COL_WIDTH);
+ gnm_dialog_setup_destroy_handlers (GTK_DIALOG (state->dialog),
+ state->wbcg,
+ GNM_DIALOG_DESTROY_CURRENT_SHEET_REMOVED);
dialog_col_width_set_mode (use_default, state);
dialog_col_width_load_value (state);
Modified: trunk/src/dialogs/dialog-row-height.c
==============================================================================
--- trunk/src/dialogs/dialog-row-height.c (original)
+++ trunk/src/dialogs/dialog-row-height.c Sun Mar 15 18:03:07 2009
@@ -297,6 +297,10 @@
g_object_set_data_full (G_OBJECT (state->dialog),
"state", state, (GDestroyNotify) cb_dialog_row_height_destroy);
+ gnm_dialog_setup_destroy_handlers (GTK_DIALOG (state->dialog),
+ state->wbcg,
+ GNM_DIALOG_DESTROY_CURRENT_SHEET_REMOVED);
+
dialog_row_height_set_mode (use_default, state);
dialog_row_height_load_value (state);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]