hi, I don't think this function can be made as a plugin, since it needs to have the panel move entirely. Panel plugins, internal or external, are children of panel Item container directly (the internal condition ) or first wrapped in gtkplug which then inserted into gtksocket -- the parent class or external item, and finally the socket item being packed into panel's item container. In one word, neither of the two kinds of plugins can access Panel's address and have panel the desired behavior. Sure, we can also have the plugins communicate with panel trunk through client messages, however, we cannot achieve the goal without modify the panel proper -- add a new client message interface.<br>
<br>That's why I have to have this panel patch.<br>Do you have any other good ideas ?<br><br><div class="gmail_quote">On Tue, May 13, 2008 at 1:32 AM, Brian J. Tarricone <<a href="mailto:bjt23@cornell.edu">bjt23@cornell.edu</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Someone already responded to your mail.<br>
<br>
This isn't something that makes sense to put in the panel. You'll want<br>
to create a plugin for it.<br>
<font color="#888888"><br>
-brian<br>
</font><div><div></div><div class="Wj3C7c"><br>
joy zhao wrote:<br>
> Hi,<br>
> I'd commit a patch for xfce4-panel, however, I don't know whom exactly I<br>
> should send this mail to . So I just send it to this address. If it's no t<br>
> a proper way, can anyone be kindly enough to let me know ? Thanks!<br>
> This patch is to add a show/hide button on panel, which, when clicked, will<br>
> toggle panel's show/hide status, and for example, have panel hide to left<br>
> corner or bottom corner.<br>
><br>
> users can choose whether to have this button on panel in panel property<br>
> dialog.<br>
><br>
><br>
><br>
> The attachment is my patch.<br>
><br>
><br>
><br>
> YanZhao<br>
><br>
><br>
><br>
</div></div>> ------------------------------------------------------------------------<br>
<div><div></div><div class="Wj3C7c">><br>
> _______________________________________________<br>
> Xfce4-dev mailing list<br>
> <a href="mailto:Xfce4-dev@xfce.org">Xfce4-dev@xfce.org</a><br>
> <a href="http://foo-projects.org/mailman/listinfo/xfce4-dev" target="_blank">http://foo-projects.org/mailman/listinfo/xfce4-dev</a><br>
_______________________________________________<br>
Xfce4-dev mailing list<br>
<a href="mailto:Xfce4-dev@xfce.org">Xfce4-dev@xfce.org</a><br>
<a href="http://foo-projects.org/mailman/listinfo/xfce4-dev" target="_blank">http://foo-projects.org/mailman/listinfo/xfce4-dev</a><br>
</div></div></blockquote></div><br>