# HG changeset patch
# User Laurent Bessard
# Date 1368739261 -7200
# Node ID 7f473761c93249a2ffceb00550d1c302b2123f7c
# Parent 2225494acbf26fd510ec52f5bc86b86ddba4da56
Added icon for Ethercat extension root and Ethercat master node
diff -r 2225494acbf2 -r 7f473761c932 etherlab/EthercatMaster.py
--- a/etherlab/EthercatMaster.py Fri May 10 09:16:07 2013 +0200
+++ b/etherlab/EthercatMaster.py Thu May 16 23:21:01 2013 +0200
@@ -247,6 +247,9 @@
self.CreateBuffer(False)
self.OnCTNSave()
+ def GetIconName(self):
+ return "Ethercat"
+
def GetContextualMenuItems(self):
return [("Add Ethercat Slave", "Add Ethercat Slave to Master", self.OnAddEthercatSlave)]
diff -r 2225494acbf2 -r 7f473761c932 etherlab/etherlab.py
--- a/etherlab/etherlab.py Fri May 10 09:16:07 2013 +0200
+++ b/etherlab/etherlab.py Thu May 16 23:21:01 2013 +0200
@@ -464,6 +464,9 @@
self.ModulesLibrary = None
self.LoadModulesLibrary()
+ def GetIconName(self):
+ return "Ethercat"
+
def GetModulesLibraryPath(self, project_path=None):
if project_path is None:
project_path = self.CTNPath()
diff -r 2225494acbf2 -r 7f473761c932 etherlab/images/Ethercat.png
Binary file etherlab/images/Ethercat.png has changed
diff -r 2225494acbf2 -r 7f473761c932 etherlab/images/icons.svg
--- a/etherlab/images/icons.svg Fri May 10 09:16:07 2013 +0200
+++ b/etherlab/images/icons.svg Thu May 16 23:21:01 2013 +0200
@@ -43,9 +43,9 @@
pagecolor="#ffffff"
id="base"
showgrid="false"
- inkscape:zoom="1.4142136"
- inkscape:cx="233.96247"
- inkscape:cy="947.27561"
+ inkscape:zoom="8.0000002"
+ inkscape:cx="294.02018"
+ inkscape:cy="814.50324"
inkscape:window-x="0"
inkscape:window-y="24"
inkscape:current-layer="svg2"
@@ -61539,6 +61539,68 @@
inkscape:vp_x="0 : 526.18109 : 1"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
id="perspective8097" />
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+ EtherCAT
+
+
+
-
+
+ EtherCAT
+
+
+
-
+
+ EtherCAT
+
+
+
ab
-
- EtherCAT
-
-
-
+ y="304.15552"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Ume Gothic C5;-inkscape-font-specification:Ume Gothic C5"
+ dx="0 -3.3841705 -2.9611492 -2.1151066 -3.8071918">Ether
@@ -63621,9 +63738,9 @@
y="208.63211"
x="175.23717"
id="tspan16195-0"
- sodipodi:role="line">%% Slave CIA402Slave %%
+ sodipodi:role="line">%% Ethercat Slave CIA402Slave %%
+
+
+
+
+
+
+ CAT
+
+
+
+
+