display: Show refresh rates with two digits after the radix

One digit isn't enough to distinguish between some modes. We probably
should do better mode filtering and/or grouping but that needs to
happen in mutter.
This commit is contained in:
Rui Matos 2017-08-25 16:19:57 +02:00
parent 6a9274a165
commit 7ed4efef50

View file

@ -3101,7 +3101,7 @@ get_frequency_string (CcDisplayMode *mode)
if (frequency)
return frequency;
frequency = g_strdup_printf (_("%.1lf Hz"), cc_display_mode_get_freq_f (mode));
frequency = g_strdup_printf (_("%.2lf Hz"), cc_display_mode_get_freq_f (mode));
g_object_set_data_full (G_OBJECT (mode), "frequency", frequency, g_free);
return frequency;