! 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 !
[Patch] Add command to execute on click
Status:
CLOSED: WONTFIX
Severity:
enhancement
Product:
Xfce4-panel

Comments

Description Enrico Tröger editbugs 2008-09-30 20:25:29 CEST
Created attachment 1851 
Add command to execute on click

I've written a little patch which adds a new option to execute a command when clicking on the clock plugin.

This is useful to execute e.g. 'orage' or any other calendar application.


It would be cool if this could go in before Beta 1 (feature freeze).

Thanks.
Comment 1 Nick Schermer editbugs 2008-10-01 16:38:57 CEST
I've rejected a patch like this not too long ago IIRC. IMO it's beyond the clock functionality and Orage has it's own clock with click support.
Comment 2 Enrico Tröger editbugs 2008-10-01 16:49:44 CEST
And the datetime plugin has also a similar functionality but it is unusuable in a vertical panel, the same way as Orage is unusable in such a configuration.
The LCD clock is the only clock widget which can be displayed in a vertical panel while staying readable.
Comment 3 Nick Schermer editbugs 2008-10-02 07:35:55 CEST
Well that's not really the point. A fact is: the clock is not a launcher.
Comment 4 Enrico Tröger editbugs 2008-10-02 13:04:53 CEST
Hmm ok. It has been just nice but I wrote now a little GTK app which simply shows a GtkCalendar widget and I added a launcer to my panel for this app. Not exactly what I wanted but it works.
Comment 5 Nick Schermer editbugs 2008-10-02 13:53:42 CEST
Plugins should only provide the functionality they _need_. We have to draw a line somewhere to keep Xfce 'lightweight'.I hope you understand.

Lucky enough you can always apply the patch yourself ;-).
Comment 6 Enrico Tröger editbugs 2008-10-02 15:22:19 CEST
Sure, you are right.
From my point of view it would have been a good addition according to my 'special' needs :).
But in general you are right, adding tons of possibly unnecessary code doesn't help at all.

Bug #4426

Reported by:
Enrico Tröger
Reported on: 2008-09-30
Last modified on: 2008-10-02

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
Unspecified

Attachments

Add command to execute on click (4.71 KB, patch)
2008-09-30 20:25 CEST , Enrico Tröger
no flags

Additional information