[anjuta] debugger: Added icons from bgo#511000



commit 4956737f3b98f795c4923aa162c077b3b6afbcf5
Author: Johannes Schmid <jhs gnome org>
Date:   Tue Jan 4 22:28:30 2011 +0100

    debugger: Added icons from bgo#511000

 plugins/debug-manager/disassemble.c                |    2 +-
 plugins/debug-manager/images/Makefile.am           |    8 +-
 .../debug-manager/images/anjuta-disassembly-16.png |  Bin 0 -> 522 bytes
 .../debug-manager/images/anjuta-disassembly-24.png |  Bin 0 -> 1025 bytes
 .../debug-manager/images/anjuta-disassembly.svg    |  111 ++++++++++++++++
 plugins/debug-manager/images/anjuta-memory-16.png  |  Bin 0 -> 404 bytes
 plugins/debug-manager/images/anjuta-memory-24.png  |  Bin 0 -> 600 bytes
 plugins/debug-manager/images/anjuta-memory.svg     |  137 ++++++++++++++++++++
 plugins/debug-manager/memory.c                     |    2 +-
 plugins/debug-manager/plugin.c                     |    2 +
 10 files changed, 259 insertions(+), 3 deletions(-)
---
diff --git a/plugins/debug-manager/disassemble.c b/plugins/debug-manager/disassemble.c
index 00cee22..e461e56 100644
--- a/plugins/debug-manager/disassemble.c
+++ b/plugins/debug-manager/disassemble.c
@@ -849,7 +849,7 @@ create_disassemble_gui (DmaDisassemble *self)
 	anjuta_shell_add_widget (ANJUTA_PLUGIN (self->plugin)->shell,
 							 self->window,
                              "AnjutaDebuggerDisassemble", _("Disassembly"),
-                             NULL, ANJUTA_SHELL_PLACEMENT_NONE,
+                             "debugger-disassembly", ANJUTA_SHELL_PLACEMENT_NONE,
 							 NULL);
 
 	return TRUE;
diff --git a/plugins/debug-manager/images/Makefile.am b/plugins/debug-manager/images/Makefile.am
index 6da1ffe..4b3010f 100644
--- a/plugins/debug-manager/images/Makefile.am
+++ b/plugins/debug-manager/images/Makefile.am
@@ -25,7 +25,13 @@ images_DATA = \
 	anjuta-bookmark-16.png \
 	anjuta-watch-16.png \
 	anjuta-watch-24.png \
-	anjuta-watch.svg
+	anjuta-watch.svg \
+	anjuta-disassembly-16.png \
+	anjuta-disassembly-24.png \
+	anjuta-disassembly.svg \
+	anjuta-memory-16.png \
+	anjuta-memory-24.png \
+	anjuta-memory.svg
 
 EXTRA_DIST = $(images_DATA)
 
