[chronojump] Contacts show only buttons current test/all if graph or table
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Contacts show only buttons current test/all if graph or table
- Date: Mon, 2 Aug 2021 15:54:55 +0000 (UTC)
commit d43a14a0f6e8b4ce1b39b857a1fd11830ed93052
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Aug 2 17:54:18 2021 +0200
Contacts show only buttons current test/all if graph or table
src/gui/app1/chronojump.cs | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index d2ec74af1..768265f4f 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -94,6 +94,7 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Alignment alignment_contacts_show_graph_table;
[Widget] Gtk.HBox hbox_contacts_capture_show_need_one;
+ [Widget] Gtk.HBox hbox_contacts_graph_test;
[Widget] Gtk.CheckButton check_contacts_capture_graph;
[Widget] Gtk.CheckButton check_contacts_capture_table;
@@ -3930,8 +3931,14 @@ public partial class ChronoJumpWindow
vbox_contacts_capture_graph.Visible = check_contacts_capture_graph.Active;
notebook_results.Visible = check_contacts_capture_table.Active;
- hbox_contacts_capture_show_need_one.Visible =
- ! (check_contacts_capture_graph.Active || check_contacts_capture_table.Active);
+ if ( check_contacts_capture_graph.Active || check_contacts_capture_table.Active)
+ {
+ hbox_contacts_capture_show_need_one.Visible = false;
+ hbox_contacts_graph_test.Visible = true;
+ } else {
+ hbox_contacts_capture_show_need_one.Visible = true;
+ hbox_contacts_graph_test.Visible = false;
+ }
/*
update the preferences variable
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]