[longomatch] Include category name in menu
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Include category name in menu
- Date: Mon, 7 Jul 2014 11:24:41 +0000 (UTC)
commit d4dca7df9d739a2713973e386076c153f535faeb
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed May 28 17:04:12 2014 +0200
Include category name in menu
LongoMatch.GUI/Gui/Component/Timeline.cs | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/Timeline.cs b/LongoMatch.GUI/Gui/Component/Timeline.cs
index 2faa4c3..82b94a4 100644
--- a/LongoMatch.GUI/Gui/Component/Timeline.cs
+++ b/LongoMatch.GUI/Gui/Component/Timeline.cs
@@ -107,7 +107,7 @@ namespace LongoMatch.Gui.Component
timeline.TimeNodeChanged += HandleTimeNodeChanged;
timeline.TimeNodeSelected += HandleTimeNodeSelected;
- timeline.ShowMenu += HandleShowMenu;
+ timeline.ShowMenuEvent += HandleShowMenu;
QueueDraw ();
}
@@ -175,7 +175,8 @@ namespace LongoMatch.Gui.Component
menu = new Menu();
- newPlay = new MenuItem(Catalog.GetString("Add new play"));
+ newPlay = new MenuItem(String.Format ("{0} in {1}",
+ Catalog.GetString("Add new play"), cat.Name));
menu.Append(newPlay);
newPlay.Activated += (sender, e) => {EmitNewPlay (cat, time);};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]