[gnome-settings-daemon] wacom: Fix calling the calibration from the command-line



commit 49365c17c882e6264dc06fe1846aff230d96e66a
Author: Joaquim Rocha <jrocha redhat com>
Date:   Thu Jun 6 15:57:00 2013 +0200

    wacom: Fix calling the calibration from the command-line
    
    It was using the device as first argument and the action as the
    second but this has been changed in g-c-c and is the other way
    around.

 plugins/wacom/gsd-wacom-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/wacom/gsd-wacom-manager.c b/plugins/wacom/gsd-wacom-manager.c
index 77eeb5e..49b92aa 100644
--- a/plugins/wacom/gsd-wacom-manager.c
+++ b/plugins/wacom/gsd-wacom-manager.c
@@ -1520,7 +1520,7 @@ on_notification_action (NotifyNotification *notification,
         device_name = gsd_wacom_device_get_name (manager->priv->calibration_device);
 
         if (g_strcmp0 (action, "run-calibration") == 0) {
-                command = g_strdup_printf ("gnome-control-center wacom \"%s\" run-calibration",
+                command = g_strdup_printf ("gnome-control-center wacom run-calibration \"%s\"",
                                            device_name);
                 success = g_spawn_command_line_async (command, &error);
                 if (!success) {


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