Code

Add icon mappings (legacy IDs to icon names) for menus, tools and
authortweenk <tweenk@users.sourceforge.net>
Mon, 13 Apr 2009 21:39:46 +0000 (21:39 +0000)
committertweenk <tweenk@users.sourceforge.net>
Mon, 13 Apr 2009 21:39:46 +0000 (21:39 +0000)
align & distribute dialog.

src/widgets/mappings.xml

index 81a260c19cdfbd73bda7f2bf86c9971165f43ec6..5f7de60a518759635b1d8f669a52ea87d336f422 100644 (file)
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <mappings>
+
+  <!-- file menu -->
   <remap id='file_import' newid='document-import'/>
   <remap id='file_export' newid='document-export'/>
+  <remap id='ocal_import' newid='document-import-ocal'/>
+  <remap id='ocal_export' newid='document-export-ocal'/>
+  <remap id='document_metadata' newid='document-metadata'/>
+  <remap id='input_devices' newid='dialog-input-devices'/>
+  
+  <!-- edit menu -->
+  <remap id='edit_duplicate' newid='edit-duplicate'/>
   <remap id='edit_clone' newid='edit-clone'/>
   <remap id='edit_unlink_clone' newid='edit-clone-unlink'/>
-  <remap id='selection_group' newid='object-group'/>
-  <remap id='selection_ungroup' newid='object-ungroup'/>
-  <remap id='fill_and_stroke' newid='dialog-fill-and-stroke'/>
-  <remap id='object_font' newid='dialog-text-and-font'/>
-  <remap id='layers' newid='dialog-layers'/>
-  <remap id='xml_editor' newid='dialog-xml-editor'/>
-  <remap id='object_align' newid='dialog-align-and-distribute'/>
+  <remap id='edit_select_original' newid='edit-select-original'/>
+  <remap id='edit_undo_history' newid='edit-undo-history'/>
+  <remap id='selection_paste_in_place' newid='edit-paste-in-place'/>
+  <remap id='selection_paste_style' newid='edit-paste-style'/>
+  <remap id='selection_bitmap' newid='selection-make-bitmap-copy'/>
   <remap id='selection_select_all' newid='edit-select-all'/>
   <remap id='selection_select_all_in_all_layers' newid='edit-select-all-layers'/>
+  <remap id='selection_invert' newid='edit-select-invert'/>
   <remap id='selection_deselect' newid='edit-select-none'/>
+  <remap id='xml_editor' newid='dialog-xml-editor'/>
+  
+  <!-- view menu -->
+  <!-- submenu: zoom -->
+  <remap id='zoom_1_to_1' newid='zoom-original'/>
+  <remap id='zoom_1_to_2' newid='zoom-half-size'/>
+  <remap id='zoom_2_to_1' newid='zoom-double-size'/>
+  <remap id='zoom_select' newid='zoom-fit-selection'/>
+  <remap id='zoom_draw' newid='zoom-fit-drawing'/>
+  <remap id='zoom_page' newid='zoom-fit-page'/>
+  <remap id='zoom_pagewidth' newid='zoom-fit-width'/>
+  <remap id='zoom_previous' newid='zoom-previous'/>
+  <remap id='zoom_next' newid='zoom-next'/>
+  <remap id='zoom_in' newid='zoom-in'/>
+  <remap id='zoom_out' newid='zoom-out'/>
+  
+  <remap id='grid' newid='show-grid'/>
+  <remap id='guides' newid='show-guides'/>
+  <remap id='color_management' newid='color-management'/>
+  <remap id='dialog_toggle' newid='show-dialogs'/>
+  <remap id='messages' newid='dialog-messages'/>
+  <remap id='scripts' newid='dialog-scripts'/>
+  <remap id='window_previous' newid='window-previous'/>
+  <remap id='window_next' newid='window-next'/>
+  <remap id='view_icon_preview' newid='dialog-icon-preview'/>
+  <remap id='view_new' newid='window-new'/>
+  
+  <!-- layers menu -->
+  <remap id='new_layer' newid='layer-new'/>
+  <remap id='rename_layer' newid='layer-rename'/>
+  <remap id='switch_to_layer_above' newid='layer-previous'/>
+  <remap id='switch_to_layer_below' newid='layer-next'/>
+  <remap id='move_selection_above' newid='selection-move-to-layer-above'/>
+  <remap id='move_selection_below' newid='selection-move-to-layer-below'/>
+  <remap id='raise_layer' newid='layer-raise'/>
+  <remap id='lower_layer' newid='layer-lower'/>
+  <remap id='layer_to_top' newid='layer-top'/>
+  <remap id='layer_to_bottom' newid='layer-bottom'/>
+  <remap id='delete_layer' newid='layer-delete'/>
+  <remap id='layers' newid='dialog-layers'/>
+  
+  <!-- object menu -->
+  <remap id='fill_and_stroke' newid='dialog-fill-and-stroke'/>
+  <remap id='dialog_item_properties' newid='dialog-object-properties'/>
+  <remap id='selection_group' newid='object-group'/>
+  <remap id='selection_ungroup' newid='object-ungroup'/>
+  <remap id='selection_up' newid='selection-raise'/>
+  <remap id='selection_down' newid='selection-lower'/>
+  <remap id='selection_top' newid='selection-top'/>
+  <remap id='selection_bot' newid='selection-bottom'/>
   <remap id='object_rotate_90_CCW' newid='object-rotate-left'/>
   <remap id='object_rotate_90_CW' newid='object-rotate-right'/>
   <remap id='object_flip_hor' newid='object-flip-horizontal'/>
   <remap id='object_flip_ver' newid='object-flip-vertical'/>
