[longomatch] Rename methods for clarity.



commit 588623f1ec25bcab4a44e146ee366a43c24ea101
Author: Julien Moutte <julien fluendo com>
Date:   Fri Apr 10 16:08:53 2015 +0200

    Rename methods for clarity.

 LongoMatch.Core/Common/EventsBroker.cs       |    2 +-
 LongoMatch.GUI/Gui/Component/CodingWidget.cs |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch.Core/Common/EventsBroker.cs b/LongoMatch.Core/Common/EventsBroker.cs
index ece96a7..fa2d023 100644
--- a/LongoMatch.Core/Common/EventsBroker.cs
+++ b/LongoMatch.Core/Common/EventsBroker.cs
@@ -103,7 +103,7 @@ namespace LongoMatch.Core.Common
                                NewTagEvent (eventType, players, team, tags, start, stop, eventTime, score, 
card);
                }
 
-               public void EmitNewEvent (TimelineEvent evt)
+               public void EmitNewDashboardEvent (TimelineEvent evt)
                {
                        if (NewTimelineEventEvent != null)
                                NewTimelineEventEvent (evt);
diff --git a/LongoMatch.GUI/Gui/Component/CodingWidget.cs b/LongoMatch.GUI/Gui/Component/CodingWidget.cs
index 7d44b4a..aee2826 100644
--- a/LongoMatch.GUI/Gui/Component/CodingWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/CodingWidget.cs
@@ -342,7 +342,7 @@ namespace LongoMatch.Gui.Component
                        play.Tags = tags ?? new List<Tag> ();
                        teamtagger.ResetSelection ();
                        selectedPlayers = null;
-                       Config.EventsBroker.EmitNewEvent (play);
+                       Config.EventsBroker.EmitNewDashboardEvent (play);
                }
 
                void HandlePlayersSubstitutionEvent (Team team, Player p1, Player p2,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]