aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/main.vala18
-rw-r--r--debian/copyright18
-rw-r--r--lib/common.vala18
-rw-r--r--lib/main.vala18
-rw-r--r--tests/main.vala18
5 files changed, 81 insertions, 9 deletions
diff --git a/data/main.vala b/data/main.vala
index e229ba3f..6457c61f 100644
--- a/data/main.vala
+++ b/data/main.vala
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2013 Canonical Ltd.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors: William Hua <william.hua@canonical.com>
+ */
+
int main (string[] args) {
var force = false;
var width = 22.0;
diff --git a/debian/copyright b/debian/copyright
index 35c18040..6354e29b 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -4,25 +4,25 @@ Source: https://code.launchpad.net/indicator-keyboard
Files: *
Copyright: 2013 Canonical Ltd.
-License: LGPL-3.0
+License: GPL-3.0
Files: debian/*
Copyright: 2013 Canonical Ltd.
-License: LGPL-3.0
+License: GPL-3.0
-License: LGPL-3.0
+License: GPL-3.0
This package is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; version 3 of
- the License.
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; version 3 of the
+ License.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
+ General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
- On Debian systems, the complete text of the GNU Lesser General
- Public License can be found in "/usr/share/common-licenses/LGPL-3".
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in "/usr/share/common-licenses/GPL-3".
diff --git a/lib/common.vala b/lib/common.vala
index 2c197c7b..4d8b9add 100644
--- a/lib/common.vala
+++ b/lib/common.vala
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2013 Canonical Ltd.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors: William Hua <william.hua@canonical.com>
+ */
+
string get_abbreviation (string name) {
var index = 0;
unichar first;
diff --git a/lib/main.vala b/lib/main.vala
index bb908340..5fb251dd 100644
--- a/lib/main.vala
+++ b/lib/main.vala
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2013 Canonical Ltd.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors: William Hua <william.hua@canonical.com>
+ */
+
[DBus (name = "com.canonical.indicator.keyboard")]
public class Indicator.Keyboard.Service : Object {
diff --git a/tests/main.vala b/tests/main.vala
index f4577f83..36a915c7 100644
--- a/tests/main.vala
+++ b/tests/main.vala
@@ -1,3 +1,21 @@
+/*
+ * Copyright 2013 Canonical Ltd.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors: William Hua <william.hua@canonical.com>
+ */
+
const int TIMEOUT_S = 1;
const int TIMEOUT_MS = 1000;