From: tweenk Date: Mon, 20 Apr 2009 01:29:26 +0000 (+0000) Subject: Fix the rest of missing icons in the geometry tool. Closes: #358132 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2e1ad402c7a1cb8a0bd60380be1fac0339351aaa;p=inkscape.git Fix the rest of missing icons in the geometry tool. Closes: #358132 --- diff --git a/share/icons/hicolor/16x16/actions/Makefile.am b/share/icons/hicolor/16x16/actions/Makefile.am index 1c980beb7..07a2af31a 100644 --- a/share/icons/hicolor/16x16/actions/Makefile.am +++ b/share/icons/hicolor/16x16/actions/Makefile.am @@ -60,6 +60,8 @@ icons_DATA = \ draw-ellipse-whole.png \ draw-eraser.png \ draw-freehand.png \ + draw-geometry.png \ + draw-geometry-set-bounding-box.png \ draw-path.png \ draw-polygon.png \ draw-polygon-star.png \ diff --git a/share/icons/hicolor/16x16/actions/draw-geometry-set-bounding-box.png b/share/icons/hicolor/16x16/actions/draw-geometry-set-bounding-box.png new file mode 100644 index 000000000..12a7fe61a Binary files /dev/null and b/share/icons/hicolor/16x16/actions/draw-geometry-set-bounding-box.png differ diff --git a/share/icons/hicolor/16x16/places/Makefile.am b/share/icons/hicolor/16x16/places/Makefile.am index c0b5e446f..0de00c2f9 100644 --- a/share/icons/hicolor/16x16/places/Makefile.am +++ b/share/icons/hicolor/16x16/places/Makefile.am @@ -10,6 +10,7 @@ iconsdir = $(themedir)/$(size)/$(context) icons_DATA = \ dialog-align-and-distribute.png \ dialog-fill-and-stroke.png \ + dialog-geometry.png \ dialog-icon-preview.png \ dialog-input-devices.png \ dialog-layers.png \ diff --git a/share/icons/hicolor/16x16/places/dialog-geometry.png b/share/icons/hicolor/16x16/places/dialog-geometry.png new file mode 100644 index 000000000..8ac8af0cc Binary files /dev/null and b/share/icons/hicolor/16x16/places/dialog-geometry.png differ diff --git a/share/icons/hicolor/16x16/status/Makefile.am b/share/icons/hicolor/16x16/status/Makefile.am index 22bf88a98..115ab6181 100644 --- a/share/icons/hicolor/16x16/status/Makefile.am +++ b/share/icons/hicolor/16x16/status/Makefile.am @@ -14,9 +14,12 @@ icons_DATA = \ draw-geometry-angle-bisector.png \ draw-geometry-circle-from-radius.png \ draw-geometry-circle-from-three-points.png \ + draw-geometry-inactive.png \ draw-geometry-line-parallel.png \ draw-geometry-line-perpendicular.png \ draw-geometry-line-segment.png \ + draw-geometry-mirror.png \ + draw-geometry-show-measuring-info.png \ draw-trace-background.png \ draw-use-pressure.png \ draw-use-tilt.png \ diff --git a/share/icons/hicolor/16x16/status/draw-geometry-show-measuring-info.png b/share/icons/hicolor/16x16/status/draw-geometry-show-measuring-info.png new file mode 100644 index 000000000..bebc3c21a Binary files /dev/null and b/share/icons/hicolor/16x16/status/draw-geometry-show-measuring-info.png differ diff --git a/share/icons/hicolor/24x24/actions/Makefile.am b/share/icons/hicolor/24x24/actions/Makefile.am index 37a14cd5e..3473e760e 100644 --- a/share/icons/hicolor/24x24/actions/Makefile.am +++ b/share/icons/hicolor/24x24/actions/Makefile.am @@ -60,6 +60,8 @@ icons_DATA = \ draw-ellipse-whole.png \ draw-eraser.png \ draw-freehand.png \ + draw-geometry.png \ + draw-geometry-set-bounding-box.png \ draw-path.png \ draw-polygon.png \ draw-polygon-star.png \ diff --git a/share/icons/hicolor/24x24/actions/draw-geometry-set-bounding-box.png b/share/icons/hicolor/24x24/actions/draw-geometry-set-bounding-box.png new file mode 100644 index 000000000..df712f384 Binary files /dev/null and b/share/icons/hicolor/24x24/actions/draw-geometry-set-bounding-box.png differ diff --git a/share/icons/hicolor/24x24/places/Makefile.am b/share/icons/hicolor/24x24/places/Makefile.am index 141249af2..53e21d7d1 100644 --- a/share/icons/hicolor/24x24/places/Makefile.am +++ b/share/icons/hicolor/24x24/places/Makefile.am @@ -10,6 +10,7 @@ iconsdir = $(themedir)/$(size)/$(context) icons_DATA = \ dialog-align-and-distribute.png \ dialog-fill-and-stroke.png \ + dialog-geometry.png \ dialog-icon-preview.png \ dialog-input-devices.png \ dialog-layers.png \ diff --git a/share/icons/hicolor/24x24/places/dialog-geometry.png b/share/icons/hicolor/24x24/places/dialog-geometry.png new file mode 100644 index 000000000..24872ac5d Binary files /dev/null and b/share/icons/hicolor/24x24/places/dialog-geometry.png differ diff --git a/share/icons/hicolor/24x24/status/Makefile.am b/share/icons/hicolor/24x24/status/Makefile.am index 9f98987f3..e1166e54e 100644 --- a/share/icons/hicolor/24x24/status/Makefile.am +++ b/share/icons/hicolor/24x24/status/Makefile.am @@ -14,9 +14,12 @@ icons_DATA = \ draw-geometry-angle-bisector.png \ draw-geometry-circle-from-radius.png \ draw-geometry-circle-from-three-points.png \ + draw-geometry-inactive.png \ draw-geometry-line-parallel.png \ draw-geometry-line-perpendicular.png \ draw-geometry-line-segment.png \ + draw-geometry-mirror.png \ + draw-geometry-show-measuring-info.png \ draw-trace-background.png \ draw-use-pressure.png \ draw-use-tilt.png \ diff --git a/share/icons/hicolor/24x24/status/draw-geometry-show-measuring-info.png b/share/icons/hicolor/24x24/status/draw-geometry-show-measuring-info.png new file mode 100644 index 000000000..a5370855e Binary files /dev/null and b/share/icons/hicolor/24x24/status/draw-geometry-show-measuring-info.png differ diff --git a/share/icons/hicolor/scalable/actions/Makefile.am b/share/icons/hicolor/scalable/actions/Makefile.am index 27ace5faa..2be03b60d 100644 --- a/share/icons/hicolor/scalable/actions/Makefile.am +++ b/share/icons/hicolor/scalable/actions/Makefile.am @@ -60,6 +60,7 @@ icons_DATA = \ draw-ellipse-whole.svg \ draw-eraser.svg \ draw-freehand.svg \ + draw-geometry-set-bounding-box.svg \ draw-geometry.svg \ draw-path.svg \ draw-polygon-star.svg \ diff --git a/share/icons/hicolor/scalable/actions/draw-geometry-set-bounding-box.svg b/share/icons/hicolor/scalable/actions/draw-geometry-set-bounding-box.svg new file mode 100644 index 000000000..bc57c0e35 --- /dev/null +++ b/share/icons/hicolor/scalable/actions/draw-geometry-set-bounding-box.svg @@ -0,0 +1,346 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/share/icons/hicolor/scalable/places/Makefile.am b/share/icons/hicolor/scalable/places/Makefile.am index d81fe5f80..795a6b9c8 100644 --- a/share/icons/hicolor/scalable/places/Makefile.am +++ b/share/icons/hicolor/scalable/places/Makefile.am @@ -10,6 +10,7 @@ iconsdir = $(themedir)/$(size)/$(context) icons_DATA = \ dialog-align-and-distribute.svg \ dialog-fill-and-stroke.svg \ + dialog-geometry.svg \ dialog-icon-preview.svg \ dialog-input-devices.svg \ dialog-layers.svg \ diff --git a/share/icons/hicolor/scalable/places/dialog-geometry.svg b/share/icons/hicolor/scalable/places/dialog-geometry.svg new file mode 100644 index 000000000..8786b32ff --- /dev/null +++ b/share/icons/hicolor/scalable/places/dialog-geometry.svg @@ -0,0 +1,431 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/share/icons/hicolor/scalable/status/Makefile.am b/share/icons/hicolor/scalable/status/Makefile.am index b8aa8285e..3bf66937c 100644 --- a/share/icons/hicolor/scalable/status/Makefile.am +++ b/share/icons/hicolor/scalable/status/Makefile.am @@ -19,6 +19,7 @@ icons_DATA = \ draw-geometry-line-perpendicular.svg \ draw-geometry-line-segment.svg \ draw-geometry-mirror.svg \ + draw-geometry-show-measuring-info.svg \ draw-trace-background.svg \ draw-use-pressure.svg \ draw-use-tilt.svg \ diff --git a/share/icons/hicolor/scalable/status/draw-geometry-show-measuring-info.svg b/share/icons/hicolor/scalable/status/draw-geometry-show-measuring-info.svg new file mode 100644 index 000000000..6cde9a9bd --- /dev/null +++ b/share/icons/hicolor/scalable/status/draw-geometry-show-measuring-info.svg @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/src/verbs.cpp b/src/verbs.cpp index dd4de682d..b5696d389 100644 --- a/src/verbs.cpp +++ b/src/verbs.cpp @@ -2536,7 +2536,7 @@ Verb *Verb::_base_verbs[] = { new ContextVerb(SP_VERB_CONTEXT_ERASER, "ToolEraser", N_("Eraser"), N_("Erase existing paths"), INKSCAPE_ICON_DRAW_ERASER), new ContextVerb(SP_VERB_CONTEXT_LPETOOL, "ToolLPETool", N_("LPE Tool"), - N_("Do geometric constructions"), NULL), + N_("Do geometric constructions"), "draw-geometry"), /* Tool prefs */ new ContextVerb(SP_VERB_CONTEXT_SELECT_PREFS, "SelectPrefs", N_("Selector Preferences"), N_("Open Preferences for the Selector tool"), NULL), diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index ce2260451..fba4f58ce 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -5612,7 +5612,7 @@ static void sp_lpetool_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActi InkToggleAction* act = ink_toggle_action_new( "LPEBBoxFromSelectionAction", _("Get limiting bounding box from selection"), _("Set limiting bounding box (used to cut infinite lines) to the bounding box of current selection"), - "lpetool_set_bbox", + "draw-geometry-set-bounding-box", Inkscape::ICON_SIZE_DECORATION ); gtk_action_group_add_action( mainActions, GTK_ACTION( act ) ); g_signal_connect_after( G_OBJECT(act), "toggled", G_CALLBACK(lpetool_toggle_set_bbox), desktop ); @@ -5641,7 +5641,7 @@ static void sp_lpetool_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActi InkToggleAction* act = ink_toggle_action_new( "LPEMeasuringAction", _("Display measuring info"), _("Display measuring info for selected items"), - "lpetool_measuring_info", + "draw-geometry-show-measuring-info", Inkscape::ICON_SIZE_DECORATION ); gtk_action_group_add_action( mainActions, GTK_ACTION( act ) ); g_signal_connect_after( G_OBJECT(act), "toggled", G_CALLBACK(lpetool_toggle_show_measuring_info), holder ); @@ -5662,7 +5662,7 @@ static void sp_lpetool_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActi InkToggleAction* act = ink_toggle_action_new( "LPEOpenLPEDialogAction", _("Open LPE dialog"), _("Open LPE dialog (to adapt parameters numerically)"), - "lpetool_open_lpe_dialog", + "dialog-geometry", Inkscape::ICON_SIZE_DECORATION ); gtk_action_group_add_action( mainActions, GTK_ACTION( act ) ); g_signal_connect_after( G_OBJECT(act), "toggled", G_CALLBACK(lpetool_open_lpe_dialog), desktop );