Proposal for a new internal panel-plugin : a "fake" handle

Jasper Huijsmans jasper at xfce.org
Sun Jun 24 21:45:01 CEST 2007


Hey Landry,

I made some changes to your patch:

- Use a struct to keep configuration: you can't use global data, because 
there can be more than one separator created by the same plugin (this is 
  one of the few differences between external and internal plugins.

- Add old-style dotted handle.

Please try revision 25853 and let me know what you think.

Now, about the bugs...

Landry Breuil wrote:
...
> 
> I re-checked this assertions twice on my not-full-width panel, so let's 
> summarise :
> - if expanding the separator (and with line checked) and iconbox is set 
> to "use available space", iconbox disappears AND line is drawn at the 
> middle of expanded separator (maybe i didn't see it last time) => 
> conclusion, i can only have one item expanded on the panel, and the last 
> item expanded shrinks the previous item which was expanded before.
> - i confirm #2, and #3 seems the same for me.
> Another idea would be to make the "expand" setting available (hidden or 
> greyed otherwise) in separator and iconbox only if parent panel is full 
> width and if no other item is already expanded, but this seems 
> complicated to me.
> 
> My previous posted patch doesn't solve this issue, but at least it makes 
> line and expand settings exclusive :)
> 
> I hope i managed to be clear :)

I didn't look at it yet, but it confirms what I thought. It's one bug 
less than in your first post, but there's still something going wrong.

Thanks,
	Jasper




More information about the Xfce4-dev mailing list