[chronojump] Changed code for removal of notebook_session_person
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Changed code for removal of notebook_session_person
- Date: Fri, 20 Mar 2020 08:19:05 +0000 (UTC)
commit d47dd042da2b37bfcf83d6bfb298243c698f098f
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Mar 20 09:18:13 2020 +0100
Changed code for removal of notebook_session_person
src/gui/app1/chronojump.cs | 6 +-----
src/gui/app1/contactsExercise.cs | 4 ++--
src/gui/app1/encoder.cs | 4 ++--
src/gui/app1/forceSensor.cs | 2 +-
src/gui/app1/forceSensorAnalyze.cs | 2 +-
src/gui/app1/icons.cs | 7 -------
src/gui/exhibition.cs | 1 -
7 files changed, 7 insertions(+), 19 deletions(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 8ee27161..eb263421 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -128,7 +128,7 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Image image_encoder_capture_finish;
[Widget] Gtk.Image image_encoder_capture_cancel;
- [Widget] Gtk.Notebook notebook_session_person;
+ [Widget] Gtk.Alignment alignment_session_person;
//[Widget] Gtk.Box vbox_persons;
[Widget] Gtk.TreeView treeview_persons;
@@ -7284,8 +7284,6 @@ LogB.Debug("mc finished 5");
private void sensitiveGuiNoSession ()
{
- notebook_session_person.CurrentPage = 1;
-
viewport_persons.Visible = false;
//treeview_persons.Sensitive = false;
@@ -7326,8 +7324,6 @@ LogB.Debug("mc finished 5");
private void sensitiveGuiYesSession ()
{
- notebook_session_person.CurrentPage = 1;
-
button_image_test_zoom.Sensitive = true;
viewport_persons.Visible = true;
frame_persons.Sensitive = true;
diff --git a/src/gui/app1/contactsExercise.cs b/src/gui/app1/contactsExercise.cs
index eac05ae9..8262b2cd 100644
--- a/src/gui/app1/contactsExercise.cs
+++ b/src/gui/app1/contactsExercise.cs
@@ -30,7 +30,7 @@ public partial class ChronoJumpWindow
{
notebook_contacts_capture_doing_wait.Sensitive = false;
vbox_contacts_device_adjust_threshold.Sensitive = false;
- notebook_session_person.Sensitive = false;
+ alignment_session_person.Sensitive = false;
main_menu.Sensitive = false;
button_contacts_exercise.Sensitive = false;
hbox_contacts_sup_capture_analyze_two_buttons.Sensitive = false;
@@ -43,7 +43,7 @@ public partial class ChronoJumpWindow
{
notebook_contacts_capture_doing_wait.Sensitive = true;
vbox_contacts_device_adjust_threshold.Sensitive = true;
- notebook_session_person.Sensitive = true;
+ alignment_session_person.Sensitive = true;
main_menu.Sensitive = true;
button_contacts_exercise.Sensitive = true;
hbox_contacts_sup_capture_analyze_two_buttons.Sensitive = true;
diff --git a/src/gui/app1/encoder.cs b/src/gui/app1/encoder.cs
index 0b118fcd..aaff7c39 100644
--- a/src/gui/app1/encoder.cs
+++ b/src/gui/app1/encoder.cs
@@ -3726,7 +3726,7 @@ public partial class ChronoJumpWindow
table_encoder_analyze_options.Sensitive = s;
main_menu.Sensitive = s;
- notebook_session_person.Sensitive = s;
+ alignment_session_person.Sensitive = s;
hbox_encoder_sup_capture_analyze_two_buttons.Sensitive = s;
hbox_top_person_encoder.Sensitive = s;
}
@@ -4674,7 +4674,7 @@ public partial class ChronoJumpWindow
main_menu.Sensitive = ! show;
hbox_encoder_sup_capture_analyze.Sensitive = ! show;
- notebook_session_person.Sensitive = ! show;
+ alignment_session_person.Sensitive = ! show;
hbox_encoder_configuration.Sensitive = ! show;
hbox_encoder_capture_top.Sensitive = ! show;
vpaned_encoder_capture_video_and_set_graph.Sensitive = ! show;
diff --git a/src/gui/app1/forceSensor.cs b/src/gui/app1/forceSensor.cs
index 8607d2ab..e886eeb1 100644
--- a/src/gui/app1/forceSensor.cs
+++ b/src/gui/app1/forceSensor.cs
@@ -2285,7 +2285,7 @@ LogB.Information(" fs R ");
button_force_sensor_image_save_signal.Sensitive = s;
main_menu.Sensitive = s;
- notebook_session_person.Sensitive = s;
+ alignment_session_person.Sensitive = s;
hbox_contacts_sup_capture_analyze_two_buttons.Sensitive = s;
hbox_top_person.Sensitive = s;
}
diff --git a/src/gui/app1/forceSensorAnalyze.cs b/src/gui/app1/forceSensorAnalyze.cs
index cff48bde..ba6ea2f2 100644
--- a/src/gui/app1/forceSensorAnalyze.cs
+++ b/src/gui/app1/forceSensorAnalyze.cs
@@ -153,7 +153,7 @@ public partial class ChronoJumpWindow
}
main_menu.Sensitive = s;
- notebook_session_person.Sensitive = s;
+ alignment_session_person.Sensitive = s;
hbox_contacts_sup_capture_analyze_two_buttons.Sensitive = s;
hbox_top_person.Sensitive = s;
}
diff --git a/src/gui/app1/icons.cs b/src/gui/app1/icons.cs
index 9dd2cd3c..6a58644b 100644
--- a/src/gui/app1/icons.cs
+++ b/src/gui/app1/icons.cs
@@ -39,10 +39,8 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Image image_quit2;
[Widget] Gtk.Image image_quit3;
[Widget] Gtk.Image image_quit_from_app1;
- [Widget] Gtk.Image image_session_new;
[Widget] Gtk.Image image_session_new2;
[Widget] Gtk.Image image_session_new3;
- [Widget] Gtk.Image image_session_load;
[Widget] Gtk.Image image_session_load2;
[Widget] Gtk.Image image_session_edit;
[Widget] Gtk.Image image_session_edit2;
@@ -398,15 +396,10 @@ public partial class ChronoJumpWindow
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_weight.png"); //but will change
depending on mode
image_encoder_exercise.Pixbuf = pixbuf;
- pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "folder_new_big.png");
- image_session_new.Pixbuf = pixbuf;
-
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "folder_new.png");
image_session_new2.Pixbuf = pixbuf;
image_session_new3.Pixbuf = pixbuf;
- pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "folder_open_big.png");
- image_session_load.Pixbuf = pixbuf;
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "folder_open.png");
image_session_open.Pixbuf = pixbuf;
image_session_load2.Pixbuf = pixbuf;
diff --git a/src/gui/exhibition.cs b/src/gui/exhibition.cs
index 7b6c0771..1869cfff 100644
--- a/src/gui/exhibition.cs
+++ b/src/gui/exhibition.cs
@@ -43,7 +43,6 @@ public partial class ChronoJumpWindow
menuitem_open_session.Sensitive = false; //do not allow menu open to work (it could be really
slow)
frame_exhibition.Visible = true;
- notebook_session_person.CurrentPage = 1;
frame_persons.Sensitive = true;
frame_persons_top.Visible = false;
spin_exhibition_school.Value = 0; //need to assign an inital value (if not it shows blank
value)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]