diff options
author | Agustin Zubiaga <aguz@sugarlabs.org> | 2012-09-18 04:38:52 (GMT) |
---|---|---|
committer | Agustin Zubiaga <aguz@sugarlabs.org> | 2012-09-18 04:38:52 (GMT) |
commit | 9a57d69b61027e4878f4bbdeed1f75b7c93546d7 (patch) | |
tree | 7634889ee0c78816fb835ec27722421bd048d235 /activity.py | |
parent | 638fd88d7e4f7e7abc65784d87069e127e5d644b (diff) |
pep8 fixes
Diffstat (limited to 'activity.py')
-rw-r--r-- | activity.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/activity.py b/activity.py index 3ae55e6..56e78d5 100644 --- a/activity.py +++ b/activity.py @@ -605,7 +605,8 @@ class ChartActivity(activity.Activity): # Update the controls in the config subtoolbar self.chart_color_btn.set_color(Color(self.chart_color).get_gdk_color()) - self.line_color_btn.set_color(Color(self.chart_line_color).get_gdk_color()) + self.line_color_btn.set_color(Color(self.chart_line_color).\ + get_gdk_color()) # If the saved label is not '', set the text entry with the saved label if self.x_label != '': @@ -647,8 +648,9 @@ class ChartActivity(activity.Activity): class ChartData(Gtk.TreeView): __gsignals__ = { - 'label-changed': (GObject.SignalFlags.RUN_FIRST, None, [str, str], ), - 'value-changed': (GObject.SignalFlags.RUN_FIRST, None, [str, str], ), } + 'label-changed': (GObject.SignalFlags.RUN_FIRST, None, [str, str]), + 'value-changed': (GObject.SignalFlags.RUN_FIRST, None, [str, str]), + } def __init__(self, activity): |