Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Fixed link to project page, removed dead links to CS and WS.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoffland committed Jun 19, 2018
1 parent 494d33b commit 98d6ba2
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 14 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 6 additions & 1 deletion fah/ClientConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,11 @@ def update_work_unit_info(self, app):
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'])
Expand Down Expand Up @@ -253,7 +258,7 @@ def select_slot(self, app):
# 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
Expand Down
20 changes: 8 additions & 12 deletions fah/FAHControl.glade
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion fah/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 98d6ba2

Please sign in to comment.