goffice r2306 - in trunk: . goffice/graph



Author: jbrefort
Date: Fri Jan 16 07:30:52 2009
New Revision: 2306
URL: http://svn.gnome.org/viewvc/goffice?rev=2306&view=rev

Log:
2009-01-16  Jean Brefort  <jean brefort normalesup org>

	* goffice/graph/gog-guru.c: (graph_typeselect_minor): return if the
	item is the sample graph. [#567931]



Modified:
   trunk/ChangeLog
   trunk/NEWS
   trunk/goffice/graph/gog-guru.c

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Fri Jan 16 07:30:52 2009
@@ -23,6 +23,7 @@
 	* Make drop lines go to the axis instead of chart bottom (or left).
 	* Make possible to add an application specific custom widget to the
 	graph editor.
+	* Fixed critical in graph_typeselect_minor. [#567931]
 
 Morten:
 	* Plug leaks.

Modified: trunk/goffice/graph/gog-guru.c
==============================================================================
--- trunk/goffice/graph/gog-guru.c	(original)
+++ trunk/goffice/graph/gog-guru.c	Fri Jan 16 07:30:52 2009
@@ -173,7 +173,7 @@
 	gboolean enable_next_button;
 	GogPlot *plot;
 
-	if (typesel->current_minor_item == item)
+	if (typesel->current_minor_item == item || typesel->sample_graph_item == item)
 		return;
 
 	type = g_object_get_data (G_OBJECT (item), PLOT_TYPE_KEY);



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