! 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 !
clock plugin upgrade
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-panel

Comments

Description Tim Baga 2006-09-07 09:11:47 CEST
Hello!
We had reported on this patch before (you can see it here: http://bugzilla.xfce.org/show_bug.cgi?id=2264). We had some time to think about this plugin more, and make a very small change.
We thought, that launching user-defined command on double-click is too Цindows-styled, and changed double-click on single-click. Also, we had fixed small memleak.

So, here is list of things this patch offers:
1. User is able to select what program to run by a single-click on clock plugin.
2. User is able to set custom clock-formatting string (strftime based). Corresponding changes to xfce_clock widget were already accepted by Olivier Fourdan.

As always, feedback is appreciated. Mail us at dev@verbdev.com.
Comment 1 Tim Baga 2006-09-07 09:13:18 CEST
Created attachment 778 
xfce4-panel clock plugin patch.
Comment 2 Nick Schermer editbugs 2006-09-07 14:47:32 CEST
IMHO, this is just adding way too much options to the clock plugin. Orage has it's own panel plugin with user defined time strings and a button for showning the main window.
I know the current clock is simple, but it does what it should do: display time and date. So improving the clock plugin is good, but if you want to launch applications: use the launcher plugin. This way Xfce will be as fast and simple like it should be :-).
Comment 3 deniska 2006-09-07 18:26:10 CEST
Nick, there is two issues:

1) some users like to use another scheduler software (orage clock plugin is not configurable to run another program)

2) the default-enabled clock plugin is mostly unusable because it don't show date and requires additional launcher (additional space) on panel to run calendar

I'm personally found this patch very interesting and my panel's clock now seems like Gnome's! ;)
Comment 4 Jasper Huijsmans editbugs 2006-09-09 17:15:19 CEST
Since we are in code freeze for the release of Xfce 4.4.0, I really won't add this now. The single or double click option to run a command is a good one, the others I'm not sure about. I'll look at this again after the release.
Comment 5 Christian Dywan 2007-03-13 13:42:28 CET
I would as well like to have the double-click program option. Indeed any new format options would bloat it.
Comment 6 Nick Schermer editbugs 2007-07-09 08:15:49 CEST
The clock plugin in trunk has support for custom time formats. Click support will probably be added, but I need to discuss this a bit with Jasper and Juha.

Bug #2278

Reported by:
Tim Baga
Reported on: 2006-09-07
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
Unspecified

Attachments

xfce4-panel clock plugin patch. (10.92 KB, text/x-patch)
2006-09-07 09:13 CEST , Tim Baga
no flags

Additional information