HEX
Server: Apache
System: Linux opal14.opalstack.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User: curbgloabal_opal (1234)
PHP: 8.1.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/share/inkscape/extensions/web-set-att.pyc
�
��Yc@s]dZddlZddlZdejfd��YZedkrYe�Zej�ndS(s�
Copyright (C) 2009 Aurelio A. Heckert, aurium (a) gmail dot com

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
i����NtInkWebTransmitAttcBseZd�Zd�ZRS(c
Cs1tjj|�|jjddddddddd	d
dd�|jjd
dddddddd	ddd�|jjddddddddd	ddd�|jjddddddddd	ddd�|jjddddddddd	ddd �|jjd!dddddd"dd#�dS($Ns-as--atttactiontstorettypetstringtdesttatttdefaulttfillthelpsAttribute to set.s-vs--valtvaltredsValues to set.s-ws--whentwhentonclicksWhen it must to set?s-cs--compatibilityt
compatibilitytappends/Compatibility with previews code to this event.s-ts
--from-and-totfrom_and_tosg-to-onesOWho transmit to Who? "g-to-one" All set the last. "one-to-g" The first set all.s--tabttabs'The selected UI-tab when OK was pressed(tinkwebeffecttInkWebEffectt__init__tOptionParsert
add_option(tself((s-/usr/share/inkscape/extensions/web-set-att.pyRs2cCs�|j�t|jj�dkrEtjjtd��td�ng}g}|jj	dkr�x,|jjd D]}|j
|j|�qtW|j
|jjd�nF|j
|j|jjd�x%|jjdD]}|j
|�q�Wddj|�d	d
|jj
dd|jjd
}x�|D]�}|j|jj�}|dkrdd}n|jjdkr�|d|}n|jjdkr�|d|}n|j|jj|�q4WdS(Nis&You must select at least two elements.isg-to-onei����isInkWeb.setAtt({el:['s','s'], satt:'s', sval:'s'})tRs;
tprepend(tensureInkWebSupporttlentoptionstidsRtinkexterrormsgt_texitRRtselectedtjoinRR
tgetRtNoneRtset(RtelFromtidTotselIdtevCodetelt
prevEvCodetelEvCode((s-/usr/share/inkscape/extensions/web-set-att.pyteffect4s.

;
	(t__name__t
__module__RR.(((s-/usr/share/inkscape/extensions/web-set-att.pyRs	t__main__(t__doc__RRRRR/tetaffect(((s-/usr/share/inkscape/extensions/web-set-att.pyt<module>s@