X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fedit_panel_tm.py;h=3ebe339e4e25af3accc4aa287bdd85a566e0a451;hb=1024f31ed7121aaf10c122d860aa25a931975bb0;hp=76e362435f83f3a7de70d7a3264553a7a89ab348;hpb=83ddba30250f371278bf75c96e27d4c0bbd9b205;p=mussorgsky diff --git a/src/edit_panel_tm.py b/src/edit_panel_tm.py index 76e3624..3ebe339 100644 --- a/src/edit_panel_tm.py +++ b/src/edit_panel_tm.py @@ -243,12 +243,16 @@ class MussorgskyEditPanel (hildon.StackableWindow): separator.set_expand (True) button_box.insert (separator, -1) - back_button = gtk.ToolButton (gtk.image_new_from_stock (gtk.STOCK_GO_BACK, gtk.ICON_SIZE_BUTTON)) + back_img = gtk.Image () + back_img.set_from_icon_name ("general_back", gtk.ICON_SIZE_BUTTON) + back_button = gtk.ToolButton (back_img) back_button.connect ("clicked", self.press_back_cb) back_button.set_expand (True) button_box.insert (back_button, -1) - next_button = gtk.ToolButton (gtk.image_new_from_stock (gtk.STOCK_GO_FORWARD, gtk.ICON_SIZE_BUTTON)) + next_img = gtk.Image () + next_img.set_from_icon_name ("general_forward", gtk.ICON_SIZE_BUTTON) + next_button = gtk.ToolButton (next_img) next_button.connect ("clicked", self.press_next_cb) next_button.set_expand (True) button_box.insert (next_button, -1) @@ -329,7 +333,7 @@ class MussorgskyEditPanel (hildon.StackableWindow): if (self.player.is_playing ()): self.player.stop () else: - song = self.songs_list [self.song_counter] + song = self.get_current_row () self.player.play ("file://" + song[URI_COLUMN]) def album_selection_cb (self, widget):