From ae07f331747953e1b35a4415004f8be9cf1ea003 Mon Sep 17 00:00:00 2001 From: cilix42 Date: Mon, 18 Aug 2008 00:47:36 +0000 Subject: [PATCH] noop: reorder options for lpe-line-segment --- src/live_effects/lpe-line_segment.cpp | 4 ++-- src/widgets/toolbox.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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)); -- 2.30.2