summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4992820)
raw | patch | inline | side by side (parent: 4992820)
author | joncruz <joncruz@users.sourceforge.net> | |
Sun, 27 Apr 2008 08:30:53 +0000 (08:30 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Sun, 27 Apr 2008 08:30:53 +0000 (08:30 +0000) |
src/eraser-context.cpp | patch | blob | history | |
src/splivarot.cpp | patch | blob | history | |
src/splivarot.h | patch | blob | history |
diff --git a/src/eraser-context.cpp b/src/eraser-context.cpp
index f8748558d0bea7cab9170344cce6c9697594711e..3d142a9d0365584468cd42300d156cdce366485c 100644 (file)
--- a/src/eraser-context.cpp
+++ b/src/eraser-context.cpp
selection->set(item);
selection->add(dup);
- sp_selected_path_diff();
+ sp_selected_path_diff_skip_undo();
if ( !selection->isEmpty() ) {
// If the item was not completely erased, add it back to the selection.
GSList const *selected2 = g_slist_copy(const_cast<GSList *>(selection->itemList()));
diff --git a/src/splivarot.cpp b/src/splivarot.cpp
index b2da4e9f661f98f102911646356c81ec55b70126..01331d2f8a6e3c5a4e260600b9fb527de0720b6a 100644 (file)
--- a/src/splivarot.cpp
+++ b/src/splivarot.cpp
sp_selected_path_boolop(bool_op_diff, SP_VERB_SELECTION_DIFF, _("Difference"));
}
+void
+sp_selected_path_diff_skip_undo()
+{
+ sp_selected_path_boolop(bool_op_diff, SP_VERB_NONE, _("Difference"));
+}
+
void
sp_selected_path_symdiff()
{
diff --git a/src/splivarot.h b/src/splivarot.h
index 61b5ee14380eecd170db947dd0d7747164d5a322..2ac47135a947434211fe5770b87d8a8dc5da0192 100644 (file)
--- a/src/splivarot.h
+++ b/src/splivarot.h
void sp_selected_path_union_skip_undo ();
void sp_selected_path_intersect ();
void sp_selected_path_diff ();
+void sp_selected_path_diff_skip_undo ();
void sp_selected_path_symdiff ();
void sp_selected_path_cut ();
void sp_selected_path_slice ();