-  <remap id='selection_bot' newid='selection-bottom'/>
-  <remap id='selection_down' newid='selection-lower'/>
-  <remap id='selection_up' newid='selection-raise'/>
-  <remap id='selection_top' newid='selection-top'/>
+  <remap id='object_trans' newid='dialog-transform'/>
+  <remap id='object_align' newid='dialog-align-and-distribute'/>
+  <remap id='grid_arrange' newid='dialog-rows-and-columns'/>
+  
+  <!-- path menu -->
+  <remap id='object_tocurve' newid='object-to-path'/>
+  <remap id='stroke_tocurve' newid='stroke-to-path'/>
+  <remap id='selection_trace' newid='bitmap-trace'/>
+  <remap id='union' newid='path-union'/>
+  <remap id='difference' newid='path-difference'/>
+  <remap id='intersection' newid='path-intersection'/>
+  <remap id='exclusion' newid='path-exclusion'/>
+  <remap id='division' newid='path-division'/>
+  <remap id='cut_path' newid='path-cut'/>
+  <remap id='selection_combine' newid='path-combine'/>
+  <remap id='selection_break' newid='path-break-apart'/>
+  <remap id='outset_path' newid='path-outset'/>
+  <remap id='inset_path' newid='path-inset'/>
+  <remap id='dynamic_offset' newid='path-offset-dynamic'/>
+  <remap id='linked_offset' newid='path-offset-linked'/>
+  <remap id='simplify' newid='path-simplify'/>
+  <remap id='selection_reverse' newid='path-reverse'/>
+  
+  
+  <!-- text menu -->
+  <remap id='object_font' newid='dialog-text-and-font'/>
+  <remap id='put_on_path' newid='text-put-on-path'/>
+  <remap id='remove_from_path' newid='text-remove-from-path'/>
+  <remap id='flow_into_frame' newid='text-flow-into-frame'/>
+  <remap id='unflow' newid='text-unflow'/>
+  <remap id='convert_to_text' newid='text-convert-to-regular'/>
+  <remap id='remove_manual_kerns' newid='text-unkern'/>
+
+  <!-- help menu -->
+  <remap id='help_keys' newid='help-keyboard-shortcuts'/>
+  <remap id='help_tutorials' newid='help-contents'/>
+  <remap id='inkscape_options' newid='inkscape'/>
+  <remap id='about_memory' newid='dialog-memory'/>
+  
+  <!-- tools -->
   <remap id='draw_select' newid='tool-pointer'/>
   <remap id='draw_node' newid='tool-node-editor'/>
   <remap id='draw_tweak' newid='tool-tweak'/>
+  <remap id='draw_zoom' newid='zoom'/>
   <remap id='draw_rect' newid='draw-rectangle'/>
   <remap id='draw_3dbox' newid='draw-cuboid'/>
   <remap id='draw_arc' newid='draw-ellipse'/>
   <remap id='draw_pen' newid='draw-path'/>
   <remap id='draw_calligraphic' newid='draw-calligraphic'/>
   <remap id='draw_erase' newid='draw-eraser'/>
