Fix tree iter usage, Add COVID-19 option, Copyright + project lead

This commit is contained in:
Joseph Coffland 2020-03-31 00:42:13 -07:00
parent 85bb67a838
commit 73dedcd281
2 changed files with 14 additions and 5 deletions

View File

@ -440,8 +440,9 @@ class ClientConfig:
# Selected the first item if nothing is selected # Selected the first item if nothing is selected
if selected_row is None: if selected_row is None:
selected_row = app.slot_status_list.get_iter_first() selected_row = app.slot_status_list.get_iter_first()
app.slot_status_tree.get_selection().select_iter(selected_row) if selected_row is not None:
self.select_slot(app) app.slot_status_tree.get_selection().select_iter(selected_row)
self.select_slot(app)
if log_filter_row is None: if log_filter_row is None:
log_filter_row = app.slot_status_list.get_iter_first() log_filter_row = app.slot_status_list.get_iter_first()

View File

@ -108,7 +108,7 @@
<object class="GtkLabel" id="label39"> <object class="GtkLabel" id="label39">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="label" translatable="yes">Copyright © 2010-2018 foldingathome.org</property> <property name="label" translatable="yes">Copyright © 2010-2020 foldingathome.org</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -207,8 +207,8 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="label" translatable="yes">&lt;b&gt;Project Leader&lt;/b&gt; <property name="label" translatable="yes">&lt;b&gt;Project Leader&lt;/b&gt;
Dr. Vijay Pande Dr. Gregory Bowman
Stanford University</property> Washington State University in Saint Louis</property>
<property name="use_markup">True</property> <property name="use_markup">True</property>
<property name="justify">center</property> <property name="justify">center</property>
</object> </object>
@ -310,6 +310,10 @@ Joe Heimann, jheimann</property>
<col id="0" translatable="yes">ANY</col> <col id="0" translatable="yes">ANY</col>
<col id="1" translatable="yes">Any</col> <col id="1" translatable="yes">Any</col>
</row> </row>
<row>
<col id="0" translatable="yes">COVID_19</col>
<col id="1" translatable="yes">COVID-19</col>
</row>
<row> <row>
<col id="0" translatable="yes">ALZHEIMERS</col> <col id="0" translatable="yes">ALZHEIMERS</col>
<col id="1" translatable="yes">Alzheimer's</col> <col id="1" translatable="yes">Alzheimer's</col>
@ -326,6 +330,10 @@ Joe Heimann, jheimann</property>
<col id="0" translatable="yes">PARKINSONS</col> <col id="0" translatable="yes">PARKINSONS</col>
<col id="1" translatable="yes">Parkinson's</col> <col id="1" translatable="yes">Parkinson's</col>
</row> </row>
<row>
<col id="0" translatable="yes">HIGH_PRIORITY</col>
<col id="1" translatable="yes">High priority</col>
</row>
</data> </data>
</object> </object>
<object class="GtkAdjustment" id="checkpoint_adjustment"> <object class="GtkAdjustment" id="checkpoint_adjustment">