[banshee] OSX: Allow more actions to have custom accelerators (bgo#677866)
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] OSX: Allow more actions to have custom accelerators (bgo#677866)
- Date: Sat, 18 Aug 2012 17:00:03 +0000 (UTC)
commit 84fc9b01c7d3e77fc9e51245b62c92e739532ef8
Author: Timo DÃrr <timo latecrew de>
Date: Mon Jun 11 16:12:14 2012 +0200
OSX: Allow more actions to have custom accelerators (bgo#677866)
If an action is initialized with null as an accelerator, it can't be
customized. So we initialize the accelerator to "" for
PreferencesAction, TrackPropertiesAction and NewSmartPlaylistAction, so
that we can use the custom OSX accelerator map for those actions too.
This means that the stock accelerators for those actions will not be
used anymore, but apparently they don't have any anyway.
Signed-off-by: Bertrand Lorentz <bertrand lorentz gmail com>
.../Banshee.Gui/GlobalActions.cs | 2 +-
.../Banshee.Gui/SourceActions.cs | 2 +-
.../Banshee.Gui/TrackActions.cs | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs b/src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs
index 54add5b..48d10bc 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs
@@ -76,7 +76,7 @@ namespace Banshee.Gui
Catalog.GetString("_Edit"), null, null, null),
new ActionEntry ("PreferencesAction", Stock.Preferences,
- Catalog.GetString ("_Preferences"), null,
+ Catalog.GetString ("_Preferences"), "",
Catalog.GetString ("Modify your personal preferences"), OnPreferences),
// Tools menu
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs b/src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs
index 6eee273..3eb266e 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs
@@ -76,7 +76,7 @@ namespace Banshee.Gui
Catalog.GetString ("Create a new empty playlist"), OnNewPlaylist),
new ActionEntry ("NewSmartPlaylistAction", null,
- Catalog.GetString ("New _Smart Playlist..."), null,
+ Catalog.GetString ("New _Smart Playlist..."), "",
Catalog.GetString ("Create a new smart playlist"), OnNewSmartPlaylist),
/*new ActionEntry ("NewSmartPlaylistFromSearchAction", null,
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs b/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs
index b5d17c7..bd4b97e 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs
@@ -119,7 +119,7 @@ namespace Banshee.Gui
Catalog.GetString ("Edit information on selected tracks"), OnTrackEditor),
new ActionEntry ("TrackPropertiesAction", Stock.Properties,
- Catalog.GetString ("Properties"), null,
+ Catalog.GetString ("Properties"), "",
Catalog.GetString ("View information on selected tracks"), OnTrackProperties),
new ActionEntry ("PlayTrack", null,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]