[kde-doc-english] [amarok] /: Remove undo actions from playlist toolbar.

Bart Cerneels bart.cerneels at kde.org
Fri Jun 17 14:58:57 CEST 2011


Git commit b4c872110e8740f799f197bc6a88b1e3ef1b9332 by Bart Cerneels.
Committed on 17/06/2011 at 13:53.
Pushed by shanachie into branch 'master'.

Remove undo actions from playlist toolbar.

We need to make some room so the toolbar is not to wide in it's
uncollapsed form.
Redo is still accessible from menu and shortcuts.

GUI:removed redo action from playlist toolbar.

M  +3    -0    ChangeLog     
M  +2    -2    src/playlist/PlaylistDock.cpp     

http://commits.kde.org/amarok/b4c872110e8740f799f197bc6a88b1e3ef1b9332

diff --git a/ChangeLog b/ChangeLog
index 790553d..5bbdb75 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -15,6 +15,9 @@ VERSION 2.4.2-Beta 1
     * Option to hide the OSD if another window is taking the full screen
 
   CHANGES:
+    * Removed the redo action from the playlist toolbar to make it less wide.
+    * Made some playlist toolbar actions collapse into a menu button for use on
+      small screens.
     * Removed the statusbar. Moved progress messages to the Media Sources dock.
     * Removed the preview button and checkbox from the organize collection dialog.
     * General user interface cleanup (addition of browser widget backgrounds,
diff --git a/src/playlist/PlaylistDock.cpp b/src/playlist/PlaylistDock.cpp
index 7036691..fbdf8c3 100644
--- a/src/playlist/PlaylistDock.cpp
+++ b/src/playlist/PlaylistDock.cpp
@@ -205,7 +205,7 @@ Playlist::Dock::polish()
         playlistActions->addAction( m_savePlaylistMenu );
 
         playlistActions->addAction( Amarok::actionCollection()->action( "playlist_undo" ) );
-        playlistActions->addAction( Amarok::actionCollection()->action( "playlist_redo" ) );
+        //redo action can be accessed from menu > Playlist
 
         playlistActions->addAction( Amarok::actionCollection()->action( "show_active_track" ) );
 
@@ -217,7 +217,7 @@ Playlist::Dock::polish()
 
         plBar->addCollapsibleActions( playlistActions );
 
-        NavigatorConfigAction * navigatorConfig = new NavigatorConfigAction( m_mainWidget );
+        NavigatorConfigAction *navigatorConfig = new NavigatorConfigAction( m_mainWidget );
         plBar->addAction( navigatorConfig );
 
         QToolButton *toolButton =



More information about the kde-doc-english mailing list