! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
default tooltip does not work
Status:
RESOLVED: FIXED
Product:
Xfce4-genmon-plugin
Component:
General

Comments

Description Henry Hu 2014-11-07 20:07:37 CET
Created attachment 5730 
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.
Comment 1 Landry Breuil editbugs 2014-11-23 21:42:48 CET
Mass-reassign all bugs from florian@ to goodies-dev@, thanks for the maintenance work! (and sorry for the bugmail spam..)
Comment 4 ToZ editbugs 2016-06-09 13:17:28 CEST
Marking bug report as resolved.

Bug #11284

Reported by:
Henry Hu
Reported on: 2014-11-07
Last modified on: 2016-06-09

People

Assignee:
Xfce-Goodies Maintainers
CC List:
1 user

Version

Attachments

patch to fix the problem (546 bytes, patch)
2014-11-07 20:07 CET , Henry Hu
no flags

Additional information