1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-31 19:45:31 +01:00

Use F2 as a shortcut for editing the current track. Fixes issue #194

This commit is contained in:
David Sansome 2010-04-11 15:05:30 +00:00
parent 85032240d9
commit 1eb9447097
9 changed files with 52 additions and 23 deletions

View File

@ -14,7 +14,7 @@
<string>Clementine</string> <string>Clementine</string>
</property> </property>
<property name="windowIcon"> <property name="windowIcon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/icon.png</normaloff>:/icon.png</iconset> <normaloff>:/icon.png</normaloff>:/icon.png</iconset>
</property> </property>
<widget class="QWidget" name="centralWidget"> <widget class="QWidget" name="centralWidget">
@ -298,7 +298,7 @@
<item> <item>
<widget class="QToolButton" name="library_filter_clear"> <widget class="QToolButton" name="library_filter_clear">
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/clear.png</normaloff>:/clear.png</iconset> <normaloff>:/clear.png</normaloff>:/clear.png</iconset>
</property> </property>
<property name="iconSize"> <property name="iconSize">
@ -322,7 +322,7 @@
<item> <item>
<widget class="QToolButton" name="library_options"> <widget class="QToolButton" name="library_options">
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/configure.png</normaloff>:/configure.png</iconset> <normaloff>:/configure.png</normaloff>:/configure.png</iconset>
</property> </property>
<property name="iconSize"> <property name="iconSize">
@ -502,7 +502,7 @@
</widget> </widget>
<action name="action_previous_track"> <action name="action_previous_track">
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/media-skip-backward.png</normaloff>:/media-skip-backward.png</iconset> <normaloff>:/media-skip-backward.png</normaloff>:/media-skip-backward.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -511,7 +511,7 @@
</action> </action>
<action name="action_play_pause"> <action name="action_play_pause">
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/media-playback-start.png</normaloff>:/media-playback-start.png</iconset> <normaloff>:/media-playback-start.png</normaloff>:/media-playback-start.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -523,7 +523,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/media-playback-stop.png</normaloff>:/media-playback-stop.png</iconset> <normaloff>:/media-playback-stop.png</normaloff>:/media-playback-stop.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -532,7 +532,7 @@
</action> </action>
<action name="action_next_track"> <action name="action_next_track">
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/media-skip-forward.png</normaloff>:/media-skip-forward.png</iconset> <normaloff>:/media-skip-forward.png</normaloff>:/media-skip-forward.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -541,7 +541,7 @@
</action> </action>
<action name="action_quit"> <action name="action_quit">
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/exit.png</normaloff>:/exit.png</iconset> <normaloff>:/exit.png</normaloff>:/exit.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -553,7 +553,7 @@
</action> </action>
<action name="action_stop_after_this_track"> <action name="action_stop_after_this_track">
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/media-playback-stop.png</normaloff>:/media-playback-stop.png</iconset> <normaloff>:/media-playback-stop.png</normaloff>:/media-playback-stop.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -619,7 +619,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/last.fm/love.png</normaloff>:/last.fm/love.png</iconset> <normaloff>:/last.fm/love.png</normaloff>:/last.fm/love.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -631,7 +631,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/last.fm/ban.png</normaloff>:/last.fm/ban.png</iconset> <normaloff>:/last.fm/ban.png</normaloff>:/last.fm/ban.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -640,7 +640,7 @@
</action> </action>
<action name="action_clear_playlist"> <action name="action_clear_playlist">
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/clear-list.png</normaloff>:/clear-list.png</iconset> <normaloff>:/clear-list.png</normaloff>:/clear-list.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -652,7 +652,7 @@
</action> </action>
<action name="action_edit_track"> <action name="action_edit_track">
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/edit-track.png</normaloff>:/edit-track.png</iconset> <normaloff>:/edit-track.png</normaloff>:/edit-track.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -673,10 +673,13 @@
<property name="text"> <property name="text">
<string>Edit tag...</string> <string>Edit tag...</string>
</property> </property>
<property name="shortcut">
<string>F2</string>
</property>
</action> </action>
<action name="action_configure"> <action name="action_configure">
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/configure.png</normaloff>:/configure.png</iconset> <normaloff>:/configure.png</normaloff>:/configure.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -690,7 +693,7 @@
</action> </action>
<action name="action_shuffle"> <action name="action_shuffle">
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/shuffle.png</normaloff>:/shuffle.png</iconset> <normaloff>:/shuffle.png</normaloff>:/shuffle.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -699,7 +702,7 @@
</action> </action>
<action name="action_add_media"> <action name="action_add_media">
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/open_media.png</normaloff>:/open_media.png</iconset> <normaloff>:/open_media.png</normaloff>:/open_media.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -708,7 +711,7 @@
</action> </action>
<action name="action_add_stream"> <action name="action_add_stream">
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/open_stream.png</normaloff>:/open_stream.png</iconset> <normaloff>:/open_stream.png</normaloff>:/open_stream.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -717,7 +720,7 @@
</action> </action>
<action name="action_open_media"> <action name="action_open_media">
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/open_media.png</normaloff>:/open_media.png</iconset> <normaloff>:/open_media.png</normaloff>:/open_media.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -726,7 +729,7 @@
</action> </action>
<action name="action_cover_manager"> <action name="action_cover_manager">
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/download.png</normaloff>:/download.png</iconset> <normaloff>:/download.png</normaloff>:/download.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -735,7 +738,7 @@
</action> </action>
<action name="action_shuffle_mode"> <action name="action_shuffle_mode">
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/media-playlist-shuffle.png</normaloff>:/media-playlist-shuffle.png</iconset> <normaloff>:/media-playlist-shuffle.png</normaloff>:/media-playlist-shuffle.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -744,7 +747,7 @@
</action> </action>
<action name="action_repeat_mode"> <action name="action_repeat_mode">
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/media-playlist-repeat.png</normaloff>:/media-playlist-repeat.png</iconset> <normaloff>:/media-playlist-repeat.png</normaloff>:/media-playlist-repeat.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -753,7 +756,7 @@
</action> </action>
<action name="action_remove_from_playlist"> <action name="action_remove_from_playlist">
<property name="icon"> <property name="icon">
<iconset> <iconset resource="../data/data.qrc">
<normaloff>:/list-remove.png</normaloff>:/list-remove.png</iconset> <normaloff>:/list-remove.png</normaloff>:/list-remove.png</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -862,6 +865,8 @@
<container>1</container> <container>1</container>
</customwidget> </customwidget>
</customwidgets> </customwidgets>
<resources/> <resources>
<include location="../data/data.qrc"/>
</resources>
<connections/> <connections/>
</ui> </ui>

