[rhythmbox] shell-player: fix play shortcut, add shuffle and repeat shortcuts
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] shell-player: fix play shortcut, add shuffle and repeat shortcuts
- Date: Mon, 8 Apr 2013 21:52:20 +0000 (UTC)
commit 797ed54cd746eb5a4e1826c839c2da84b4e70c16
Author: Jonathan Matthew <jonathan d14n org>
Date: Tue Apr 9 07:51:32 2013 +1000
shell-player: fix play shortcut, add shuffle and repeat shortcuts
Part of https://bugzilla.gnome.org/show_bug.cgi?id=697533
shell/rb-shell-player.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/shell/rb-shell-player.c b/shell/rb-shell-player.c
index 24509fb..5a3f78e 100644
--- a/shell/rb-shell-player.c
+++ b/shell/rb-shell-player.c
@@ -3006,11 +3006,13 @@ rb_shell_player_constructed (GObject *object)
G_N_ELEMENTS (actions),
player);
- gtk_application_add_accelerator (GTK_APPLICATION (app), "<Ctrl>p", "app.play", g_variant_new_boolean
(TRUE));
+ gtk_application_add_accelerator (GTK_APPLICATION (app), "<Ctrl>p", "app.play", NULL);
gtk_application_add_accelerator (GTK_APPLICATION (app), "<Ctrl>Left", "app.play-previous", NULL);
gtk_application_add_accelerator (GTK_APPLICATION (app), "<Ctrl>Right", "app.play-next", NULL);
gtk_application_add_accelerator (GTK_APPLICATION (app), "<Ctrl>Up", "app.volume-up", NULL);
gtk_application_add_accelerator (GTK_APPLICATION (app), "<Ctrl>Down", "app.volume-down", NULL);
+ gtk_application_add_accelerator (GTK_APPLICATION (app), "<Ctrl>r", "app.play-repeat",
g_variant_new_boolean (TRUE));
+ gtk_application_add_accelerator (GTK_APPLICATION (app), "<Ctrl>u", "app.play-shuffle",
g_variant_new_boolean (TRUE));
player_settings_changed_cb (player->priv->settings, "transition-time", player);
player_settings_changed_cb (player->priv->settings, "play-order", player);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]