gnumeric r17188 - in trunk: . src/dialogs



Author: guelzow
Date: Thu Mar 12 06:42:53 2009
New Revision: 17188
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17188&view=rev

Log:
2008-03-12  Andreas J. Guelzow <aguelzow pyrshep ca>

	* dialog-cell-format.c (fmt_dialog_impl) setup destroy handler
	  if a sheet is deleted.




Modified:
   trunk/NEWS
   trunk/src/dialogs/ChangeLog
   trunk/src/dialogs/dialog-cell-format.c

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Thu Mar 12 06:42:53 2009
@@ -8,8 +8,8 @@
 	* 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 dialog with multiple views.
-	  Part of [#364291]
+	* Remove crash potential under goto and cell-format dialog with 
+	  multiple views. Part of [#364291]
 
 Morten:
 	* Fix multihead issues with cell comments.

Modified: trunk/src/dialogs/dialog-cell-format.c
==============================================================================
--- trunk/src/dialogs/dialog-cell-format.c	(original)
+++ trunk/src/dialogs/dialog-cell-format.c	Thu Mar 12 06:42:53 2009
@@ -2300,6 +2300,9 @@
 	set_initial_focus (state);
 	gtk_notebook_set_scrollable (state->notebook, TRUE);
 
+	gnm_dialog_setup_destroy_handlers (GTK_DIALOG (dialog), state->wbcg,
+					   GNM_DIALOG_DESTROY_SHEET_REMOVED);
+	
 	/* Ok, edit events from now on are real */
 	state->enable_edit = TRUE;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]