From 649a8957953442ac66aa9da7458d7bac1ba18708 Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Wed, 16 May 2012 19:35:37 +0000 Subject: Use stock string in 'next' button to use the translations in gtk --- 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)) -- cgit v0.9.1