[rhythmbox] rhythmbox-client: make --quit work



commit 6d4f58c937b92d431f1ed537d713e15d07d7b72e
Author: Jonathan Matthew <jonathan d14n org>
Date:   Sat Aug 24 11:24:49 2013 +1000

    rhythmbox-client: make --quit work

 data/rhythmbox-client.1 |    3 +++
 remote/dbus/rb-client.c |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/data/rhythmbox-client.1 b/data/rhythmbox-client.1
index 2443c81..ef4b7bc 100644
--- a/data/rhythmbox-client.1
+++ b/data/rhythmbox-client.1
@@ -39,6 +39,9 @@ Enable debug output
 .B \-\-no-start
 Do not start a new instance of rhythmbox
 .TP
+.B \-\-quit
+Quit rhythmbox
+.TP
 .B \-\-no-present
 Don't present an existing rhythmbox window
 .TP
diff --git a/remote/dbus/rb-client.c b/remote/dbus/rb-client.c
index abff0e4..f9b541a 100644
--- a/remote/dbus/rb-client.c
+++ b/remote/dbus/rb-client.c
@@ -734,7 +734,7 @@ main (int argc, char **argv)
        /* activate or quit */
        if (quit) {
                rb_debug ("quitting existing instance");
-               g_action_group_activate_action (G_ACTION_GROUP (app), "Quit", NULL);
+               g_action_group_activate_action (G_ACTION_GROUP (app), "quit", NULL);
                exit (0);
        }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]