[longomatch] Use stetic to load the icon
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Use stetic to load the icon
- Date: Sun, 18 Dec 2011 21:43:10 +0000 (UTC)
commit 87075e51a8789da541b3bddd1220159deba7872d
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sun Dec 11 23:36:44 2011 +0100
Use stetic to load the icon
LongoMatch.GUI/Gui/GUIToolkit.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/GUIToolkit.cs b/LongoMatch.GUI/Gui/GUIToolkit.cs
index 3845287..098fc89 100644
--- a/LongoMatch.GUI/Gui/GUIToolkit.cs
+++ b/LongoMatch.GUI/Gui/GUIToolkit.cs
@@ -65,7 +65,7 @@ namespace LongoMatch.Gui
public bool QuestionMessage(string question, string title) {
MessageDialog md = new MessageDialog(mainWindow as Gtk.Window, DialogFlags.Modal,
MessageType.Question, Gtk.ButtonsType.YesNo, question);
- md.Icon = Gtk.IconTheme.Default.LoadIcon("longomatch", 48, 0);
+ md.Icon = Stetic.IconLoader.LoadIcon(mainWindow as Widget, "longomatch", IconSize.Button);
var res = md.Run();
md.Destroy();
return (res == (int)ResponseType.Yes);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]