[longomatch/newui: 149/157] Make sure the tagproperties widget is not sensitive when the Template changes. It should only be ree
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/newui: 149/157] Make sure the tagproperties widget is not sensitive when the Template changes. It should only be ree
- Date: Mon, 1 Sep 2014 09:53:54 +0000 (UTC)
commit 8a7df28e9cc0c626918b023b10824a33e2cb0ea9
Author: Julien Moutte <julien fluendo com>
Date: Fri Aug 29 18:13:06 2014 +0200
Make sure the tagproperties widget is not sensitive when the Template changes. It should only be
reenabled when something gets selected.
LongoMatch.GUI/Gui/Component/DashboardWidget.cs | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/DashboardWidget.cs b/LongoMatch.GUI/Gui/Component/DashboardWidget.cs
index 87c3b59..ade0b00 100644
--- a/LongoMatch.GUI/Gui/Component/DashboardWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/DashboardWidget.cs
@@ -137,6 +137,8 @@ namespace LongoMatch.Gui.Component
hfieldimage.Pixbuf = value.HalfFieldBackground.Scale (50, 50).Value;
goalimage.Pixbuf = value.GoalBackground.Scale (50, 50).Value;
Edited = false;
+ // Start with disabled widget until something get selected
+ tagproperties.Sensitive = false;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]