[gnoduino] New Arduino 1.0 icons borrowed from Arduino Team



commit f9499ba04de1676036a86b754c462ef3c1779403
Author: Pascal de Bruijn <pmjdebruijn pcode nl>
Date:   Mon Apr 9 17:17:27 2012 +0200

    New Arduino 1.0 icons borrowed from Arduino Team

 pixmaps/compile.svg    |  110 -----------------------
 pixmaps/new.png        |  Bin 0 -> 444 bytes
 pixmaps/new.svg        |  112 ------------------------
 pixmaps/open.png       |  Bin 0 -> 411 bytes
 pixmaps/open.svg       |  112 ------------------------
 pixmaps/save.png       |  Bin 0 -> 419 bytes
 pixmaps/save.svg       |  112 ------------------------
 pixmaps/serial.png     |  Bin 0 -> 565 bytes
 pixmaps/serial.svg     |  134 ----------------------------
 pixmaps/stop.svg       |  112 ------------------------
 pixmaps/upload.png     |  Bin 0 -> 396 bytes
 pixmaps/upload.svg     |  227 ------------------------------------------------
 pixmaps/verify.png     |  Bin 0 -> 426 bytes
 scripts/gen-pixmaps.sh |    5 -
 src/ui.py              |    7 +-
 ui/main.ui             |   25 +----
 16 files changed, 8 insertions(+), 948 deletions(-)
---
diff --git a/pixmaps/new.png b/pixmaps/new.png
new file mode 100644
index 0000000..3f99b6c
Binary files /dev/null and b/pixmaps/new.png differ
diff --git a/pixmaps/open.png b/pixmaps/open.png
new file mode 100644
index 0000000..7907bf4
Binary files /dev/null and b/pixmaps/open.png differ
diff --git a/pixmaps/save.png b/pixmaps/save.png
new file mode 100644
index 0000000..cfc1f24
Binary files /dev/null and b/pixmaps/save.png differ
diff --git a/pixmaps/serial.png b/pixmaps/serial.png
new file mode 100644
index 0000000..fabb945
Binary files /dev/null and b/pixmaps/serial.png differ
diff --git a/pixmaps/upload.png b/pixmaps/upload.png
new file mode 100644
index 0000000..e3f8c37
Binary files /dev/null and b/pixmaps/upload.png differ
diff --git a/pixmaps/verify.png b/pixmaps/verify.png
new file mode 100644
index 0000000..bcb646d
Binary files /dev/null and b/pixmaps/verify.png differ
diff --git a/scripts/gen-pixmaps.sh b/scripts/gen-pixmaps.sh
index 40b78e4..1648b3b 100755
--- a/scripts/gen-pixmaps.sh
+++ b/scripts/gen-pixmaps.sh
@@ -1,10 +1,5 @@
 #!/bin/sh
 
-for F in `ls pixmaps/*.svg | grep -v gnoduino`
-do
-    rsvg-convert --format=png --width=25 --height=25 -o `echo ${F} | sed -e 's#.svg#.png#'` ${F}
-done
-
 for F in `ls pixmaps/*.svg | grep gnoduino`
 do
     rsvg-convert --format=png --width=48 --height=48 -o `echo ${F} | sed -e 's#.svg#.png#'` ${F}
diff --git a/src/ui.py b/src/ui.py
index 2a31441..7990500 100644
--- a/src/ui.py
+++ b/src/ui.py
@@ -581,14 +581,13 @@ def serSendTextButton(w, data=None):
 	serSendText(data, None)
 
 buttons = [
-		("compile", "compile.png", compile),
-		("stop", "stop.png", stop),
+		("verify", "verify.png", compile),
+		("upload", "upload.png", None),
 
 		("open", "open.png", copen),
 		("new", "new.png", cnew),
-
 		("save", "save.png", butSave),
-		("upload", "upload.png", None),
+
 		("serial", "serial.png", None)
 	]
 
diff --git a/ui/main.ui b/ui/main.ui
index e9131ce..55f7651 100644
--- a/ui/main.ui
+++ b/ui/main.ui
@@ -928,11 +928,11 @@ Pascal de Bruijn &lt;pmjdebruijn pcode nl&gt;</property>
             <property name="can_focus">False</property>
             <property name="toolbar_style">icons</property>
             <child>
-              <object class="GtkToolButton" id="compile">
+              <object class="GtkToolButton" id="verify">
                 <property name="use_action_appearance">False</property>
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="tooltip_markup">Compile</property>
+                <property name="tooltip_markup">Verify/Compile</property>
                 <property name="use_action_appearance">False</property>
                 <property name="is_important">True</property>
                 <property name="label" translatable="yes">Compile</property>
@@ -944,13 +944,13 @@ Pascal de Bruijn &lt;pmjdebruijn pcode nl&gt;</property>
               </packing>
             </child>
             <child>
-              <object class="GtkToolButton" id="stop">
+              <object class="GtkToolButton" id="upload">
                 <property name="use_action_appearance">False</property>
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="tooltip_text" translatable="yes">Stop</property>
+                <property name="tooltip_text" translatable="yes">Upload</property>
                 <property name="use_action_appearance">False</property>
-                <property name="label" translatable="yes">Stop</property>
+                <property name="label" translatable="yes">Upload</property>
                 <property name="use_underline">True</property>
               </object>
               <packing>
@@ -1014,21 +1014,6 @@ Pascal de Bruijn &lt;pmjdebruijn pcode nl&gt;</property>
               </packing>
             </child>
             <child>
-              <object class="GtkToolButton" id="upload">
-                <property name="use_action_appearance">False</property>
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="tooltip_text" translatable="yes">Upload</property>
-                <property name="use_action_appearance">False</property>
-                <property name="label" translatable="yes">Upload</property>
-                <property name="use_underline">True</property>
-              </object>
-              <packing>
-                <property name="expand">False</property>
-                <property name="homogeneous">True</property>
-              </packing>
-            </child>
-            <child>
               <object class="GtkSeparatorToolItem" id="toolbutton3">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>



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