[chronojump] GenericWin without clickable headers
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] GenericWin without clickable headers
- Date: Wed, 8 Jun 2016 19:06:44 +0000 (UTC)
commit 4142fc56c2ad62bfd40cf982d4767e571ab86a36
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Jun 8 20:50:42 2016 +0200
GenericWin without clickable headers
glade/chronojump.glade | 61 +++++++++++++++++++++++++++++++++++++++++++--
src/gui/encoder.cs | 2 +-
src/gui/genericWindow.cs | 1 +
3 files changed, 60 insertions(+), 4 deletions(-)
---
diff --git a/glade/chronojump.glade b/glade/chronojump.glade
index 210bd62..93e9ed2 100644
--- a/glade/chronojump.glade
+++ b/glade/chronojump.glade
@@ -16534,6 +16534,9 @@ on current Chronojump version.</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
@@ -21226,6 +21229,9 @@ by you</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
@@ -22399,6 +22405,9 @@ by you</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
@@ -24064,6 +24073,9 @@ by you</property>
<placeholder/>
</child>
<child>
+ <placeholder/>
+ </child>
+ <child>
<widget class="GtkButton" id="button_video_url">
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -24786,6 +24798,9 @@ by you</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">True</property>
@@ -31901,6 +31916,7 @@ One set can contain several tests.</property>
<widget class="GtkTreeView" id="treeview">
<property name="visible">True</property>
<property name="can_focus">True</property>
+ <property name="headers_clickable">False</property>
<signal name="row_activated" handler="on_row_double_clicked" swapped="no"/>
</widget>
</child>
@@ -37789,6 +37805,24 @@ options</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
@@ -40444,6 +40478,18 @@ To differentiate between male and female, use the values 1/0, or m/f, or M/F on
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
@@ -41696,9 +41742,6 @@ To differentiate between male and female, use the values 1/0, or m/f, or M/F on
<placeholder/>
</child>
<child>
- <placeholder/>
- </child>
- <child>
<widget class="GtkLabel" id="label218">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -42871,6 +42914,9 @@ To differentiate between male and female, use the values 1/0, or m/f, or M/F on
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
@@ -46930,6 +46976,9 @@ It starts before and arrives there with some speed.</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="left_attach">2</property>
@@ -47767,6 +47816,9 @@ It starts before and arrives there with some speed.</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
@@ -48619,6 +48671,9 @@ It starts before and arrives there with some speed.</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index 2b791ff..9eddf6d 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -790,7 +790,7 @@ public partial class ChronoJumpWindow
genericWin.Row_add(new string[] {
uniqueID.ToString(), currentPerson.Name,
UtilGtk.ComboGetActive(combo_encoder_exercise_capture),
- d.ToString(), DateTime.Now.ToShortDateString()
+ d.ToString(), currentSession.DateShort
}
);
diff --git a/src/gui/genericWindow.cs b/src/gui/genericWindow.cs
index 94aa544..a1ccfbe 100644
--- a/src/gui/genericWindow.cs
+++ b/src/gui/genericWindow.cs
@@ -488,6 +488,7 @@ public class GenericWindow
store = getStore(columnsString.Length, addCheckbox);
treeview.Model = store;
prepareHeaders(columnsString, addCheckbox);
+ treeview.HeadersClickable = false;
nonSensitiveRows = myNonSensitiveRows;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]