diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-02-13 13:17:00 +0100 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-02-14 09:35:49 +0100 |
commit | 7eba7e939b87b6bebc16ddca94f799e46b2b0aae (patch) | |
tree | 085f9f3699404353d9f533c101a181b83bf3d938 /src/settings.c | |
parent | a99bfd2480636fed808f22122912f76f3827a65b (diff) | |
download | pianobar-7eba7e939b87b6bebc16ddca94f799e46b2b0aae.tar.gz pianobar-7eba7e939b87b6bebc16ddca94f799e46b2b0aae.tar.bz2 pianobar-7eba7e939b87b6bebc16ddca94f799e46b2b0aae.zip |
New feature: Bookmark song/artist (keybinding 'b')
Diffstat (limited to 'src/settings.c')
-rw-r--r-- | src/settings.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/settings.c b/src/settings.c index 527a150..1136a3a 100644 --- a/src/settings.c +++ b/src/settings.c @@ -92,7 +92,9 @@ void BarSettingsRead (BarSettings_t *settings) { FILE *configfd; /* _must_ have same order as in BarKeyShortcutId_t */ const char defaultKeys[] = {'?', '+', '-', 'a', 'c', 'd', 'e', 'g', - 'h', 'i', 'j', 'm', 'n', 'p', 'q', 'r', 's', 't', 'u', 'x', '$'}; + 'h', 'i', 'j', 'm', 'n', 'p', 'q', 'r', 's', 't', 'u', 'x', '$', + 'b', + }; const char *shortcutFileKeys[] = { "act_help", "act_songlove", "act_songban", "act_stationaddmusic", "act_stationcreate", "act_stationdelete", "act_songexplain", @@ -100,7 +102,7 @@ void BarSettingsRead (BarSettings_t *settings) { "act_addshared", "act_songmove", "act_songnext", "act_songpause", "act_quit", "act_stationrename", "act_stationchange", "act_songtired", "act_upcoming", "act_stationselectquickmix", - "act_debug" + "act_debug", "act_bookmark", }; /* apply defaults */ |