[Goodies-dev] [Bug 5124] New: Add ability to set text colour in genmon plugin

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Mar 18 17:56:57 CET 2009


http://bugzilla.xfce.org/show_bug.cgi?id=5124

           Summary: Add ability to set text colour in genmon plugin
           Product: Xfce Panel Plugins
           Version: unspecified
          Platform: PC (x86_64)
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: Medium
         Component: genmon
        AssignedTo: goodies-dev at xfce.org
        ReportedBy: chris at isbd.co.uk


Created an attachment (id=2242)
 --> (http://bugzilla.xfce.org/attachment.cgi?id=2242)
Patch for main.c as described

I had a need for bits of coloured text in the XFCE panel.  xfce-genmon-plugin
was exactly what I wanted except for the inability to set colours.

This patch allows use of the gtk pango markup in the text passed to
xfce-genmon-plugin and thus one can colour the text.

The patch simply changes a couple of calls from gtk_label_set_text() to
gtk_label_set_markup(), I have also increased the text buffer size because the
markup can use quite a bit of 'non-displayed' space.

The patch is applied to main.c in xfce4-genmon-plugin-3.2/panel-plugin.

I have added the patch as an attachment - cgpatch.

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Goodies-dev mailing list