List Info

Thread: Adding buttons to the toolbar




Adding buttons to the toolbar
user name
2006-11-05 12:27:43
Hi,

Le samedi 04 novembre 2006 à 22:12 -0500, Diego Escalante a
écrit :
> So my question is: How do I add a custom button to the
toolbar that is
> marked as unique so there can only be one copy of it
and, of course,
> it's not listed in the editor when it's already in the
toolbar?

You add it to the toolbars model available actions, by
loading a xml
file like this into the model:

<?xml version="1.0"?>
<toolbars version="1.0">
  <available>
    <toolitem name="MyItem" />
  </available>
</toolbars>

Regards,
	Christian

_______________________________________________
epiphany-list mailing list
epiphany-listgnome.org

http://mail.gnome.org/mailman/listinfo/epiphany-list
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )