[chronojump] "Select at least one" message (show graph/table) is shown in bold
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] "Select at least one" message (show graph/table) is shown in bold
- Date: Tue, 2 Aug 2022 10:05:55 +0000 (UTC)
commit 774c9d591b7d6ac9883e4332e2897a094fa702b1
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Aug 2 12:05:11 2022 +0200
"Select at least one" message (show graph/table) is shown in bold
glade/app1.glade | 34 +++++++++++++++++++++-------------
src/gui/app1/chronojump.cs | 5 +++++
2 files changed, 26 insertions(+), 13 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index fa2e6fc77..41194dd71 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -7239,7 +7239,6 @@ EncoderInertialCapture</property>
<widget class="GtkLabel"
id="label_contacts_capture_show_need_one">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Select
at least one</property>
</widget>
<packing>
<property name="expand">True</property>
@@ -26070,6 +26069,9 @@ Concentric</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
@@ -32870,18 +32872,6 @@ Concentric</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
<child>
- <widget class="GtkLabel"
id="label_video_encoder_tests_will_be_filmed">
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Tests
will be filmed</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
<widget class="GtkHBox"
id="hbox_video_encoder_capturing">
<property name="can_focus">False</property>
<property name="spacing">4</property>
@@ -32918,6 +32908,18 @@ Concentric</property>
</packing>
</child>
<child>
+ <widget class="GtkLabel"
id="label_video_encoder_tests_will_be_filmed">
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Tests
will be filmed</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
<widget class="GtkHBox"
id="hbox_video_encoder_no_capturing">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -42347,6 +42349,9 @@ then click this button.</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
@@ -50408,6 +50413,9 @@ Since Chronojump 2.1.3, backups contain the complete data.</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 3c05e95fd..486e74cb8 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -96,6 +96,7 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Alignment alignment_contacts_show_graph_table;
[Widget] Gtk.HBox hbox_contacts_capture_show_need_one;
+ [Widget] Gtk.Label label_contacts_capture_show_need_one;
[Widget] Gtk.CheckButton check_contacts_capture_graph;
[Widget] Gtk.CheckButton check_contacts_capture_table;
[Widget] Gtk.Button button_contacts_capture_save_image;
@@ -4107,7 +4108,11 @@ public partial class ChronoJumpWindow
if (check_contacts_capture_graph.Active || check_contacts_capture_table.Active)
hbox_contacts_capture_show_need_one.Visible = false;
else
+ {
+ label_contacts_capture_show_need_one.Text = "<b>" + Catalog.GetString("Select at
least one") + "</b>";
+ label_contacts_capture_show_need_one.UseMarkup = true;
hbox_contacts_capture_show_need_one.Visible = true;
+ }
/*
update the preferences variable
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]