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:
parent
fdb0528464
commit
cfcea08372
2 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue