aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2014-02-19 16:09:16 +0100
committerSebastien Bacher <seb128@ubuntu.com>2014-02-19 16:09:16 +0100
commita53bb57f7fae9ba4b55cc93a895cf8bbdae60984 (patch)
treea45ab96257620a27f29d7ea3b15e3ef88c5fd886
parentf4bfd8763339543cf2efbcfe4b890f8246865c32 (diff)
downloadayatana-indicator-keyboard-a53bb57f7fae9ba4b55cc93a895cf8bbdae60984.tar.gz
ayatana-indicator-keyboard-a53bb57f7fae9ba4b55cc93a895cf8bbdae60984.tar.bz2
ayatana-indicator-keyboard-a53bb57f7fae9ba4b55cc93a895cf8bbdae60984.zip
use unity-control-center instead of gnome-control-center
-rw-r--r--lib/main.vala2
l---------tests/execute/unity-control-center (renamed from tests/execute/gnome-control-center)0
-rw-r--r--tests/main.vala2
3 files changed, 2 insertions, 2 deletions
diff --git a/lib/main.vala b/lib/main.vala
index ffc558ba..64dc86a5 100644
--- a/lib/main.vala
+++ b/lib/main.vala
@@ -781,7 +781,7 @@ public class Indicator.Keyboard.Service : Object {
[DBus (visible = false)]
private void handle_activate_settings (Variant? parameter) {
try {
- Process.spawn_command_line_async ("gnome-control-center region layouts");
+ Process.spawn_command_line_async ("unity-control-center region layouts");
} catch (SpawnError error) {
warning ("error: %s", error.message);
}
diff --git a/tests/execute/gnome-control-center b/tests/execute/unity-control-center
index 849e205e..849e205e 120000
--- a/tests/execute/gnome-control-center
+++ b/tests/execute/unity-control-center
diff --git a/tests/main.vala b/tests/main.vala
index d84de7ee..dca3b8b2 100644
--- a/tests/main.vala
+++ b/tests/main.vala
@@ -240,7 +240,7 @@ public class Tests : Object, Fixture {
((!) _service).disconnect (signal_name);
stderr.printf ("_service.command = \"%s\"\n", (!) ((!) _service).command);
- assert (strcmp ((!) ((!) _service).command, "'gnome-control-center region layouts'") == 0);
+ assert (strcmp ((!) ((!) _service).command, "'unity-control-center region layouts'") == 0);
}
public void test_migration () {