panel plugins want command combo tooo; was: Re: patch for xfce4-panel

Danny Milosavljevic danny.milo at gmx.net
Fri Jan 9 23:30:27 CET 2004


Am Fre, den 09.01.2004 schrieb Danny Milosavljevic um 22:00:
> Hey Jasper,
> 
> what about adding a function to the panel which
> - is made available to the plugins, for use in create_options
> - receives:
>     Control * ?
>     an optional GtkSizeGroup
> - creates:
>     some boxes, eventboxes, whatever,
>     the command entry or the combo if applicable, 
>     the openbutton, 
>     the opendialog,
>     the "exec in terminal" checkbutton
>     the "use startup notification" checkbutton
> - returns:
>     the (outermost) GtkWidget *, to be used in packing
>     a GtkEntry *
>     an optional GtkCombo *
>     the two checkbuttons
>   [best all in a g_new'ed struct since additions are easier]
> 
> ? :)

attached... yet untested ;)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: item_dialog.c.patch
Type: text/x-patch
Size: 3188 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20040109/88bef42c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: panel-command.h
Type: text/x-c-header
Size: 410 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20040109/88bef42c/attachment-0001.bin>


More information about the Xfce4-dev mailing list