Fixed link to project page, removed dead links to CS and WS.

This commit is contained in:
Joseph Coffland 2018-06-19 15:26:10 -07:00
parent 494d33b9a9
commit 98d6ba25c3
4 changed files with 17 additions and 14 deletions

View File

@ -3,6 +3,8 @@ Folding@home Advanced Control Changelog
## v7.5.2
- Removed verbosity option.
- Fixed link to project page.
- Removed dead links to CS and WS.
## v7.5.1
- OSX installer updates. @kbernhagen

View File

@ -216,6 +216,11 @@ class ClientConfig:
widget = app.queue_widgets['state']
widget.set_markup(status)
# Links
base = 'https://apps.foldingathome.org'
uri = base + '/project.py?p=%s' % entry['project']
app.queue_widgets['project'].set_uri(uri)
# PRCG
prcg = '%s (%s, %s, %s)' % (
entry['project'], entry['run'], entry['clone'], entry['gen'])
@ -253,7 +258,7 @@ class ClientConfig:
# Update the UI
self.update_work_unit_info(app)
else: app.queue_tree.get_selection().unselect_all()
def select_queue_slot(self, app):
# Get unit ID of selected queue entry

View File

@ -7369,14 +7369,12 @@ Folding slots can be one of three types, Uniprocessor, SMP or GPU. Representing
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkLinkButton" id="queue_cs">
<property name="use_action_appearance">False</property>
<object class="GtkLabel" id="queue_cs">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief">none</property>
<property name="focus_on_click">False</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="use_markup">True</property>
<property name="selectable">True</property>
</object>
<packing>
<property name="expand">False</property>
@ -7401,14 +7399,12 @@ Folding slots can be one of three types, Uniprocessor, SMP or GPU. Representing
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkLinkButton" id="queue_ws">
<property name="use_action_appearance">False</property>
<object class="GtkLabel" id="queue_ws">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief">none</property>
<property name="focus_on_click">False</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="use_markup">True</property>
<property name="selectable">True</property>
</object>
<packing>
<property name="expand">False</property>

View File

@ -153,7 +153,7 @@ def set_widget_str_value(widget, value):
widget.set_text(value)
if value == '': value = '0'
if value.endswith('%'): fraction = float(value[:-1]) / 100.0
else: fraction = float(value)