diff options
author | Miguel de Icaza <miguel@ximian.com> | 2001-03-17 10:33:55 +0800 |
---|---|---|
committer | Miguel de Icaza <miguel@src.gnome.org> | 2001-03-17 10:33:55 +0800 |
commit | f67a81d4aa710ce9fff8041f51da57f7a828e137 (patch) | |
tree | 84f58b600b303ca3eb18856917d56c0285ca3a95 /widgets/menus/gal-view-menus.c | |
parent | dfb396395e6ee5e847a82f8ad1d78fabb2628f9f (diff) | |
download | gsoc2013-evolution-f67a81d4aa710ce9fff8041f51da57f7a828e137.tar gsoc2013-evolution-f67a81d4aa710ce9fff8041f51da57f7a828e137.tar.gz gsoc2013-evolution-f67a81d4aa710ce9fff8041f51da57f7a828e137.tar.bz2 gsoc2013-evolution-f67a81d4aa710ce9fff8041f51da57f7a828e137.tar.lz gsoc2013-evolution-f67a81d4aa710ce9fff8041f51da57f7a828e137.tar.xz gsoc2013-evolution-f67a81d4aa710ce9fff8041f51da57f7a828e137.tar.zst gsoc2013-evolution-f67a81d4aa710ce9fff8041f51da57f7a828e137.zip |
Added accelerator to elements missing accelerators (Reply, Inline, Quoted,
2001-03-16 Miguel de Icaza <miguel@ximian.com>
* evolution-mail.xml: Added accelerator to elements missing
accelerators (Reply, Inline, Quoted, Attachments, Empty Trash,
Full Headers).
* evolution.xml: Added a placeholder for the beginning of the
view.
2001-03-16 Miguel de Icaza <miguel@ximian.com>
* menus/gal-view-menus.c (build_menus): Hook this up under the
"ViewBegin" node.
svn path=/trunk/; revision=8772
Diffstat (limited to 'widgets/menus/gal-view-menus.c')
-rw-r--r-- | widgets/menus/gal-view-menus.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/menus/gal-view-menus.c b/widgets/menus/gal-view-menus.c index 6c8de18af0..6dc4633c84 100644 --- a/widgets/menus/gal-view-menus.c +++ b/widgets/menus/gal-view-menus.c @@ -148,10 +148,7 @@ define_views(BonoboUIComponent *component, static char * build_menus(GalViewMenus *menus) { - BonoboUINode *root; - BonoboUINode *menu; - BonoboUINode *submenu; - BonoboUINode *menuitem; + BonoboUINode *root, *menu, *submenu, *place, *menuitem; char *xml; xmlChar *string; int length; @@ -166,7 +163,10 @@ build_menus(GalViewMenus *menus) submenu = bonobo_ui_node_new_child(menu, "submenu"); bonobo_ui_node_set_attr(submenu, "name", "View"); - submenu = bonobo_ui_node_new_child(submenu, "submenu"); + place = bonobo_ui_node_new_child(submenu, "placeholder"); + bonobo_ui_node_set_attr(place, "name", "ViewBegin"); + + submenu = bonobo_ui_node_new_child(place, "submenu"); bonobo_ui_node_set_attr(submenu, "name", "CurrentView"); bonobo_ui_node_set_attr(submenu, "_label", _("_Current View")); |