[longomatch/newui: 27/50] Use the logo from the icons instead of the resource



commit 52499a67787198d93b2f500e2ec51920ebaf085f
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Wed Aug 20 11:36:57 2014 +0200

    Use the logo from the icons instead of the resource

 .../LongoMatch.Gui.Dialog.DatabasesManager.cs      |    2 +-
 .../gtk-gui/LongoMatch.Gui.Dialog.DrawingTool.cs   |    2 +-
 .../LongoMatch.Gui.Dialog.EditCategoryDialog.cs    |    2 +-
 .../LongoMatch.Gui.Dialog.RenderingJobsDialog.cs   |    2 +-
 .../LongoMatch.Gui.Dialog.ShortcutsHelpDialog.cs   |    2 +-
 .../gtk-gui/LongoMatch.Gui.Dialog.StatsViewer.cs   |    2 +-
 .../LongoMatch.Gui.Dialog.VideoConversionTool.cs   |    2 +-
 LongoMatch.GUI/gtk-gui/gui.stetic                  |   14 +++++++-------
 8 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.DatabasesManager.cs 
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.DatabasesManager.cs
index 50fab5e..88add80 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.DatabasesManager.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.DatabasesManager.cs
@@ -22,7 +22,7 @@ namespace LongoMatch.Gui.Dialog
                        // Widget LongoMatch.Gui.Dialog.DatabasesManager
                        this.Name = "LongoMatch.Gui.Dialog.DatabasesManager";
                        this.Title = global::Mono.Unix.Catalog.GetString ("Databases manager");
-                       this.Icon = global::Gdk.Pixbuf.LoadFromResource ("logo.svg");
+                       this.Icon = global::Stetic.IconLoader.LoadIcon (this, "longomatch", 
global::Gtk.IconSize.Menu);
                        this.WindowPosition = ((global::Gtk.WindowPosition)(4));
                        this.Modal = true;
                        this.Gravity = ((global::Gdk.Gravity)(5));
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.DrawingTool.cs 
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.DrawingTool.cs
index cd400e9..cd6491f 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.DrawingTool.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.DrawingTool.cs
@@ -59,7 +59,7 @@ namespace LongoMatch.Gui.Dialog
                        // Widget LongoMatch.Gui.Dialog.DrawingTool
                        this.Name = "LongoMatch.Gui.Dialog.DrawingTool";
                        this.Title = global::Mono.Unix.Catalog.GetString ("Drawing Tool");
-                       this.Icon = global::Gdk.Pixbuf.LoadFromResource ("logo.svg");
+                       this.Icon = global::Stetic.IconLoader.LoadIcon (this, "longomatch", 
global::Gtk.IconSize.Menu);
                        this.WindowPosition = ((global::Gtk.WindowPosition)(4));
                        this.Modal = true;
                        this.Gravity = ((global::Gdk.Gravity)(5));
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.EditCategoryDialog.cs 
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.EditCategoryDialog.cs
index 67db6f5..12b87a9 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.EditCategoryDialog.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.EditCategoryDialog.cs
@@ -13,7 +13,7 @@ namespace LongoMatch.Gui.Dialog
                        // Widget LongoMatch.Gui.Dialog.EditCategoryDialog
                        this.Name = "LongoMatch.Gui.Dialog.EditCategoryDialog";
                        this.Title = global::Mono.Unix.Catalog.GetString ("Category Details");
-                       this.Icon = global::Gdk.Pixbuf.LoadFromResource ("logo.svg");
+                       this.Icon = global::Stetic.IconLoader.LoadIcon (this, "longomatch", 
global::Gtk.IconSize.Menu);
                        this.WindowPosition = ((global::Gtk.WindowPosition)(4));
                        this.Modal = true;
                        // Internal child LongoMatch.Gui.Dialog.EditCategoryDialog.VBox
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.RenderingJobsDialog.cs 
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.RenderingJobsDialog.cs
index 01a8141..6d75f57 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.RenderingJobsDialog.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.RenderingJobsDialog.cs
@@ -18,7 +18,7 @@ namespace LongoMatch.Gui.Dialog
                        global::Stetic.Gui.Initialize (this);
                        // Widget LongoMatch.Gui.Dialog.RenderingJobsDialog
                        this.Name = "LongoMatch.Gui.Dialog.RenderingJobsDialog";
-                       this.Icon = global::Gdk.Pixbuf.LoadFromResource ("logo.svg");
+                       this.Icon = global::Stetic.IconLoader.LoadIcon (this, "longomatch", 
global::Gtk.IconSize.Menu);
                        this.WindowPosition = ((global::Gtk.WindowPosition)(4));
                        this.Modal = true;
                        this.Gravity = ((global::Gdk.Gravity)(5));
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.ShortcutsHelpDialog.cs 
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.ShortcutsHelpDialog.cs
index 75b08ef..43ba948 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.ShortcutsHelpDialog.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.ShortcutsHelpDialog.cs
@@ -15,7 +15,7 @@ namespace LongoMatch.Gui.Dialog
                        global::Stetic.Gui.Initialize (this);
                        // Widget LongoMatch.Gui.Dialog.ShortcutsHelpDialog
                        this.Name = "LongoMatch.Gui.Dialog.ShortcutsHelpDialog";
