[chronojump] Showing inspector messages on runSimple and runIntervallic
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Showing inspector messages on runSimple and runIntervallic
- Date: Wed, 3 Nov 2021 15:43:34 +0000 (UTC)
commit 4e4303372f158e5764b6d72b187d0f6b320147d6
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Nov 3 12:43:16 2021 -0300
Showing inspector messages on runSimple and runIntervallic
glade/app1.glade | 32 ++++++++++++++++++++++++++++++++
src/gui/app1/chronojump.cs | 10 +---------
src/gui/eventExecute.cs | 1 +
3 files changed, 34 insertions(+), 9 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index cbbf19e66..ff6abf58f 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -15976,6 +15976,7 @@ Resisted race analyzer</property>
<widget class="GtkVBox" id="vbox127">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="spacing">12</property>
<child>
<widget class="GtkDrawingArea"
id="event_execute_drawingarea_run_simple_double_contacts">
<property name="height_request">20</property>
@@ -15989,6 +15990,37 @@ Resisted race analyzer</property>
<property name="position">0</property>
</packing>
</child>
+ <child>
+ <widget class="GtkScrolledWindow"
id="scrolledwindow28">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property
name="hscrollbar_policy">automatic</property>
+ <property
name="vscrollbar_policy">automatic</property>
+ <child>
+ <widget class="GtkViewport" id="viewport25">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <widget class="GtkLabel"
id="label_run_simple_double_contacts">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="xalign">0</property>
+ <property name="xpad">4</property>
+ <property name="ypad">4</property>
+ <property name="use_markup">True</property>
+ <property name="wrap">True</property>
+ <property name="selectable">True</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
</widget>
</child>
</widget>
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 7331dc8b5..adfcde804 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -6496,12 +6496,6 @@ LogB.Debug("mc finished 5");
if(currentEventExecute == null)
return;
- /*
- new DialogMessage("Chronojump " + Catalog.GetString("Inspector"),
- Constants.MessageTypes.INSPECT, currentEventExecute.GetInspectorMessages(),
- true); //show scrolledwindow vertical bar
- */
-
//sensitivize gui
menus_and_mode_sensitive(false);
hbox_contacts_capture_top.Sensitive = false;
@@ -6509,10 +6503,8 @@ LogB.Debug("mc finished 5");
hbox_contacts_sup_capture_analyze_two_buttons.Sensitive = false;
hbox_top_person.Sensitive = false;
- if(currentEventExecute == null)
- return;
-
notebook_contacts_execute_or.CurrentPage =
Convert.ToInt32(notebook_contacts_execute_or_pages.RACEINSPECTOR);
+ label_run_simple_double_contacts.Text = currentEventExecute.GetInspectorMessages();
}
private void on_button_race_inspector_close_clicked (object o, EventArgs args)
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index 4725e4bc2..25b03c005 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -95,6 +95,7 @@ public partial class ChronoJumpWindow
[Widget] Gtk.CheckButton check_runI_realtime_rel_abs;
[Widget] Gtk.Image image_check_runI_realtime_rel_abs;
[Widget] Gtk.DrawingArea event_execute_drawingarea_run_simple_double_contacts;
+ [Widget] Gtk.Label label_run_simple_double_contacts;
/*
[Widget] Gtk.Box hbox_combo_graph_results_width;
[Widget] Gtk.Box hbox_combo_graph_results_height;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]