+  <remap id='draw_paintbucket' newid='color-fill'/>
   <remap id='draw_text' newid='draw-text'/>
-  <remap id='' newid='draw-connector'/>
-  <remap id='color_management' newid='color-management'/>
-  <remap id='zoom_1_to_1' newid='zoom-original'/>
-  <remap id='zoom_1_to_2' newid='zoom-half-size'/>
-  <remap id='zoom_2_to_1' newid='zoom-double-size'/>
-  <remap id='zoom_select' newid='zoom-fit-selection'/>
-  <remap id='zoom_draw' newid='zoom-fit-drawing'/>
-  <remap id='zoom_page' newid='zoom-fit-page'/>
-  <remap id='zoom_pagewidth' newid='zoom-fit-width'/>
-  <remap id='zoom_previous' newid='zoom-previous'/>
-  <remap id='zoom_next' newid='zoom-next'/>
-  <remap id='zoom_in' newid='zoom-in'/>
-  <remap id='zoom_out' newid='zoom-out'/>
-  <remap id='draw_zoom' newid='zoom'/>
-  <remap id='edit_duplicate' newid='edit-duplicate'/>
-</mappings>
\ No newline at end of file
+  <remap id='draw_connector' newid='draw-connector'/>
+  <remap id='draw_gradient' newid='color-gradient'/>
+  <remap id='draw_dropper' newid='color-picker'/>
+
+  <!-- TOOLBARS -->
+  <!-- select toolbar -->
+  <remap id='transform_stroke' newid='transform-affect-stroke'/>
+  <remap id='transform_corners' newid='transform-affect-rounded-corners'/>
+  <remap id='transform_gradient' newid='transform-affect-gradient'/>
+  <remap id='transform_pattern' newid='transform-affect-pattern'/>
+  
+  <!-- node editor toolbar -->
+  <remap id='node_insert' newid='node-add'/>
+  <remap id='node_delete' newid='node-delete'/>
+  <remap id='node_join' newid='node-join'/>
+  <remap id='node_break' newid='node-break'/>
+  <remap id='node_join_segment' newid='node-join-segment'/>
+  <remap id='node_delete_segment' newid='node-delete-segment'/>
+  <remap id='node_cusp' newid='node-type-cusp'/>
+  <remap id='node_smooth' newid='node-type-smooth'/>
+  <remap id='node_symmetric' newid='node-type-symmetric'/>
+  <remap id='node_auto' newid='node-type-auto-smooth'/>
+  <remap id='node_curve' newid='node-segment-curve'/>
+  <remap id='node_line' newid='node-segment-line'/>
+  <remap id='nodes_show_handles' newid='show-node-handles'/>
+  <remap id='edit_next_parameter' newid='path-effect-parameter-next'/>
+  <remap id='nodes_show_helperpath' newid='show-path-outline'/>
+  <remap id='nodeedit-clippath' newid='path-clip-edit'/>
+  <remap id='nodeedit-mask' newid='path-mask-edit'/>
+  <remap id='node_cusp' newid='node-type-cusp'/>
+  
+  <!-- tweak toolbar -->
+  <remap id='tweak_move_mode' newid='object-tweak-push'/>
+  <remap id='tweak_move_mode_inout' newid='object-tweak-attract'/>
+  <remap id='tweak_move_mode_jitter' newid='object-tweak-randomize'/>
+  <remap id='tweak_scale_mode' newid='object-tweak-shrink'/>
+  <remap id='tweak_rotate_mode' newid='object-tweak-rotate'/>
+  <remap id='tweak_moreless_mode' newid='object-tweak-duplicate'/>
+  <remap id='tweak_move_mode' newid='object-tweak-push'/>
+  <remap id='tweak_push_mode' newid='path-tweak-push'/>
+  <remap id='tweak_shrink_mode' newid='path-tweak-shrink'/>
+  <remap id='tweak_attract_mode' newid='path-tweak-attract'/>
+  <remap id='tweak_roughen_mode' newid='path-tweak-roughen'/>
+  <remap id='tweak_colorpaint_mode' newid='object-tweak-paint'/>
+  <remap id='tweak_colorjitter_mode' newid='object-tweak-jitter-color'/>
+  <remap id='tweak_blur_mode' newid='object-tweak-blur'/>
+  
+  <!-- rectangle toolbar -->
+  <remap id='squared_corner' newid='rectangle-make-corners-sharp'/>
+  
+  <!-- cuboid toolbar -->
+  <remap id='toggle_vp_x' newid='perspective-parallel'/>
+
+  <!-- ellipse toolbar -->
+  <remap id='reset_circle' newid='draw-ellipse-whole'/>
+  <remap id='circle_closed_arc' newid='draw-ellipse-segment'/>
+  <remap id='circle_open_arc' newid='draw-ellipse-arc'/>
+  
+  <!-- polygon toolbar -->
+  <remap id='star_flat' newid='draw-polygon'/>
+  <remap id='star_angled' newid='draw-star'/>
+  
+  <!-- bezier toolbar -->
+  <remap id='bezier_mode' newid='path-mode-bezier'/>
+  <remap id='spiro_splines_mode' newid='path-mode-spiro'/>
+  <remap id='polylines_mode' newid='path-mode-polyline'/>
+  <remap id='paraxial_lines_mode' newid='path-mode-polyline-paraxial'/>
+  
+  <!-- calligraphic toolbar -->
+  <remap id='guse_tilt' newid='draw-use-tilt'/>
+  <remap id='guse_pressure' newid='draw-use-pressure'/>
+  <remap id='trace_background' newid='draw-trace-background'/>
+  
+  <!-- eraser toolbar -->
+  <remap id='delete_object' newid='draw-eraser-delete-objects'/>
+  
+  <!-- text toolbar -->
+  <remap id='writing_mode_tb' newid='format-text-direction-vertical'/>
+  <remap id='writing_mode_lr' newid='format-text-direction-horizontal'/>
+  
+  <!-- connector toolbar -->
+  <remap id='connector_avoid' newid='connector-avoid'/>
+  <remap id='connector_ignore' newid='connector-ignore'/>
+    
+  <!-- DIALOGS -->
+  <!-- align and distribute dialog -->
+  <remap id='al_left_out' newid='align-horizontal-right-to-anchor'/>
+  <remap id='al_left_in' newid='align-horizontal-left'/>
+  <remap id='al_center_hor' newid='align-horizontal-center'/>
+  <remap id='al_right_in' newid='align-horizontal-right'/>
+  <remap id='al_right_out' newid='align-horizontal-left-to-anchor'/>
+  <remap id='al_baselines_vert' newid='align-horizontal-baseline'/>
+  
+  <remap id='al_top_out' newid='align-vertical-bottom-to-anchor'/>
+  <remap id='al_top_in' newid='align-vertical-top'/>
+  <remap id='al_center_ver' newid='align-vertical-center'/>
+  <remap id='al_bottom_in' newid='align-vertical-bottom'/>
+  <remap id='al_bottom_out' newid='align-vertical-top-to-anchor'/>
+  <remap id='al_baselines_hor' newid='align-vertical-baseline'/>
+  
+  <remap id='distribute_left' newid='distribute-horizontal-left'/>
+  <remap id='distribute_hcentre' newid='distribute-horizontal-center'/>
+  <remap id='distribute_right' newid='distribute-horizontal-right'/>
+  <remap id='distribute_baselines_hor' newid='distribute-horizontal-baseline'/>
+  
+  <remap id='distribute_bottom' newid='distribute-vertical-bottom'/>
+  <remap id='distribute_vcentre' newid='distribute-vertical-center'/>
+  <remap id='distribute_top' newid='distribute-vertical-top'/>
+  <remap id='distribute_baselines_vert' newid='distribute-vertical-baseline'/>
+  
+  <remap id='distribute_randomize' newid='distribute-randomize'/>
+  <remap id='unclump' newid='distribute-unclump'/>
+  <remap id='graph_layout' newid='distribute-graph'/>
+  <remap id='directed_graph' newid='distribute-graph-directed'/>
+  <remap id='remove_overlaps' newid='distribute-remove-overlaps'/>
+  
+  <remap id='node_valign' newid='align-horizontal-node'/>
+  <remap id='node_halign' newid='align-vertical-node'/>
+  <remap id='node_vdistribute' newid='distribute-vertical-node'/>
+  <remap id='node_hdistribute' newid='distribute-horizontal-node'/>
+
+  <!-- MISCELLANEOUS -->
+  <remap id='grid_xy' newid='grid-rectangular'/>
+  <remap id='grid_axonom' newid='grid-axonometric'/>
+</mappings>