[longomatch] Load the image in the VS widget using our helper to ensure aspect in all platforms.



commit 705152be8cc2f741e8592af94b0acbf99e39a640
Author: Julien Moutte <julien fluendo com>
Date:   Sun Sep 7 02:36:29 2014 +0200

    Load the image in the VS widget using our helper to ensure aspect in all platforms.

 LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs        |    1 +
 .../LongoMatch.Gui.Panel.NewProjectPanel.cs        |    1 -
 LongoMatch.GUI/gtk-gui/gui.stetic                  |    1 -
 3 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs b/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs
index faf9beb..64c10ea 100644
--- a/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs
@@ -126,6 +126,7 @@ namespace LongoMatch.Gui.Panel
                        captureimage.Pixbuf = Helpers.Misc.LoadIcon ("longomatch-video-device", s, f);
                        fakeimage.Pixbuf = Helpers.Misc.LoadIcon ("longomatch-video-device-fake", s, f);
                        ipimage.Pixbuf = Helpers.Misc.LoadIcon ("longomatch-video-device-ip", s, f);
+                       vsimage.Pixbuf = Helpers.Misc.LoadIcon ("longomatch-vs", 50, f);
 
                        filebutton.Clicked += HandleProjectTypeSet;
                        capturebutton.Clicked += HandleProjectTypeSet;
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.NewProjectPanel.cs 
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.NewProjectPanel.cs
index c9755d2..529e7c6 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.NewProjectPanel.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.NewProjectPanel.cs
@@ -385,7 +385,6 @@ namespace LongoMatch.Gui.Panel
                        // Container child hbox15.Gtk.Box+BoxChild
                        this.vsimage = new global::Gtk.Image ();
                        this.vsimage.Name = "vsimage";
-                       this.vsimage.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "longomatch-vs", 
global::Gtk.IconSize.Dialog);
                        this.hbox15.Add (this.vsimage);
                        global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox15 
[this.vsimage]));
                        w33.Position = 1;
diff --git a/LongoMatch.GUI/gtk-gui/gui.stetic b/LongoMatch.GUI/gtk-gui/gui.stetic
index aa92e93..43d75b0 100644
--- a/LongoMatch.GUI/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI/gtk-gui/gui.stetic
@@ -6971,7 +6971,6 @@ You can continue with the current capture, cancel it or save your project.
                                 <child>
                                   <widget class="Gtk.Image" id="vsimage">
                                     <property name="MemberName" />
-                                    <property name="Pixbuf">stock:longomatch-vs Dialog</property>
                                   </widget>
                                   <packing>
                                     <property name="Position">1</property>


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