Reviewed-by: Gonzalo Odiard <<a href="mailto:gonzalo@laptop.org">gonzalo@laptop.org</a>><br><br><div class="gmail_quote">On Tue, Jun 26, 2012 at 4:11 PM, Manuel Kaufmann <span dir="ltr"><<a href="mailto:humitos@gmail.com" target="_blank">humitos@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> - Switched "Fullscreen" and "Show playlist" buttons in View Toolbar<br>
 - Added tooltip for "Add Track" button<br>
 - Changed the icon for "Add Track" button to match the style with<br>
   the "Remove Track"<br>
 - Use just "Remove Track" as tooltip on "Remove Track" button<br>
 - Changed the name of the icon for "Remove Track"<br>
 - Added a separator between the "Previous" and "Remove Track" buttons<br>
 - Removed "Volume" slider<br>
<br>
Signed-off-by: Manuel Kaufmann <<a href="mailto:humitos@gmail.com">humitos@gmail.com</a>><br>
---<br>
 ControlToolbar.py |   34 +++++++++++++++-------------------<br>
 1 file changed, 15 insertions(+), 19 deletions(-)<br>
<br>
diff --git a/ControlToolbar.py b/ControlToolbar.py<br>
index a4f9225..4bb4935 100644<br>
--- a/ControlToolbar.py<br>
+++ b/ControlToolbar.py<br>
@@ -39,12 +39,6 @@ class ViewToolbar(gtk.Toolbar):<br>
     def __init__(self):<br>
         gtk.Toolbar.__init__(self)<br>
<br>
-        self._fullscreen = ToolButton('view-fullscreen')<br>
-        self._fullscreen.set_tooltip(_('Fullscreen'))<br>
-        self._fullscreen.connect('clicked', self._fullscreen_cb)<br>
-        self.insert(self._fullscreen, -1)<br>
-        self._fullscreen.show()<br>
-<br>
         self._show_playlist = ToggleToolButton('view-list')<br>
         self._show_playlist.set_active(True)<br>
         self._show_playlist.set_tooltip(_('Show Playlist'))<br>
@@ -52,6 +46,12 @@ class ViewToolbar(gtk.Toolbar):<br>
         self.insert(self._show_playlist, -1)<br>
         self._show_playlist.show()<br>
<br>
+        self._fullscreen = ToolButton('view-fullscreen')<br>
+        self._fullscreen.set_tooltip(_('Fullscreen'))<br>
+        self._fullscreen.connect('clicked', self._fullscreen_cb)<br>
+        self.insert(self._fullscreen, -1)<br>
+        self._fullscreen.show()<br>
+<br>
     def _fullscreen_cb(self, button):<br>
         self.emit('go-fullscreen')<br>
<br>
@@ -68,18 +68,23 @@ class Control(gobject.GObject):<br>
         self.toolbar = toolbar<br>
         self.jukebox = jukebox<br>
<br>
-        self.open_button = ToolButton('sound')<br>
+        self.open_button = ToolButton('list-add')<br>
+        self.open_button.set_tooltip(_('Add track'))<br>
         self.open_button.show()<br>
         self.open_button.connect('clicked', jukebox.open_button_clicked_cb)<br>
         self.toolbar.insert(self.open_button, -1)<br>
<br>
-        erase_playlist_entry_btn = ToolButton(icon_name='edit-delete')<br>
-        erase_playlist_entry_btn.set_tooltip(_('Remove selected track' \<br>
-                                               ' from the playlist'))<br>
+        erase_playlist_entry_btn = ToolButton(icon_name='list-remove')<br>
+        erase_playlist_entry_btn.set_tooltip(_('Remove track'))<br>
         erase_playlist_entry_btn.connect('clicked',<br>
                  jukebox._erase_playlist_entry_clicked_cb)<br>
         self.toolbar.insert(erase_playlist_entry_btn, -1)<br>
<br>
+        spacer = gtk.SeparatorToolItem()<br>
+        spacer.props.draw = False<br>
+        self.toolbar.insert(spacer, -1)<br>
+        spacer.show()<br>
+<br>
         self.prev_button = ToolButton('player_rew')<br>
         self.prev_button.set_tooltip(_('Previous'))<br>
         self.prev_button.show()<br>
@@ -126,15 +131,6 @@ class Control(gobject.GObject):<br>
         self.toolbar.insert(spacer, -1)<br>
         spacer.show()<br>
<br>
-        self.audioscale = gtk.VolumeButton()<br>
-        self.audioscale.connect('value-changed', jukebox.volume_changed_cb)<br>
-        self.audioscale.set_value(1)<br>
-<br>
-        self.audio_scale_item = gtk.ToolItem()<br>
-        self.audio_scale_item.set_expand(False)<br>
-        self.audio_scale_item.add(self.audioscale)<br>
-        self.toolbar.insert(self.audio_scale_item, -1)<br>
-<br>
         spacer = gtk.SeparatorToolItem()<br>
         spacer.props.draw = False<br>
         self.toolbar.insert(spacer, -1)<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.7.10.2<br>
<br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</font></span></blockquote></div><br>