Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activity.py3
-rw-r--r--po/es.po2
2 files changed, 4 insertions, 1 deletions
diff --git a/activity.py b/activity.py
index 8353b2e..c4f97f3 100644
--- a/activity.py
+++ b/activity.py
@@ -387,6 +387,7 @@ class SimpleGraph(activity.Activity):
if self.current_chart is None:
return
self.current_chart.data_set(self.chart_data)
+ self._update_chart_labels()
self._render_chart()
def _update_chart_labels(self):
@@ -394,6 +395,7 @@ class SimpleGraph(activity.Activity):
return
self.current_chart.set_x_label(self.x_label)
self.current_chart.set_y_label(self.y_label)
+ self.current_chart.set_title(self.metadata['title'])
self._render_chart()
def update_chart(self):
@@ -587,6 +589,7 @@ class SimpleGraph(activity.Activity):
self.update_chart()
+
class ChartData(gtk.TreeView):
__gsignals__ = {
diff --git a/po/es.po b/po/es.po
index 7f06673..897ea2e 100644
--- a/po/es.po
+++ b/po/es.po
@@ -48,7 +48,7 @@ msgstr "Grafico de barras horizontales"
#: activity.py:210
#: activity.py:165
msgid "Line Chart"
-msgstr "Color de las lineas"
+msgstr "Grafico de lineas"
#: activity.py:217
#: activity.py:172