diff --git a/plugins/debug-manager/images/anjuta-disassembly-16.png b/plugins/debug-manager/images/anjuta-disassembly-16.png
new file mode 100644
index 0000000..9ee4c83
Binary files /dev/null and b/plugins/debug-manager/images/anjuta-disassembly-16.png differ
diff --git a/plugins/debug-manager/images/anjuta-disassembly-24.png b/plugins/debug-manager/images/anjuta-disassembly-24.png
new file mode 100644
index 0000000..47b55a8
Binary files /dev/null and b/plugins/debug-manager/images/anjuta-disassembly-24.png differ
diff --git a/plugins/debug-manager/images/anjuta-disassembly.svg b/plugins/debug-manager/images/anjuta-disassembly.svg
new file mode 100644
index 0000000..00ecb44
--- /dev/null
+++ b/plugins/debug-manager/images/anjuta-disassembly.svg
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:xlink="http://www.w3.org/1999/xlink";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="16px"
+   height="16px"
+   id="svg2985"
+   version="1.1"
+   inkscape:version="0.48.0 r9654"
+   sodipodi:docname="as.png">
+  <defs
+     id="defs2987">
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient3806">
+      <stop
+         style="stop-color:#eeeeec;stop-opacity:1"
+         offset="0"
+         id="stop3808" />
+      <stop
+         style="stop-color:#729fcf;stop-opacity:1"
+         offset="1"
+         id="stop3810" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3806"
+       id="linearGradient3812"
+       x1="8.059267"
+       y1="0.86896491"
+       x2="8.059267"
+       y2="15.014796"
+       gradientUnits="userSpaceOnUse" />
+    <filter
+       inkscape:collect="always"
+       id="filter3900">
+      <feGaussianBlur
+         inkscape:collect="always"
+         stdDeviation="0.13085348"
+         id="feGaussianBlur3902" />
+    </filter>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="22.197802"
+     inkscape:cx="6.168793"
+     inkscape:cy="6.8099483"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     inkscape:grid-bbox="true"
+     inkscape:document-units="px"
+     inkscape:window-width="1152"
+     inkscape:window-height="793"
+     inkscape:window-x="-4"
+     inkscape:window-y="-4"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata2990">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     id="layer1"
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer">
+    <path
+       sodipodi:nodetypes="cccccc"
+       inkscape:connector-curvature="0"
+       d="m 15.572568,0.57783604 0,15.02211496 -2.632113,0.02841 -12.0211011,0 0,-14.98681834 z"
+       style="fill:none;stroke:#000000;stroke-width:0.30000000999999998;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;filter:url(#filter3900)"
+       id="path3852" />
+    <path
+       style="fill:url(#linearGradient3812);fill-opacity:1;stroke:#000000;stroke-width:0.30000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+       d="m 15.2266,0.35928793 0,15.02211507 -2.632113,0.02841 -12.02110041,0 0,-14.98681845 z"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="cccccc" />
+    <text
+       xml:space="preserve"
+       style="font-size:79.3141861px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
+       x="1.312436"
+       y="9.763092"
+       id="text3904"
+       sodipodi:linespacing="125%"
+       transform="scale(0.73891654,1.3533328)"><tspan
+         sodipodi:role="line"
+         id="tspan3906"
+         x="1.312436"
+         y="9.763092"
+         style="font-size:11.33059978000000000px;-inkscape-font-specification:Trebuchet MS;font-family:Trebuchet MS;font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal">010</tspan></text>
+  </g>
+</svg>
diff --git a/plugins/debug-manager/images/anjuta-memory-16.png b/plugins/debug-manager/images/anjuta-memory-16.png
new file mode 100644
index 0000000..5997225
Binary files /dev/null and b/plugins/debug-manager/images/anjuta-memory-16.png differ
diff --git a/plugins/debug-manager/images/anjuta-memory-24.png b/plugins/debug-manager/images/anjuta-memory-24.png
new file mode 100644
index 0000000..84964f6
Binary files /dev/null and b/plugins/debug-manager/images/anjuta-memory-24.png differ
diff --git a/plugins/debug-manager/images/anjuta-memory.svg b/plugins/debug-manager/images/anjuta-memory.svg
new file mode 100644
index 0000000..0cc1d92
--- /dev/null
+++ b/plugins/debug-manager/images/anjuta-memory.svg
@@ -0,0 +1,137 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:xlink="http://www.w3.org/1999/xlink";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="16px"
+   height="16px"
+   id="svg2985"
+   version="1.1"
+   inkscape:version="0.48.0 r9654"
+   sodipodi:docname="Memory.png">
+  <defs
+     id="defs2987">
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient3806">
+      <stop
+         style="stop-color:#eeeeec;stop-opacity:1"
+         offset="0"
+         id="stop3808" />
+      <stop
+         style="stop-color:#729fcf;stop-opacity:1"
+         offset="1"
+         id="stop3810" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3806"
+       id="linearGradient3812"
+       x1="8.059267"
+       y1="0.86896491"
+       x2="8.059267"
+       y2="15.014796"
+       gradientUnits="userSpaceOnUse" />
+    <filter
+       inkscape:collect="always"
+       id="filter3900">
+      <feGaussianBlur
+         inkscape:collect="always"
+         stdDeviation="0.13085348"
+         id="feGaussianBlur3902" />
+    </filter>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="22.197802"
+     inkscape:cx="7.2772817"
+     inkscape:cy="7.4125"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     inkscape:grid-bbox="true"
+     inkscape:document-units="px"
+     inkscape:window-width="1152"
+     inkscape:window-height="793"
+     inkscape:window-x="-4"
+     inkscape:window-y="-4"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata2990">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     id="layer1"
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer">
+    <path
+       style="fill:#4e9a06;stroke:#000000;stroke-width:0.30000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+       d="m 0.63069307,0.59306918 14.68613893,0 0,14.50594082 -14.73118843,0 z"
+       id="path3912"
+       inkscape:connector-curvature="0" />
+    <rect
+       ry="0.63125616"
+       rx="0.97827011"
+       y="10.63911"
+       x="2.0722771"
+       height="5.3158422"
+       width="2.2975247"
+       id="rect3916"
+       style="fill:#edd400;fill-opacity:1;stroke:#2e3436;stroke-width:0.30000000999999998;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+    <rect
+       style="fill:#fce94f;fill-opacity:1;stroke:#2e3436;stroke-width:0.30000001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+       id="rect3942"
+       width="2.2975247"
+       height="5.3158422"
+       x="5.0722771"
+       y="10.63911"
+       rx="0.97827011"
+       ry="0.63125616" />
+    <rect
+       ry="0.63125616"
+       rx="0.97827011"
+       y="10.63911"
+       x="8.0722771"
+       height="5.3158422"
+       width="2.2975247"
+       id="rect3944"
+       style="fill:#edd400;fill-opacity:1;stroke:#2e3436;stroke-width:0.30000000999999998;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+    <rect
+       style="fill:#fce94f;fill-opacity:1;stroke:#2e3436;stroke-width:0.30000001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+       id="rect3946"
+       width="2.2975247"
+       height="5.3158422"
+       x="11.072277"
+       y="10.63911"
+       rx="0.97827011"
+       ry="0.63125616" />
+    <rect
+       style="fill:#2e3436;fill-opacity:1;stroke:#2e3436;stroke-width:0.30000000999999998;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+       id="rect3948"
+       width="12.028218"
+       height="6.7123761"
+       x="1.7118812"
+       y="1.7193068"
+       rx="0.97827011"
+       ry="0.63125616" />
+  </g>
+</svg>
diff --git a/plugins/debug-manager/memory.c b/plugins/debug-manager/memory.c
index 2bf5024..d01707a 100644
--- a/plugins/debug-manager/memory.c
+++ b/plugins/debug-manager/memory.c
@@ -178,7 +178,7 @@ create_memory_gui (DmaMemory *mem)
 	anjuta_shell_add_widget (mem->plugin->shell,
 							 mem->window,
                              "AnjutaDebuggerMemory", _("Memory"),
-                             NULL, ANJUTA_SHELL_PLACEMENT_NONE,
+                             "debugger-memory", ANJUTA_SHELL_PLACEMENT_NONE,
 							 NULL);
 	
 	return TRUE;
diff --git a/plugins/debug-manager/plugin.c b/plugins/debug-manager/plugin.c
index baa4fc4..a7d2e05 100644
--- a/plugins/debug-manager/plugin.c
+++ b/plugins/debug-manager/plugin.c
@@ -142,6 +142,8 @@ register_stock_icons (AnjutaPlugin *plugin)
 		REGISTER_ICON_FULL ("anjuta-step-out", "debugger-step-out");
 		REGISTER_ICON_FULL ("anjuta-step-over", "debugger-step-over");
 		REGISTER_ICON_FULL ("anjuta-run-to-cursor", "debugger-run-to-cursor");
+		REGISTER_ICON_FULL ("anjuta-memory", "debugger-memory");
+		REGISTER_ICON_FULL ("anjuta-disassembly", "debugger-disassembly");
 		END_REGISTER_ICON
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]