gnumeric r16896 - in trunk: . src
- From: guelzow svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r16896 - in trunk: . src
- Date: Sat, 18 Oct 2008 16:19:02 +0000 (UTC)
Author: guelzow
Date: Sat Oct 18 16:19:02 2008
New Revision: 16896
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16896&view=rev
Log:
2008-10-18 Andreas J. Guelzow <aguelzow pyrshep ca>
* src/item-cursor.c (item_cursor_target_region_ok): delete
(item_cursor_do_action): don't bother to call
item_cursor_target_region_ok
Modified:
trunk/ChangeLog
trunk/NEWS
trunk/src/item-cursor.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sat Oct 18 16:19:02 2008
@@ -28,6 +28,7 @@
* Add non-numeric frequency tables tool. [#134166]
* Add basic Kaplan-Meier Estimates Tool. [#453765]
* Fix scrolling issue in function selector. [#556718]
+ * Delete cell overwrite dialog. [#556773]
Jean:
* Fix printing of rotated text. [#539734]
Modified: trunk/src/item-cursor.c
==============================================================================
--- trunk/src/item-cursor.c (original)
+++ trunk/src/item-cursor.c Sat Oct 18 16:19:02 2008
@@ -898,25 +898,6 @@
}
}
-static gboolean
-item_cursor_target_region_ok (ItemCursor *ic)
-{
- FooCanvasItem *gci = FOO_CANVAS_ITEM (ic);
-
- g_return_val_if_fail (gci != NULL, FALSE);
- g_return_val_if_fail (gci->canvas != NULL, FALSE);
-
- if (sv_is_region_empty_or_selected (scg_view (ic->scg), &ic->pos))
- return TRUE;
-
- return go_gtk_query_yes_no
- (wbcg_toplevel (scg_wbcg (ic->scg)),
- TRUE,
- _("The cells dragged will overwrite the contents of the\n"
- "existing cells in that range. Do you want me to replace\n"
- "the contents in this region?"));
-}
-
typedef enum {
ACTION_NONE = 1,
ACTION_MOVE_CELLS,
@@ -939,7 +920,7 @@
g_return_if_fail (ic != NULL);
- if (action == ACTION_NONE || !item_cursor_target_region_ok (ic)) {
+ if (action == ACTION_NONE) {
scg_special_cursor_stop (ic->scg);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]