Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-05-16 19:35:37 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-05-16 19:35:37 (GMT)
commit649a8957953442ac66aa9da7458d7bac1ba18708 (patch)
tree91549a13d4b86598bb83d1451d43d5d665c2b1e2
parent0ec6a857aebccf3db13eb7393f2b1316a9497a29 (diff)
Use stock string in 'next' button to use the translations in gtk
-rw-r--r--activity.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/activity.py b/activity.py
index 18eb43b..d02f9c1 100644
--- a/activity.py
+++ b/activity.py
@@ -134,9 +134,8 @@ class ImageCollectionViewer(gtk.VBox):
next_bt.connect('clicked', self.next_image_clicked_cb)
_next_button = gtk.Button()
- image = Icon(icon_name='go-right')
- _next_button.set_image(image)
- _next_button.set_label(_('Next'))
+ _next_button.set_label(gtk.STOCK_GO_FORWARD)
+ _next_button.set_use_stock(True)
_next_button.connect('clicked', self.__next_clicked_cb)
right_box.pack_end(_next_button, False, False,
padding=style.zoom(30))