[Xfce-bugs] [Bug 2264] New: xfce4-clock panel plugin and libxfcegui4 enhancement.

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon Sep 4 15:51:38 CEST 2006


Do not reply to this email.  To comment on this bug, please visit:
http://bugzilla.xfce.org/show_bug.cgi?id=2264

           Summary: xfce4-clock panel plugin and libxfcegui4 enhancement.
           Product: Xfce
           Version: 4.3.x (SVN trunk)
          Platform: All
               URL: http://verbdev.com
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Medium
         Component: general
        AssignedTo: xfce-bugs at xfce.org
        ReportedBy: fester at verbdev.com
                CC: fourdan at xfce.org


Hello.
I represent verbdev.com
Few days ago we've got an order to implement some features for xfce panel
plugin as follows:
1. Launch user-defined program on double-click on panel clock (default: orage).
2. Allow user define own format string for a clock (strftime-based).

We have contacted Olivier Fourdan, and he was glad to hear about these changes.
He suggested us to submit our patch to bugzilla.
Following this request we have
1. extended functionality of xfce4-clock panel plugin to handle double click
event and launch user-defined application.
2. extended interface of xfce_clock widget (in libxfcegui4) to allow user
switch clock formatting. Due to obvious reasons, user-defined clock view works
only for digital mode.
3. changed plugin's "properties" dialog  to allow user enter program to run and
format string for clock.

Unfortunately, we've made a sad mistake, and applied formatting rules of
xfce4-panel module to libxfcegui4 files. We are really very sorry, 
but due to a mess with backups originally formatted files were lost :(
So, to apply our patch corretly, first you have to indent
libxfcegui4/libxfcegui4/xfce_clock.h and libxfcegui4/libxfcegui4/xfce_clock.c
by the rules,
contained in .indent.pro file (xfce4-panel/.indent.pro), and then apply our
patch. Sorry once againg, guys.

This module is still in testing, but looks working now, so it would be great to
put current patch in review and to discuss inclusion of it in the upcoming
release.

You can download patch here: http://verbdev.com/files/xfce.diff

ps: Please, don't blame us, this is our first contribution :> And if there is
any way we can assist you in adopting this patch to xfce, please contact us
(dev at verbdev.com).


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



More information about the Xfce-bugs mailing list