gnumeric r16746 - in trunk: . src
- From: mortenw svn gnome org
 
- To: svn-commits-list gnome org
 
- Subject: gnumeric r16746 - in trunk: . src
 
- Date: Tue, 26 Aug 2008 02:17:27 +0000 (UTC)
 
Author: mortenw
Date: Tue Aug 26 02:17:27 2008
New Revision: 16746
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16746&view=rev
Log:
2008-08-25  Morten Welinder  <terra gnome org>
	* src/wbc-gtk-actions.c (insert_date_time_common): Make sure cell
	exists so gnm_format_for_date_editing can get the format.  Fixes
	#540198.
Modified:
   trunk/ChangeLog
   trunk/NEWS
   trunk/src/wbc-gtk-actions.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Tue Aug 26 02:17:27 2008
@@ -26,6 +26,7 @@
 	* Fix DDB problems.  [#541158]
 	* Make ssgrep a lot more grep-like.
 	* Unify functions that work on sorted ranges.
+	* Fix date entry problem.  [#540198]
 
 Nick Lamb:
 	* Retain ()s.  [#69813]
Modified: trunk/src/wbc-gtk-actions.c
==============================================================================
--- trunk/src/wbc-gtk-actions.c	(original)
+++ trunk/src/wbc-gtk-actions.c	Tue Aug 26 02:17:27 2008
@@ -578,9 +578,9 @@
 		WorkbookControl *wbc = WORKBOOK_CONTROL (wbcg);
 		SheetView *sv = wb_control_cur_sheet_view (wbc);
 		Sheet *sheet = sv_sheet (sv);
-		GnmCell const *cell = sheet_cell_get (sheet,
-						      sv->edit_pos.col,
-						      sv->edit_pos.row);
+		GnmCell const *cell = sheet_cell_fetch (sheet,
+							sv->edit_pos.col,
+							sv->edit_pos.row);
 		GODateConventions const *date_conv =
 			workbook_date_conv (sheet->workbook);
 		GnmValue *v = value_new_float
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]