remote-desktop: Set "—" as the placeholder for the "Port" row subtitle

Instead of showing an empty space as the placeholder for the "Port" row
subtitle, use "—", like Nautilus and Disks does when a value is empty,
for example.
This commit is contained in:
Automeris naranja 2024-06-09 18:26:50 -03:00
parent fdb0528464
commit cfcea08372
2 changed files with 2 additions and 2 deletions

View file

@ -545,7 +545,7 @@ format_port_for_row (GBinding *binding,
int port = g_value_get_int (from_value);
if (port <= 0)
g_value_set_string (to_value, " ");
g_value_set_string (to_value, "");
else
g_value_take_string (to_value, g_strdup_printf ("%u", port));

View file

@ -411,7 +411,7 @@ format_port_for_row (GBinding *binding,
int port = g_value_get_int (from_value);
if (port <= 0)
g_value_set_string (to_value, " ");
g_value_set_string (to_value, "");
else
g_value_take_string (to_value, g_strdup_printf ("%u", port));