[Goodies-dev] [Bug 11284] New: default tooltip does not work

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Fri Nov 7 20:07:37 CET 2014


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

            Bug ID: 11284
           Summary: default tooltip does not work
    Classification: Panel Plugins
           Product: Xfce4-genmon-plugin
           Version: git
          Hardware: All
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: frivoal at xfce.org
          Reporter: henry.hu.sh at gmail.com
        QA Contact: goodies-dev at xfce.org

Created attachment 5730
  --> https://bugzilla.xfce.org/attachment.cgi?id=5730&action=edit
patch to fix the problem

Currently the default tooltip is broken.
In main.c:226, it says
acToolTips = g_strdup_printf (acToolTips, "%s\n"
            "----------------\n"
            "%s\n"
            "Period (s): %d", poConf->acTitle, poConf->acCmd,
            poConf->iPeriod_ms / 1000);

But it should be
acToolTips = g_strdup_printf ("%s\n"
            "----------------\n"
            "%s\n"
            "Period (s): %d", poConf->acTitle, poConf->acCmd,
            poConf->iPeriod_ms / 1000);
The first argument of g_strdup_printf is 'format', so the current call is
incorrect.

Patch attached.

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


More information about the Goodies-dev mailing list