[longomatch] Add longomatch icon back
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Add longomatch icon back
- Date: Sun, 15 Apr 2012 19:00:29 +0000 (UTC)
commit 64d4aab7627fe37361e8bbab9032279d00d87c83
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sun Apr 15 20:58:04 2012 +0200
Add longomatch icon back
LongoMatch.GUI/gtk-gui/generated.cs | 4 ++++
LongoMatch.GUI/gtk-gui/gui.stetic | 7 +++++++
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/gtk-gui/generated.cs b/LongoMatch.GUI/gtk-gui/generated.cs
index a6e0af4..3dabaaf 100644
--- a/LongoMatch.GUI/gtk-gui/generated.cs
+++ b/LongoMatch.GUI/gtk-gui/generated.cs
@@ -10,6 +10,10 @@ namespace Stetic
{
if ((Stetic.Gui.initialized == false)) {
Stetic.Gui.initialized = true;
+ global::Gtk.IconFactory w1 = new global::Gtk.IconFactory ();
+ global::Gtk.IconSet w2 = new global::Gtk.IconSet (global::Gdk.Pixbuf.LoadFromResource ("longomatch.png"));
+ w1.Add ("longomatch", w2);
+ w1.AddDefault ();
}
}
}
diff --git a/LongoMatch.GUI/gtk-gui/gui.stetic b/LongoMatch.GUI/gtk-gui/gui.stetic
index 4ea6459..5084a80 100644
--- a/LongoMatch.GUI/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI/gtk-gui/gui.stetic
@@ -9,6 +9,13 @@
<widget-library name="../../bin/LongoMatch.Multimedia.dll" />
<widget-library name="../../bin/LongoMatch.Gui.dll" internal="true" />
</import>
+ <icon-factory>
+ <icon-set id="longomatch">
+ <source>
+ <property name="Image">resource:longomatch.png</property>
+ </source>
+ </icon-set>
+ </icon-factory>
<widget class="Gtk.Bin" id="LongoMatch.Gui.Component.ProjectDetailsWidget" design-size="378 268">
<property name="MemberName" />
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]