[gnome-control-center] info: Add some debug output
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] info: Add some debug output
- Date: Sun, 18 Sep 2011 13:16:19 +0000 (UTC)
commit 2442c44015a598921e46540b11c70b4472159aa9
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 1d40561..4e86745 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -1574,6 +1574,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),
@@ -1593,6 +1594,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]