info: Add some debug output
Before setting the hostname properties.
This commit is contained in:
parent
1ce23f44d5
commit
2442c44015
1 changed files with 2 additions and 0 deletions
|
@ -1574,6 +1574,7 @@ info_panel_set_hostname (CcInfoPanel *self,
|
||||||
GVariant *variant;
|
GVariant *variant;
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|
||||||
|
g_debug ("Setting PrettyHostname to '%s'", text);
|
||||||
variant = g_dbus_proxy_call_sync (self->priv->hostnamed_proxy,
|
variant = g_dbus_proxy_call_sync (self->priv->hostnamed_proxy,
|
||||||
"SetPrettyHostname",
|
"SetPrettyHostname",
|
||||||
g_variant_new ("(sb)", text, FALSE),
|
g_variant_new ("(sb)", text, FALSE),
|
||||||
|
@ -1593,6 +1594,7 @@ info_panel_set_hostname (CcInfoPanel *self,
|
||||||
hostname = pretty_hostname_to_static (text, FALSE);
|
hostname = pretty_hostname_to_static (text, FALSE);
|
||||||
g_assert (hostname);
|
g_assert (hostname);
|
||||||
|
|
||||||
|
g_debug ("Setting StaticHostname to '%s'", hostname);
|
||||||
variant = g_dbus_proxy_call_sync (self->priv->hostnamed_proxy,
|
variant = g_dbus_proxy_call_sync (self->priv->hostnamed_proxy,
|
||||||
"SetStaticHostname",
|
"SetStaticHostname",
|
||||||
g_variant_new ("(sb)", hostname, FALSE),
|
g_variant_new ("(sb)", hostname, FALSE),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue