[gnome-control-center/gnome-3-2] info: Add some debug output
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-2] info: Add some debug output
- Date: Sun, 18 Sep 2011 13:16:09 +0000 (UTC)
commit b1b78b607a51689587ea6106059dbe09ed55304a
Author: Bastien Nocera <hadess hadess net>
Date: Sun Sep 18 14:13:53 2011 +0100
info: Add some debug output
Before setting the hostname properties.
panels/info/cc-info-panel.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index 04216cd..2e45bdb 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -1083,6 +1083,7 @@ info_panel_set_hostname (CcInfoPanel *self,
GVariant *variant;
GError *error = NULL;
+ g_debug ("Setting PrettyHostname to '%s'", text);
variant = g_dbus_proxy_call_sync (self->priv->hostnamed_proxy,
"SetPrettyHostname",
g_variant_new ("(sb)", text, FALSE),
@@ -1102,6 +1103,7 @@ info_panel_set_hostname (CcInfoPanel *self,
hostname = pretty_hostname_to_static (text, FALSE);
g_assert (hostname);
+ g_debug ("Setting StaticHostname to '%s'", hostname);
variant = g_dbus_proxy_call_sync (self->priv->hostnamed_proxy,
"SetStaticHostname",
g_variant_new ("(sb)", hostname, FALSE),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]