From 2442c44015a598921e46540b11c70b4472159aa9 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Sun, 18 Sep 2011 14:13:53 +0100 Subject: [PATCH] info: Add some debug output Before setting the hostname properties. --- panels/info/cc-info-panel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c index 1d405618e..4e86745fb 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),