diff --git a/CHANGELOG.md b/CHANGELOG.md index 77ed503..ab81922 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/fah/ClientConfig.py b/fah/ClientConfig.py index 8f593eb..3fa4ac2 100644 --- a/fah/ClientConfig.py +++ b/fah/ClientConfig.py @@ -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 diff --git a/fah/FAHControl.glade b/fah/FAHControl.glade index 9b2111c..4d2a9c0 100644 --- a/fah/FAHControl.glade +++ b/fah/FAHControl.glade @@ -7369,14 +7369,12 @@ Folding slots can be one of three types, Uniprocessor, SMP or GPU. Representing True False - - False + True - True - True - none - False + False 0 + True + True False @@ -7401,14 +7399,12 @@ Folding slots can be one of three types, Uniprocessor, SMP or GPU. Representing True False - - False + True - True - True - none - False + False 0 + True + True False diff --git a/fah/util/__init__.py b/fah/util/__init__.py index 709850b..8937929 100644 --- a/fah/util/__init__.py +++ b/fah/util/__init__.py @@ -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)