From: mjwybrow Date: Fri, 30 Jun 2006 01:07:38 +0000 (+0000) Subject: * src/connector-context.cpp, src/widgets/toolbox.cpp: X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8fa70b6dfa9889495195f0b7965f78f7986d93bb;p=inkscape.git * src/connector-context.cpp, src/widgets/toolbox.cpp: Add undo event descriptions for the connector context. --- diff --git a/ChangeLog b/ChangeLog index 6e7a5cecd..3911fc5cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-30 Michael Wybrow + + * src/connector-context.cpp, src/widgets/toolbox.cpp: + Add undo event descriptions for the connector context. + 2006-06-27 Michael Wybrow * packaging/macosx/ScriptExec/main.c: @@ -308,7 +313,7 @@ 2006-05-21 Marco Scholten * src/ui/dialog/inkscape-preferences.cpp, - src/ui/dialog/inkscape-preferences.h: + src/ui/dialog/inkscape-preferences.h: Added 'Show close button on dialogs' option. 2006-05-21 MenTaLguY 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); } diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 7ff4f115e..495c620ac 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -3848,7 +3848,7 @@ static void connector_spacing_changed(GtkAdjustment *adj, GtkWidget *tbl) } sp_document_done(doc, SP_VERB_CONTEXT_CONNECTOR, - /* TODO: annotate */ "toolbox.cpp:3851"); + _("Change connector spacing distance")); g_object_set_data(G_OBJECT(tbl), "freeze", GINT_TO_POINTER(FALSE));