info: Add some debug output

Before setting the hostname properties.
This commit is contained in:
Bastien Nocera 2011-09-18 14:13:53 +01:00
parent 1ce23f44d5
commit 2442c44015

View file

@ -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),