This is an automated email from the git hooks/post-receive script.

ochosi pushed a 
commit to branch 
master
in repository xfce/xfce4-settings.

commit 050de79284bf2b427f8adec50673f53f82da258d
Author: Florian Schüller <florian.schuel...@gmail.com>
Date:   Wed Dec 25 20:53:35 2019 +0100

    display: Fixed warning and removed ratio
    
    Removed ratio to avoid the drop-down to be overloaded
---
 dialogs/display-settings/main.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index e070601..fe1a0cb 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -752,13 +752,13 @@ display_setting_resolutions_populate (GtkBuilder *builder)
                 guint gcd_tmp = gcd (modes[n].width, modes[n].height);
                 guint format_x = modes[n].width / gcd_tmp;
                 guint format_y = modes[n].height / gcd_tmp;
-                name = g_strdup_printf ("%dx%d <span fgalpha='50%'>%d:%d - 
%.3f</span>", modes[n].width,
-                                        modes[n].height, format_x, format_y, 
ratio);
+                name = g_strdup_printf ("%dx%d <span 
fgalpha='50%%'>%d:%d</span>", modes[n].width,
+                                        modes[n].height, format_x, format_y);
             }
             else
             {
-                name = g_strdup_printf ("%dx%d <span fgalpha='50%'>%s - 
%.3f</span>", modes[n].width,
-                                        modes[n].height, ratio_text, ratio);
+                name = g_strdup_printf ("%dx%d <span 
fgalpha='50%%'>%s</span>", modes[n].width,
+                                        modes[n].height, ratio_text);
             }
             g_free(ratio_text);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to