[chronojump] small code clean
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] small code clean
- Date: Mon, 7 Jan 2013 12:40:34 +0000 (UTC)
commit 1c84823f86749e589e1b7872071dba06c2a5dbc0
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Jan 7 13:40:18 2013 +0100
small code clean
src/execute/event.cs | 17 -----------------
src/gui/eventExecute.cs | 1 -
2 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/src/execute/event.cs b/src/execute/event.cs
index 84f7618..c9bfd3b 100644
--- a/src/execute/event.cs
+++ b/src/execute/event.cs
@@ -317,21 +317,10 @@ public class EventExecute
if(needShowCountDown)
{
feedbackMessage = countDownMessage();
- //egd.Textview_message.Buffer = UtilGtk.TextViewPrint(feedbackMessage);
UtilGtk.PrintLabelWithTooltip(egd.Label_message, feedbackMessage);
- /*
- egd.Label_message.Text = feedbackMessage;
- egd.Label_message.UseMarkup = true;
- egd.Label_message.TooltipText = feedbackMessage;
- */
}
else if(needShowFeedbackMessage)
{
- //egd.Textview_message.Buffer = UtilGtk.TextViewPrint(feedbackMessage);
- /*
- egd.Label_message.Text = feedbackMessage;
- egd.Label_message.TooltipText = feedbackMessage;
- */
UtilGtk.PrintLabelWithTooltip(egd.Label_message, feedbackMessage);
needShowFeedbackMessage = false;
}
@@ -346,17 +335,11 @@ public class EventExecute
private void runATouchPlatform() {
string message = Catalog.GetString("Always remember to touch platform at ending. If you don't do it, Chronojump will crash at next execution.");
- //egd.Textview_message.Buffer = UtilGtk.TextViewPrint(message);
-// egd.Label_message.Text = message;
-// egd.Label_message.TooltipText = feedbackMessage;
UtilGtk.PrintLabelWithTooltip(egd.Label_message, feedbackMessage);
}
public void RunANoStrides() {
string message = Catalog.GetString("This Run Analysis is not valid because there are no strides.");
- //egd.Textview_message.Buffer = UtilGtk.TextViewPrint(message);
-// egd.Label_message.Text = message;
-// egd.Label_message.TooltipText = feedbackMessage;
UtilGtk.PrintLabelWithTooltip(egd.Label_message, feedbackMessage);
}
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index 00ce3e3..efba144 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -218,7 +218,6 @@ public partial class ChronoJumpWindow
event_graph_label_graph_person.Text = personName;
event_graph_label_graph_test.Text = event_execute_eventType;
- //event_execute_textview_message.Buffer = UtilGtk.TextViewPrint("");
event_execute_label_message.Text = "";
//this.event_execute_personName.Text = event_execute_personName; //"Jumps" (rjInterval), "Runs" (runInterval), "Ticks" (pulses),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]