[gedit-list] Custom menu-bar items.
- From: arcachofo <santigoro gmail com>
- To: gedit-list gnome org
- Subject: [gedit-list] Custom menu-bar items.
- Date: Thu, 11 Jun 2009 07:42:33 -0700 (PDT)
I'm trying several things to customize Gedit. I would like new menu elements
in menu bar, for example this way (in a plugin):
# Menu item example, insert a new item in the Tools menu
ui_str = """<ui>
<menubar name="MenuBar">
<menu name="My_Menu" action="Tools">
<placeholder name="My_menu_Ops_1">
<menuitem name="ExamplePy" action="ExamplePy"/>
</placeholder>
</menu>
</menubar>
</ui>
"""
This way i have an extra "Tools" menu element, but for example this:
<menu name="My_Menu" action="Custom">
doesn't work, it looks like is possible adding new menu elements when they
have the same "action" name, but coesn't accept diferent names.
Is possible to create custom named elements in menu bar?
Thanks.
--
View this message in context: http://www.nabble.com/Custom-menu-bar-items.-tp23982702p23982702.html
Sent from the Gnome - Gedit mailing list archive at Nabble.com.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]