From 78df0f47af0aaee84a01566ce6d0d528cfb4bb62 Mon Sep 17 00:00:00 2001 From: mjwybrow Date: Fri, 30 Jun 2006 01:07:38 +0000 Subject: * src/connector-context.cpp, src/widgets/toolbox.cpp: Add undo event descriptions for the connector context. (bzr r1323) --- src/connector-context.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/connector-context.cpp') diff --git a/src/connector-context.cpp b/src/connector-context.cpp index 417734fd5..e68c8f521 100644 --- a/src/connector-context.cpp +++ b/src/connector-context.cpp @@ -714,7 +714,7 @@ connector_handle_button_release(SPConnectorContext *const cc, GdkEventButton con sp_conn_adjust_path(SP_PATH(cc->clickeditem)); cc->clickeditem->updateRepr(); sp_document_done(doc, SP_VERB_CONTEXT_CONNECTOR, - /* TODO: annotate */ "connector-context.cpp:717"); + _("Reroute connector")); cc_set_active_conn(cc, cc->clickeditem); sp_document_ensure_up_to_date(doc); cc->state = SP_CONNECTOR_CONTEXT_IDLE; @@ -921,8 +921,7 @@ spcc_flush_white(SPConnectorContext *cc, SPCurve *gc) sp_curve_unref(c); /* Flush pending updates */ - sp_document_done(doc, SP_VERB_CONTEXT_CONNECTOR, - /* TODO: annotate */ "connector-context.cpp:925"); + sp_document_done(doc, SP_VERB_CONTEXT_CONNECTOR, _("Create connector")); sp_document_ensure_up_to_date(doc); } @@ -1276,8 +1275,10 @@ void cc_selection_set_avoid(bool const set_avoid) return; } - sp_document_done(document, SP_VERB_CONTEXT_CONNECTOR, - /* TODO: annotate */ "connector-context.cpp:1280"); + char *event_desc = (set_avoid) ? + _("Make connectors avoid selected objects") : + _("Make connectors ignore selected objects"); + sp_document_done(document, SP_VERB_CONTEXT_CONNECTOR, event_desc); } -- cgit v1.2.3