From: buliabyak Date: Wed, 26 Mar 2008 06:06:12 +0000 (+0000) Subject: node tool: more logical grouping of buttons, copyedit of tooltips X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6082e4fd7e73033f79faac9aca5b38835fefcb39;p=inkscape.git node tool: more logical grouping of buttons, copyedit of tooltips --- diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index d3fef1f8d..76bdc7d07 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -239,9 +239,10 @@ static gchar const * ui_descr = " " " " " " + " " + " " " " " " - " " " " " " " " @@ -1076,9 +1077,20 @@ static void sp_node_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions gtk_action_group_add_action( mainActions, GTK_ACTION(inky) ); } + { + InkAction* inky = ink_action_new( "NodeBreakAction", + _("Break nodes"), + _("Break path at selected nodes"), + "node_break", + Inkscape::ICON_SIZE_SMALL_TOOLBAR ); + g_signal_connect_after( G_OBJECT(inky), "activate", G_CALLBACK(sp_node_path_edit_break), 0 ); + gtk_action_group_add_action( mainActions, GTK_ACTION(inky) ); + } + + { InkAction* inky = ink_action_new( "NodeJoinSegmentAction", - _("Join Segment"), + _("Join with segment"), _("Join selected endnodes with a new segment"), "node_join_segment", Inkscape::ICON_SIZE_SMALL_TOOLBAR ); @@ -1088,24 +1100,14 @@ static void sp_node_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions { InkAction* inky = ink_action_new( "NodeDeleteSegmentAction", - _("Delete Segment"), - _("Split path between two non-endpoint nodes"), + _("Delete segment"), + _("Delete segment between two non-endpoint nodes"), "node_delete_segment", Inkscape::ICON_SIZE_SMALL_TOOLBAR ); g_signal_connect_after( G_OBJECT(inky), "activate", G_CALLBACK(sp_node_path_edit_delete_segment), 0 ); gtk_action_group_add_action( mainActions, GTK_ACTION(inky) ); } - { - InkAction* inky = ink_action_new( "NodeBreakAction", - _("Node Break"), - _("Break path at selected nodes"), - "node_break", - Inkscape::ICON_SIZE_SMALL_TOOLBAR ); - g_signal_connect_after( G_OBJECT(inky), "activate", G_CALLBACK(sp_node_path_edit_break), 0 ); - gtk_action_group_add_action( mainActions, GTK_ACTION(inky) ); - } - { InkAction* inky = ink_action_new( "NodeCuspAction", _("Node Cusp"),