From 2e1ad402c7a1cb8a0bd60380be1fac0339351aaa Mon Sep 17 00:00:00 2001 From: tweenk Date: Mon, 20 Apr 2009 01:29:26 +0000 Subject: [PATCH] Fix the rest of missing icons in the geometry tool. Closes: #358132 --- share/icons/hicolor/16x16/actions/Makefile.am | 2 + .../draw-geometry-set-bounding-box.png | Bin 0 -> 314 bytes share/icons/hicolor/16x16/places/Makefile.am | 1 + .../hicolor/16x16/places/dialog-geometry.png | Bin 0 -> 699 bytes share/icons/hicolor/16x16/status/Makefile.am | 3 + .../draw-geometry-show-measuring-info.png | Bin 0 -> 635 bytes share/icons/hicolor/24x24/actions/Makefile.am | 2 + .../draw-geometry-set-bounding-box.png | Bin 0 -> 501 bytes share/icons/hicolor/24x24/places/Makefile.am | 1 + .../hicolor/24x24/places/dialog-geometry.png | Bin 0 -> 1014 bytes share/icons/hicolor/24x24/status/Makefile.am | 3 + .../draw-geometry-show-measuring-info.png | Bin 0 -> 946 bytes .../hicolor/scalable/actions/Makefile.am | 1 + .../draw-geometry-set-bounding-box.svg | 346 ++++++++++++++ .../icons/hicolor/scalable/places/Makefile.am | 1 + .../scalable/places/dialog-geometry.svg | 431 ++++++++++++++++++ .../icons/hicolor/scalable/status/Makefile.am | 1 + .../draw-geometry-show-measuring-info.svg | 110 +++++ src/verbs.cpp | 2 +- src/widgets/toolbox.cpp | 6 +- 20 files changed, 906 insertions(+), 4 deletions(-) create mode 100644 share/icons/hicolor/16x16/actions/draw-geometry-set-bounding-box.png create mode 100644 share/icons/hicolor/16x16/places/dialog-geometry.png create mode 100644 share/icons/hicolor/16x16/status/draw-geometry-show-measuring-info.png create mode 100644 share/icons/hicolor/24x24/actions/draw-geometry-set-bounding-box.png create mode 100644 share/icons/hicolor/24x24/places/dialog-geometry.png create mode 100644 share/icons/hicolor/24x24/status/draw-geometry-show-measuring-info.png create mode 100644 share/icons/hicolor/scalable/actions/draw-geometry-set-bounding-box.svg create mode 100644 share/icons/hicolor/scalable/places/dialog-geometry.svg create mode 100644 share/icons/hicolor/scalable/status/draw-geometry-show-measuring-info.svg 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 0000000000000000000000000000000000000000..12a7fe61a986d9f806f8f7689c6a2eff37e73f00 GIT binary patch literal 314 zcmV-A0mc4_P)kK8dH~v*c$D?W5_~u^o=^-lNAk zG1{_etHBph_vlwd)z{#$+7mqXgP-8i6_68By24<=bqm6#i0l3sytj5nCUBEdL4 zv6sp&?(l#=cWmGqC#ch7k>C}B^{JOz7^Ej)o?VrAFlprBf$SzhEm4Re=GD);^{61&ix5YW$kb>UD%)A57 zGtbOCkK?+ox4x`AWUXRV5fQA!)>aWwj4CMe>eJhv6sL6U+OH4WpJe>@CJB3n-xHIB zCk%6X&tPRfLrvA*!MORn|5r{@Qj*EY$ea{a6i`t_6;%)vmDv8YfEgvjp`n1AzcP2I zv$G@PU#D1WF~&q^YYB(LcoP%s*tuuW{Ts;leG(E9h(sbh>*}Vy;R+?e<&2MyleOI8 zaa%vAGLK+nWQ5iSZPZ=6MNzO26Q77lOeT>&(o(6Q5brn`Yf-=zRcbF>s48xp<8bEm$>}!`5v;XX5ynOah|4PCN%K7} zpFK)iT51$*E!J89<`_w1R`z|Lfx^r$hzQLsceqqn&+xBtRu#CMudT-SJ^F(i$zHiC zN-$f2#0aMDy?OH{wr$-q?Ko=;fk1$qyaH^@i84!ppg6AUdK=2iLK@2gD$zU;&4WgV hSRQmv-_!FV002ovPDHLkV1nNjN0I;l literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..bebc3c21a1d5e26e8b28f9d1839230e546e8adab GIT binary patch literal 635 zcmV->0)+jEP)IdgL7 zjx9ewFIE){F0unOb8DKbqCg}vxX%#^RnNZZdUaqsp@<+NsA`srDw^gOF4j#swsce7 zEZD(7Rmd9LZfV6BLm+UB^XJYYBJ}k1@~*F+nVA_{@3!!|yPM&mVUkJ1&8F)pU`HVu zjgm;La;v$Cj*d=@F&JYAg{o<6Y{2DmVMQ&@)Sjm1)Jfv;I3|@sL~y7o(WNCEj$Di} zV6$P2$wuz&?ZfRZp{THswPcc?las8(;}~O5RqP7vEh=JqdYX~ZQSzKlW@qR4Ix@mQ zIKuN6FR87qA-=lG`1m&}Dh@F}H=i~Dd*;#V>#s04_>qQ&Yp5zYIS!moC&6HV&!4^! zi^Z@ki*PtXbMuXC0*9(%jG@fy#pCfHBILO2c=AgT5q#wbk@OUf9;u|V@-QN@ZZI@7 zT>RkSqm@jO^^+N?;Pd-(PXvzViU^ZaQ_|o6epN*n8yhdS0ad`Boql4O*Za7={i$10 zDe5j={xvc2{VK2mEIWXKox}hIy9*YKG49UJu7qVp?*q^Nrr89)-~S;z(5Jrg@(Ezq z#+v9cYxB;{cqjwk{^KW&)Sw{+71iz3)t-3A+y;V@Eb;3 VV!TPiJf#2t002ovPDHLkV1h$dEua7Z literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..df712f3843e5d36ddca8a31be16a87b56d4035c8 GIT binary patch literal 501 zcmVI1;F6p3-aY3fx$gx6AsLX8 z#+u=;l{+%rrkOkMSBeK4-~egOTMeI5zTI#`W^S@xgD>Dw^EbmkDgR=)PrdE{S2gth z6*3EQqcPm9TF@)%0Qxmg)UlvmU_oyVA(js_XcQS>S@S!=qbb(B3448qGY9qio(53}RkhDfiMAtUel(K;U$3OyP5kxdbB8VqcO8{}qKo-cs zhZ9&<6EX^N;l}HXt3lQ?!y8K*l>!;8!(g)V#H+j2dfuDu##Zk)kVVx9G{^xFKB~k` zQzTU*=QlXvXV=PrX}hTHn@~*wcjpgL-r+`4k7wbX+C2V=mT<~@cV r#qEp-!}S5<{L&<0=gxh|cqqOB_^Yk#Jj4Zl00000NkvXXu0mjfv~J)* literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..24872ac5d226d6169a7a4ac3fc75ee00dcde1534 GIT binary patch literal 1014 zcmVgK;AcPVOkh-#Rl)9pp ztYq^AS><4e70YzJFSpDso95P%8nfkMNH|+qlo2a!ZfG0o4AwOk2ozAz%a!Lo&pG{Z zU$}4~u*KQV&hz^{=X}4v-}m`GCj^iz;?M#7=~9?_J{$ay6K2+`~H(wdm41n%`5lz11WmZ@CeJAXcKNXfuJe?$l% zrFQd{+Llrxgh10YgbBTWn%IOM)s2vv)8u zGRn8-&hte_C%w+=SYqQL%7P`yPE?$gkzYr--u*p&7d~Ud9mDLYji>uY94A_TU~F(1 z&+L1Jl;mWD5F}V_(+T?e`dGK|VQQXxiKy6RgzBT{>2=c4{w2fCt4#hrL{3%)rT04M zJkvypwTC4!dItUqeGbEbxvI`_o-EL~1swZS=5>Y8dv>be% z$1BPxUQ-wZDx~zsa}xM~rIff_F1A+f#2sg2OpE8c4-S%BP{`+P@AA=yM}t6pL~NfJa5C`(W8j}$vf2~AwZ zm1{#N*V<`qYQ&bB%5BnudSf}e>kb7;6o}!ssqaS3|w2;udVWK$n!d)nS#7jq}!^C*8 zL8e!8$_7qMj5B)arGt$nEXKsII9wdl7~+MSW{WW~EW4a3qXlX=3#@%9^rc_tJYKZ4 zd{jZjCpkCg|D6B-`O0$)K=>c63P4nP+Ydwptu-Q2@n{jGh}YHo3If|9-HNOdR?1+z z#9I-{27Hr%<2Zcs>E{@RK~MKVJRZ+Fl3;L>A1+@(DMeS;0h;_iM1=A2@3}QKMMFaa zFLXVR%k3@+m}>~S zBod+bSU*}Rv{L0tsGKA7v8c4S?~!bJNzyAxY2WjZ+?~H8sin9qC-2JA;({dYd9f37 zl8DEobKkS_^R*vkVJ<53vEOCxkBHp3@vC%nJSMlJ(-Mt@1du8Kr4+NXvjkdNP)Z>p z1OfqOW@c!;zjagHCnl~FkH^{Fx*Mf6PAWxr&ntw&VTR8PmN-g1&{|VlS4UpuQCcHf z15jP#$H^cum4RD7#KJ~ef>S0Joz5}CO^U8 zB)zY{TFx3U0I}n-QWVRn6e5Dx>)lj)EgR;)h-Y&-mX?>f-FLHmXEa#48Dzrb%6GEu!_hck7z0D@68}k+1Qoh!ydY!12Bl87b_B@`@<$i{f?h zP9U4h8vFNmx}JXONn=&Wwrx%gp2=l%xdL;6z*7ah^yT@l?)|%+RKX70_TnQ?bUeOm zHR7SuXEPVa#=`l${&0<7q6)b156J=UIF9q#>a;|ox4HDqxA}ZtKLfnnO z?<6^ZWf+D&H!>_WHQpHD-f02cZkN;C+`M90)}b9IFPfO9>9FC`+ED@E$W~5&0@>*F Uts1PJP5=M^07*qoM6N<$f+rHtfB*mh literal 0 HcmV?d00001 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 ); -- 2.30.2