summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--SmartKit.conf6
-rw-r--r--atasmart.vapi8
-rw-r--r--gnome-disk-health.vala14
-rw-r--r--smartkitd.vala16
4 files changed, 22 insertions, 22 deletions
diff --git a/SmartKit.conf b/SmartKit.conf
index d74019a..c258508 100644
--- a/SmartKit.conf
+++ b/SmartKit.conf
@@ -4,11 +4,11 @@
<busconfig>
<policy user="root">
- <allow own="net.poettering.SmartKit"/>
+ <allow own="net.poettering.GnomeDiskHealth"/>
</policy>
<policy context="default">
- <allow send_destination="net.poettering.SmartKit"/>
- <allow receive_sender="net.poettering.SmartKit"/>
+ <allow send_destination="net.poettering.GnomeDiskHealth"/>
+ <allow receive_sender="net.poettering.GnomeDiskHealth"/>
</policy>
</busconfig>
diff --git a/atasmart.vapi b/atasmart.vapi
index 3acb02d..cf1c2a5 100644
--- a/atasmart.vapi
+++ b/atasmart.vapi
@@ -1,22 +1,22 @@
/*-*- Mode: C; c-basic-offset: 8 -*-*/
/***
- This file is part of SmartKit.
+ This file is part of gnome-disk-health.
Copyright 2008 Lennart Poettering
- SmartKit is free software; you can redistribute it and/or modify
+ gnome-disk-health 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, either version 2.1 of the
License, or (at your option) any later version.
- SmartKit is distributed in the hope that it will be useful, but
+ gnome-disk-health 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.
You should have received a copy of the GNU Lesser General Public
- License along with SmartKit. If not, If not, see
+ License along with gnome-disk-health. If not, If not, see
<http://www.gnu.org/licenses/>.
***/
diff --git a/gnome-disk-health.vala b/gnome-disk-health.vala
index a3fcd4d..20bcd96 100644
--- a/gnome-disk-health.vala
+++ b/gnome-disk-health.vala
@@ -1,22 +1,22 @@
/*-*- Mode: C; c-basic-offset: 8 -*-*/
/***
- This file is part of SmartKit.
+ This file is part of gnome-disk-health.
Copyright 2008 Lennart Poettering
- SmartKit is free software; you can redistribute it and/or modify
+ gnome-disk-health 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, either version 2.1 of the
License, or (at your option) any later version.
- SmartKit is distributed in the hope that it will be useful, but
+ gnome-disk-health 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.
You should have received a copy of the GNU Lesser General Public
- License along with SmartKit. If not, If not, see
+ License along with gnome-disk-health. If not, If not, see
<http://www.gnu.org/licenses/>.
***/
@@ -88,7 +88,7 @@ public class DiskHealth : Gtk.Builder {
try {
connection = DBus.Bus.get(DBus.BusType.SYSTEM);
- manager = connection.get_object("net.poettering.SmartKit", "/", "net.poettering.SmartKit.Manager");
+ manager = connection.get_object("net.poettering.GnomeDiskHealth", "/", "net.poettering.GnomeDiskHealth.Manager");
DBus.ObjectPath p;
@@ -104,7 +104,7 @@ public class DiskHealth : Gtk.Builder {
stderr.printf("Using D-Bus path %s\n", p);
- disk = connection.get_object("net.poettering.SmartKit", p, "net.poettering.SmartKit.Disk");
+ disk = connection.get_object("net.poettering.GnomeDiskHealth", p, "net.poettering.GnomeDiskHealth.Disk");
} catch (DBus.Error e) {
stderr.printf("D-Bus error: %s\n", e.message);
return false;
@@ -276,7 +276,7 @@ public class DiskHealth : Gtk.Builder {
string pretty_unit;
uint8 current, worst, threshold;
- attribute = connection.get_object("net.poettering.SmartKit", a, "net.poettering.SmartKit.Attribute");
+ attribute = connection.get_object("net.poettering.GnomeDiskHealth", a, "net.poettering.GnomeDiskHealth.Attribute");
/* id, name, text, icon, current, worst, threshold, type, verdict */
diff --git a/smartkitd.vala b/smartkitd.vala
index 1cbc41e..d096ade 100644
--- a/smartkitd.vala
+++ b/smartkitd.vala
@@ -1,22 +1,22 @@
/*-*- Mode: C; c-basic-offset: 8 -*-*/
/***
- This file is part of SmartKit.
+ This file is part of gnome-disk-health.
Copyright 2008 Lennart Poettering
- SmartKit is free software; you can redistribute it and/or modify
+ gnome-disk-health 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, either version 2.1 of the
License, or (at your option) any later version.
- SmartKit is distributed in the hope that it will be useful, but
+ gnome-disk-health 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.
You should have received a copy of the GNU Lesser General Public
- License along with SmartKit. If not, If not, see
+ License along with gnome-disk-health. If not, If not, see
<http://www.gnu.org/licenses/>.
***/
@@ -34,7 +34,7 @@ errordomain Error {
UNKNOWN_UNIT
}
-[DBus (name = "net.poettering.SmartKit.Attribute")]
+[DBus (name = "net.poettering.GnomeDiskHealth.Attribute")]
public interface AttributeAPI {
public abstract uint8 getId() throws Error;
public abstract string getName() throws Error;
@@ -48,7 +48,7 @@ public interface AttributeAPI {
public abstract uint64 getPrettyValue() throws Error;
}
-[DBus (name = "net.poettering.SmartKit.Disk")]
+[DBus (name = "net.poettering.GnomeDiskHealth.Disk")]
public interface DiskAPI {
public abstract string getPath() throws Error;
@@ -88,7 +88,7 @@ public interface DiskAPI {
public abstract DBus.ObjectPath[] getAttributes() throws Error;
}
-[DBus (name = "net.poettering.SmartKit.Manager")]
+[DBus (name = "net.poettering.GnomeDiskHealth.Manager")]
public interface ManagerAPI {
public abstract DBus.ObjectPath getDiskByUDI(string udi) throws Error;
public abstract DBus.ObjectPath getDiskByPath(string path) throws Error;
@@ -625,7 +625,7 @@ int main() {
dynamic DBus.Object bus = c.get_object("org.freedesktop.DBus", "/org/freedesktop/DBus", "org.freedesktop.DBus");
- uint request_name_result = bus.RequestName("net.poettering.SmartKit", (uint) 0);
+ uint request_name_result = bus.RequestName("net.poettering.GnomeDiskHealth", (uint) 0);
if (request_name_result == DBus.RequestNameReply.PRIMARY_OWNER) {