[longomatch] Use icons logo instead of from resources
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Use icons logo instead of from resources
- Date: Wed, 24 Sep 2014 20:23:12 +0000 (UTC)
commit 8d6c2d92f20266c288956a420a52963e8568c581
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Thu Sep 4 21:17:33 2014 +0200
Use icons logo instead of from resources
LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
b/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
index a3f01a9..16ee74f 100644
--- a/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
@@ -94,12 +94,14 @@ namespace LongoMatch.Gui.Panel
if (lt.Shield != null) {
homeimage.Pixbuf = lt.Shield.Value;
} else {
- homeimage.Pixbuf = Gdk.Pixbuf.LoadFromResource ("logo.svg");
+ homeimage.Pixbuf = Helpers.Misc.LoadIcon (Constants.LOGO_ICON,
+ Constants.MAX_SHIELD_ICON_SIZE);
}
if (vt.Shield != null) {
awayimage.Pixbuf = vt.Shield.Value;
} else {
- awayimage.Pixbuf = Gdk.Pixbuf.LoadFromResource ("logo.svg");
+ awayimage.Pixbuf = Helpers.Misc.LoadIcon (Constants.LOGO_ICON,
+ Constants.MAX_SHIELD_ICON_SIZE);
}
loadedProject = project;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]