View File

@ -540,6 +540,9 @@ msgstr "Nastaví hodnoty pro zvolené skladby..."
msgid "Edit tag..." msgid "Edit tag..."
msgstr "" msgstr ""
msgid "F2"
msgstr ""
msgid "Configure Clementine..." msgid "Configure Clementine..."
msgstr "Nastavit Clementine..." msgstr "Nastavit Clementine..."

View File

@ -543,6 +543,9 @@ msgstr "Δώσε τιμή σε όλα τα επιλεγμένα κομμάτια
msgid "Edit tag..." msgid "Edit tag..."
msgstr "Τροποποίησησ ετικέτας..." msgstr "Τροποποίησησ ετικέτας..."
msgid "F2"
msgstr ""
msgid "Configure Clementine..." msgid "Configure Clementine..."
msgstr "Παραμετροποίηση του Clementine..." msgstr "Παραμετροποίηση του Clementine..."

View File

@ -542,6 +542,9 @@ msgstr "Cambiar valor para todas las pistas seleccionadas..."
msgid "Edit tag..." msgid "Edit tag..."
msgstr "Editar etiqueta..." msgstr "Editar etiqueta..."
msgid "F2"
msgstr ""
msgid "Configure Clementine..." msgid "Configure Clementine..."
msgstr "Configurar Clementine..." msgstr "Configurar Clementine..."

View File

@ -542,6 +542,9 @@ msgstr "Définir une valeur pour toutes les pistes sélectionnées..."
msgid "Edit tag..." msgid "Edit tag..."
msgstr "Modifier la tag..." msgstr "Modifier la tag..."
msgid "F2"
msgstr ""
msgid "Configure Clementine..." msgid "Configure Clementine..."
msgstr "Configurer Clementine..." msgstr "Configurer Clementine..."

View File

@ -538,6 +538,9 @@ msgstr "Ustaw wartość dla wszystkich zaznaczonych utworów..."
msgid "Edit tag..." msgid "Edit tag..."
msgstr "Edytuj znacznik..." msgstr "Edytuj znacznik..."
msgid "F2"
msgstr ""
msgid "Configure Clementine..." msgid "Configure Clementine..."
msgstr "Konfiguruj Clementine..." msgstr "Konfiguruj Clementine..."

View File

@ -538,6 +538,9 @@ msgstr ""
msgid "Edit tag..." msgid "Edit tag..."
msgstr "" msgstr ""
msgid "F2"
msgstr ""
msgid "Configure Clementine..." msgid "Configure Clementine..."
msgstr "Настроить Clementine..." msgstr "Настроить Clementine..."

View File

@ -541,6 +541,9 @@ msgstr "Nastaviť hodnotu pre vybraté skladby..."
msgid "Edit tag..." msgid "Edit tag..."
msgstr "Upraviť tag..." msgstr "Upraviť tag..."
msgid "F2"
msgstr ""
msgid "Configure Clementine..." msgid "Configure Clementine..."
msgstr "Nastaviť Clementine..." msgstr "Nastaviť Clementine..."

View File

@ -534,6 +534,9 @@ msgstr ""
msgid "Edit tag..." msgid "Edit tag..."
msgstr "" msgstr ""
msgid "F2"
msgstr ""
msgid "Configure Clementine..." msgid "Configure Clementine..."
msgstr "" msgstr ""