! 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 !
Documentation Missing Important Point.
Status:
RESOLVED: FIXED
Product:
Xfce4-panel

Comments

Description Ori Bernstein 2006-12-11 22:06:20 CET
If a panel plugin doesn't implement the "set-size" callback, it never recieves a size other than panel-size*panel-size. This, however, isn't documented anywhere, and bit me while writing a plugin a while back.

This may very well be a bug, but at the very least it should be documented.

Jasper -- is there any reason that this size is forced onto the plugin?
Comment 1 Ori Bernstein 2006-12-11 22:08:06 CET
Created attachment 899 
Change the docs.

Patch to make the docs clear about this issue.
Comment 2 Jasper Huijsmans editbugs 2006-12-14 19:54:26 CET
(In reply to comment #0)
> If a panel plugin doesn't implement the "set-size" callback, it never recieves
> a size other than panel-size*panel-size. This, however, isn't documented
> anywhere, and bit me while writing a plugin a while back.
> 
> This may very well be a bug, but at the very least it should be documented.
> 
> Jasper -- is there any reason that this size is forced onto the plugin?
> 

Yes, it's meant to work like this. Plugins get a lot of freedom in setting their size. I want to make sure that if a plugin messes up the panel size, it is a conscious decision and I can direct the angry mob at the responsible plugin maintainer ;-) 

I've fixed the source file documentation and I will commit it once I have found out how to regenerate the docs again...

Thanks.
Comment 3 Jasper Huijsmans editbugs 2006-12-14 21:40:22 CET
Fixed with revision 24106.

Bug #2657

Reported by:
Ori Bernstein
Reported on: 2006-12-11
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
Unspecified

Attachments

Change the docs. (704 bytes, text/x-patch)
2006-12-11 22:08 CET , Ori Bernstein
no flags

Additional information