From e48f87b613be52914d43fa74e63bcc11d7ef2dec Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 1 Jul 2008 21:30:25 +0200 Subject: rename smartkit to g-d-h internally --- SmartKit.conf | 6 +++--- atasmart.vapi | 8 ++++---- gnome-disk-health.vala | 14 +++++++------- smartkitd.vala | 16 ++++++++-------- 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 @@ - + - - + + 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 . ***/ 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 . ***/ @@ -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 . ***/ @@ -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) { -- cgit