[chronojump] Person's name is shown in manage
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Person's name is shown in manage
- Date: Wed, 21 Jul 2021 11:34:59 +0000 (UTC)
commit d8235a02e0132483d8047c90b51c1f63a637aa6c
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Jul 21 13:34:42 2021 +0200
Person's name is shown in manage
glade/app1.glade | 7 ++++---
src/gui/app1/chronojump.cs | 2 ++
src/gui/app1/chronojumpPersons.cs | 1 +
3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 3286f9d34..46b069497 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -574,7 +574,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
- <widget class="GtkHBox" id="hbox2">
+ <widget class="GtkHBox" id="hbox297">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">4</property>
@@ -1942,11 +1942,12 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
- <widget class="GtkLabel" id="label131">
+ <widget class="GtkLabel"
id="label_current_person">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label"
translatable="yes">Current person</property>
+ <property name="ellipsize">end</property>
+ <property name="width_chars">25</property>
</widget>
<packing>
<property name="expand">False</property>
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 367391647..14d2adcc4 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -1299,6 +1299,8 @@ public partial class ChronoJumpWindow
{
sensitiveLastTestButtons(false);
+ label_current_person.Text = currentPerson.Name;
+
//update 4 results treeviews
myTreeViewJumps.SelectPerson(currentPerson.Name);
myTreeViewJumpsRj.SelectPerson(currentPerson.Name);
diff --git a/src/gui/app1/chronojumpPersons.cs b/src/gui/app1/chronojumpPersons.cs
index bc926dca1..a03168c9f 100644
--- a/src/gui/app1/chronojumpPersons.cs
+++ b/src/gui/app1/chronojumpPersons.cs
@@ -35,6 +35,7 @@ public partial class ChronoJumpWindow
[Widget] Gtk.VBox vbox_manage_persons;
[Widget] Gtk.Arrow arrow_manage_persons_up;
[Widget] Gtk.Arrow arrow_manage_persons_down;
+ [Widget] Gtk.Label label_current_person;
private void showPersonsOnTop (bool onTop)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]