[haiku-commits] r41127 - haiku/trunk/src/apps/mediaplayer/playlist

  • From: jonas@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 27 Mar 2011 21:14:55 +0200 (CEST)

Author: kirilla
Date: 2011-03-27 21:14:55 +0200 (Sun, 27 Mar 2011)
New Revision: 41127
Changeset: https://dev.haiku-os.org/changeset/41127

Modified:
   haiku/trunk/src/apps/mediaplayer/playlist/PlaylistWindow.cpp
Log:
Add menu item 'Select all' to playlist window.

Modified: haiku/trunk/src/apps/mediaplayer/playlist/PlaylistWindow.cpp
===================================================================
--- haiku/trunk/src/apps/mediaplayer/playlist/PlaylistWindow.cpp        
2011-03-27 18:38:05 UTC (rev 41126)
+++ haiku/trunk/src/apps/mediaplayer/playlist/PlaylistWindow.cpp        
2011-03-27 19:14:55 UTC (rev 41127)
@@ -208,6 +208,10 @@
                        _SavePlaylist(message);
                        break;
 
+               case B_SELECT_ALL:
+                       fListView->SelectAll();
+                       break;
+
                case M_PLAYLIST_RANDOMIZE:
                        fListView->Randomize();
                        break;
@@ -259,6 +263,9 @@
                B_SHIFT_KEY);
        editMenu->AddItem(fRedoMI);
        editMenu->AddSeparatorItem();
+       editMenu->AddItem(new BMenuItem(B_TRANSLATE("Select all"),
+               new BMessage(B_SELECT_ALL), 'A'));
+       editMenu->AddSeparatorItem();
        editMenu->AddItem(new BMenuItem(B_TRANSLATE("Randomize"),
                new BMessage(M_PLAYLIST_RANDOMIZE), 'R'));
        editMenu->AddSeparatorItem();


Other related posts:

  • » [haiku-commits] r41127 - haiku/trunk/src/apps/mediaplayer/playlist - jonas