[longomatch] Add icons to new project selection dialog



commit 46fac0e42d18ba04009088327a118566f0e6bf5c
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sat Mar 20 02:29:29 2010 +0100

    Add icons to new project selection dialog

 LongoMatch/LongoMatch.mdp                          |    2 ++
 LongoMatch/Makefile.am                             |    4 +++-
 .../LongoMatch.Gui.Dialog.NewProjectDialog.cs      |    2 +-
 LongoMatch/gtk-gui/gui.stetic                      |   14 ++++++++------
 LongoMatch/images/camera-video.png                 |  Bin 0 -> 1660 bytes
 LongoMatch/images/video.png                        |  Bin 0 -> 2044 bytes
 Makefile.win32                                     |    5 ++++-
 7 files changed, 18 insertions(+), 9 deletions(-)
---
diff --git a/LongoMatch/LongoMatch.mdp b/LongoMatch/LongoMatch.mdp
index 177552e..88811f3 100644
--- a/LongoMatch/LongoMatch.mdp
+++ b/LongoMatch/LongoMatch.mdp
@@ -183,6 +183,8 @@
     <File name="gtk-gui/LongoMatch.Gui.Dialog.EndCaptureDialog.cs" subtype="Code" buildaction="Compile" />
     <File name="Utils" subtype="Directory" buildaction="Compile" />
     <File name="Utils/ProjectUtils.cs" subtype="Code" buildaction="Compile" />
+    <File name="images/camera-video.png" subtype="Code" buildaction="EmbedAsResource" />
+    <File name="images/video.png" subtype="Code" buildaction="EmbedAsResource" />
   </Contents>
   <References>
     <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
diff --git a/LongoMatch/Makefile.am b/LongoMatch/Makefile.am
index 679028a..08da8ff 100644
--- a/LongoMatch/Makefile.am
+++ b/LongoMatch/Makefile.am
@@ -228,7 +228,9 @@ RESOURCES = \
 	images/stock_draw-circle-unfilled.png\
 	images/stock_draw-line-ends-with-arrow.png\
 	images/stock_draw-rectangle-unfilled.png\
-	images/stock_draw-freeform-line.png 
+	images/stock_draw-freeform-line.png\
+	images/camera-video.png\
+	images/video.png 
 
 EXTRAS = \
 	images/longomatch.png\
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.NewProjectDialog.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.NewProjectDialog.cs
index 8d4e917..89d289e 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.NewProjectDialog.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.NewProjectDialog.cs
@@ -79,7 +79,7 @@ namespace LongoMatch.Gui.Dialog {
             if ((this.Child != null)) {
                 this.Child.ShowAll();
             }
-            this.DefaultWidth = 382;
+            this.DefaultWidth = 384;
             this.DefaultHeight = 451;
             this.Show();
         }
diff --git a/LongoMatch/gtk-gui/gui.stetic b/LongoMatch/gtk-gui/gui.stetic
index f7e7e5d..58c954d 100644
--- a/LongoMatch/gtk-gui/gui.stetic
+++ b/LongoMatch/gtk-gui/gui.stetic
@@ -1150,7 +1150,7 @@
       </widget>
     </child>
   </widget>
-  <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.NewProjectDialog" design-size="382 451">
+  <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.NewProjectDialog" design-size="384 451">
     <property name="MemberName" />
     <property name="Title" translatable="yes">New Project</property>
     <property name="Icon">stock:longomatch Dialog</property>
@@ -5321,7 +5321,7 @@ You can add new tags using the text entry and clicking "Add Tag"</property>
       </widget>
     </child>
   </widget>
-  <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.ProjectSelectionDialog" design-size="400 186">
+  <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.ProjectSelectionDialog" design-size="355 138">
     <property name="MemberName" />
     <property name="Title" translatable="yes">New Project</property>
     <property name="Icon">stock:longomatch Menu</property>
@@ -5345,6 +5345,7 @@ You can add new tags using the text entry and clicking "Add Tag"</property>
                 <child>
                   <widget class="Gtk.Image" id="image61">
                     <property name="MemberName" />
+                    <property name="Pixbuf">resource:video.png</property>
                   </widget>
                   <packing>
                     <property name="Position">0</property>
@@ -5356,6 +5357,7 @@ You can add new tags using the text entry and clicking "Add Tag"</property>
                 <child>
                   <widget class="Gtk.Label" id="label1">
                     <property name="MemberName" />
+                    <property name="Xalign">0</property>
                     <property name="LabelProp" translatable="yes">New project using a video file</property>
                   </widget>
                   <packing>
@@ -5368,7 +5370,6 @@ You can add new tags using the text entry and clicking "Add Tag"</property>
                     <property name="MemberName" />
                     <property name="CanFocus">True</property>
                     <property name="Label" translatable="yes" />
-                    <property name="Active">True</property>
                     <property name="DrawIndicator">True</property>
                     <property name="HasLabel">False</property>
                     <property name="UseUnderline">True</property>
@@ -5400,6 +5401,7 @@ You can add new tags using the text entry and clicking "Add Tag"</property>
                 <child>
                   <widget class="Gtk.Image" id="image62">
                     <property name="MemberName" />
+                    <property name="Pixbuf">resource:camera-video.png</property>
                   </widget>
                   <packing>
                     <property name="Position">0</property>
@@ -5411,6 +5413,7 @@ You can add new tags using the text entry and clicking "Add Tag"</property>
                 <child>
                   <widget class="Gtk.Label" id="label2">
                     <property name="MemberName" />
+                    <property name="Xalign">0</property>
                     <property name="LabelProp" translatable="yes">Live project using a fake capture device</property>
                   </widget>
                   <packing>
@@ -5446,13 +5449,12 @@ You can add new tags using the text entry and clicking "Add Tag"</property>
                 <property name="Fill">False</property>
               </packing>
             </child>
-            <child>
-              <placeholder />
-            </child>
           </widget>
           <packing>
             <property name="Position">0</property>
             <property name="AutoSize">True</property>
+            <property name="Expand">False</property>
+            <property name="Fill">False</property>
           </packing>
         </child>
       </widget>
diff --git a/LongoMatch/images/camera-video.png b/LongoMatch/images/camera-video.png
new file mode 100644
index 0000000..7473dd7
Binary files /dev/null and b/LongoMatch/images/camera-video.png differ
diff --git a/LongoMatch/images/video.png b/LongoMatch/images/video.png
new file mode 100644
index 0000000..5d6c8d1
Binary files /dev/null and b/LongoMatch/images/video.png differ
diff --git a/Makefile.win32 b/Makefile.win32
index 7346f70..81329ff 100644
--- a/Makefile.win32
+++ b/Makefile.win32
@@ -262,7 +262,10 @@ LONGOMATCH_RESOURCES = \
 	-resource:./images/stock_draw-circle-unfilled.png,stock_draw-circle-unfilled.png\
 	-resource:./images/stock_draw-line-ends-with-arrow.png,stock_draw-line-ends-with-arrow.png\
 	-resource:./images/stock_draw-rectangle-unfilled.png,stock_draw-rectangle-unfilled.png\
-	-resource:./images/stock_draw-freeform-line.png,stock_draw-freeform-line.png
+	-resource:./images/stock_draw-freeform-line.png,stock_draw-freeform-line.png\
+	-resource:./images/camera-video.png,camera-video.png\
+	-resource:./images/video.png,video.png\
+
 
 LONGOMATCH_REFERENCES = \
 	-r:Mono.Posix \



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