[gnome-control-center] display: Show refresh rates with two digits after the radix



commit 7ed4efef50c81ebcd242f7058b479341230747bc
Author: Rui Matos <tiagomatos gmail com>
Date:   Fri Aug 25 16:19:57 2017 +0200

    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.

 panels/display/cc-display-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index 371f5c6..d0bfd47 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]