-                       this.Icon = global::Gdk.Pixbuf.LoadFromResource ("logo.svg");
+                       this.Icon = global::Stetic.IconLoader.LoadIcon (this, "longomatch", 
global::Gtk.IconSize.Menu);
                        this.WindowPosition = ((global::Gtk.WindowPosition)(4));
                        this.Modal = true;
                        this.SkipPagerHint = true;
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.StatsViewer.cs 
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.StatsViewer.cs
index ab189a9..f4665df 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.StatsViewer.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.StatsViewer.cs
@@ -19,7 +19,7 @@ namespace LongoMatch.Gui.Dialog
                        // Widget LongoMatch.Gui.Dialog.StatsViewer
                        this.Name = "LongoMatch.Gui.Dialog.StatsViewer";
                        this.Title = global::Mono.Unix.Catalog.GetString ("Stats");
-                       this.Icon = global::Gdk.Pixbuf.LoadFromResource ("logo.svg");
+                       this.Icon = global::Stetic.IconLoader.LoadIcon (this, "longomatch", 
global::Gtk.IconSize.Menu);
                        this.TypeHint = ((global::Gdk.WindowTypeHint)(5));
                        this.WindowPosition = ((global::Gtk.WindowPosition)(3));
                        this.Modal = true;
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.VideoConversionTool.cs 
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.VideoConversionTool.cs
index 6ab549a..811986b 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.VideoConversionTool.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.VideoConversionTool.cs
@@ -29,7 +29,7 @@ namespace LongoMatch.Gui.Dialog
                        // Widget LongoMatch.Gui.Dialog.VideoConversionTool
                        this.Name = "LongoMatch.Gui.Dialog.VideoConversionTool";
                        this.Title = global::Mono.Unix.Catalog.GetString ("Video converter tool");
-                       this.Icon = global::Gdk.Pixbuf.LoadFromResource ("logo.svg");
+                       this.Icon = global::Stetic.IconLoader.LoadIcon (this, "longomatch", 
global::Gtk.IconSize.Menu);
                        this.WindowPosition = ((global::Gtk.WindowPosition)(4));
                        this.Modal = true;
                        this.DestroyWithParent = true;
diff --git a/LongoMatch.GUI/gtk-gui/gui.stetic b/LongoMatch.GUI/gtk-gui/gui.stetic
index 3a7d6cd..fecbe6e 100644
--- a/LongoMatch.GUI/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI/gtk-gui/gui.stetic
@@ -2772,7 +2772,7 @@ Hotkeys with a single key are also allowed with Ctrl+key.</property>
   <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.EditCategoryDialog" design-size="522 538">
     <property name="MemberName" />
     <property name="Title" translatable="yes">Category Details</property>
-    <property name="Icon">resource:logo.svg</property>
+    <property name="Icon">stock:longomatch Menu</property>
     <property name="WindowPosition">CenterOnParent</property>
     <property name="Modal">True</property>
     <property name="Buttons">1</property>
@@ -2823,7 +2823,7 @@ Hotkeys with a single key are also allowed with Ctrl+key.</property>
   <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.DrawingTool" design-size="977 863">
     <property name="MemberName" />
     <property name="Title" translatable="yes">Drawing Tool</property>
-    <property name="Icon">resource:logo.svg</property>
+    <property name="Icon">stock:longomatch Menu</property>
     <property name="WindowPosition">CenterOnParent</property>
     <property name="Modal">True</property>
     <property name="Gravity">Center</property>
@@ -3813,7 +3813,7 @@ You can continue with the current capture, cancel it or save your project.
   </widget>
   <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.RenderingJobsDialog" design-size="400 212">
     <property name="MemberName" />
-    <property name="Icon">resource:logo.svg</property>
+    <property name="Icon">stock:longomatch Menu</property>
     <property name="WindowPosition">CenterOnParent</property>
     <property name="Modal">True</property>
     <property name="Gravity">Center</property>
@@ -4125,7 +4125,7 @@ You can continue with the current capture, cancel it or save your project.
   </widget>
   <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.ShortcutsHelpDialog" design-size="538 248">
     <property name="MemberName" />
-    <property name="Icon">resource:logo.svg</property>
+    <property name="Icon">stock:longomatch Menu</property>
     <property name="WindowPosition">CenterOnParent</property>
     <property name="Modal">True</property>
     <property name="SkipPagerHint">True</property>
@@ -4234,7 +4234,7 @@ You can continue with the current capture, cancel it or save your project.
   <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.VideoConversionTool" design-size="400 300">
     <property name="MemberName" />
     <property name="Title" translatable="yes">Video converter tool</property>
-    <property name="Icon">resource:logo.svg</property>
+    <property name="Icon">stock:longomatch Menu</property>
     <property name="WindowPosition">CenterOnParent</property>
     <property name="Modal">True</property>
     <property name="DestroyWithParent">True</property>
@@ -4486,7 +4486,7 @@ You can continue with the current capture, cancel it or save your project.
   <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.DatabasesManager" design-size="400 300">
     <property name="MemberName" />
     <property name="Title" translatable="yes">Databases manager</property>
-    <property name="Icon">resource:logo.svg</property>
+    <property name="Icon">stock:longomatch Menu</property>
     <property name="WindowPosition">CenterOnParent</property>
     <property name="Modal">True</property>
     <property name="Gravity">Center</property>
@@ -5753,7 +5753,7 @@ You can continue with the current capture, cancel it or save your project.
   <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.StatsViewer" design-size="1167 619">
     <property name="MemberName" />
     <property name="Title" translatable="yes">Stats</property>
-    <property name="Icon">resource:logo.svg</property>
+    <property name="Icon">stock:longomatch Menu</property>
     <property name="TypeHint">Utility</property>
     <property name="WindowPosition">CenterAlways</property>
     <property name="Modal">True</property>


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