[longomatch] We need to use a widget that already has a style to find stock.
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] We need to use a widget that already has a style to find stock.
- Date: Wed, 11 Feb 2015 23:47:51 +0000 (UTC)
commit de141ab7996f5afb59449470c669dcd0c70b6379
Author: Julien Moutte <julien fluendo com>
Date: Wed Feb 11 18:19:15 2015 +0100
We need to use a widget that already has a style to find stock.
LongoMatch.GUI/Gui/Dialog/EventTypeTagsEditor.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Dialog/EventTypeTagsEditor.cs
b/LongoMatch.GUI/Gui/Dialog/EventTypeTagsEditor.cs
index cab92e0..203224c 100644
--- a/LongoMatch.GUI/Gui/Dialog/EventTypeTagsEditor.cs
+++ b/LongoMatch.GUI/Gui/Dialog/EventTypeTagsEditor.cs
@@ -204,7 +204,7 @@ namespace LongoMatch.Gui.Dialog
{
Button b = new Button ();
Alignment a = new Alignment (0.5F, 0.5F, 0F, 0F);
- Gtk.Image i = new Gtk.Image (Misc.LoadStockIcon (b, name, IconSize.Button));
+ Gtk.Image i = new Gtk.Image (Misc.LoadStockIcon (this, name, IconSize.Button));
a.Add (i);
b.Add (a);
return b;
@@ -213,7 +213,7 @@ namespace LongoMatch.Gui.Dialog
Button CreateButton (string s, IconSize size)
{
Button b = new Button ();
- Gtk.Image i = new Gtk.Image (Misc.LoadStockIcon (b, "gtk-add", size));
+ Gtk.Image i = new Gtk.Image (Misc.LoadStockIcon (this, "gtk-add", size));
Label l = new Label (s);
HBox box = new HBox ();
box.PackStart (i, false, false, 5);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]