From: cilix42 Date: Mon, 18 Aug 2008 00:47:36 +0000 (+0000) Subject: noop: reorder options for lpe-line-segment X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ae07f331747953e1b35a4415004f8be9cf1ea003;p=inkscape.git noop: reorder options for lpe-line-segment --- diff --git a/src/live_effects/lpe-line_segment.cpp b/src/live_effects/lpe-line_segment.cpp index fee3607e1..fa8c6dc03 100644 --- a/src/live_effects/lpe-line_segment.cpp +++ b/src/live_effects/lpe-line_segment.cpp @@ -24,10 +24,10 @@ namespace Inkscape { namespace LivePathEffect { static const Util::EnumData EndTypeData[] = { - {END_CLOSED , N_("Closed"), "closed"}, + {END_OPEN_BOTH , N_("Open both"), "open_both"}, {END_OPEN_LEFT , N_("Open left"), "open_left"}, {END_OPEN_RIGHT , N_("Open right"), "open_right"}, - {END_OPEN_BOTH , N_("Open both"), "open_both"}, + {END_CLOSED , N_("Closed"), "closed"}, }; static const Util::EnumDataConverter EndTypeConverter(EndTypeData, sizeof(EndTypeData)/sizeof(*EndTypeData)); diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 9f8cf1822..90551160f 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -4920,13 +4920,13 @@ sp_line_segment_build_list(GObject *tbl) { GtkTreeIter iter; gtk_list_store_append( model, &iter ); + gtk_list_store_set( model, &iter, 0, _("Open both"), 1, 3, -1 ); + gtk_list_store_append( model, &iter ); gtk_list_store_set( model, &iter, 0, _("Closed"), 1, 0, -1 ); gtk_list_store_append( model, &iter ); gtk_list_store_set( model, &iter, 0, _("Open left"), 1, 1, -1 ); gtk_list_store_append( model, &iter ); gtk_list_store_set( model, &iter, 0, _("Open right"), 1, 2, -1 ); - gtk_list_store_append( model, &iter ); - gtk_list_store_set( model, &iter, 0, _("Open both"), 1, 3, -1 ); } g_object_set_data(tbl, "line_segment_list_blocked", GINT_TO_POINTER(FALSE));