[Goodies-dev] [Bug 12957] New: Proposal to reduce jitter displaying of up/down load values

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Nov 13 15:16:23 CET 2016


https://bugzilla.xfce.org/show_bug.cgi?id=12957

            Bug ID: 12957
           Summary: Proposal to reduce jitter displaying  of up/down load
                    values
    Classification: Panel Plugins
           Product: Xfce4-netload-plugin
           Version: git
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: Low
         Component: General
          Assignee: frivoal at xfce.org
          Reporter: rdstmc at free.fr
        QA Contact: goodies-dev at xfce.org
  Target Milestone: ---

In order to reduce jitter in the panel due to non fixed area for displayed
up/download number, I would like to propose this very simple modification :

Line 116, utils.c
change the original line 
  snprintf(formatstring, BUFSIZ, "%%.%df", digits);
by
snprintf(formatstring, BUFSIZ, "%%%d.%df\t",6, digits);

By doing this, the applet keeps is width regardless of numbers change.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the Goodies-dev mailing list