https://bugs.documentfoundation.org/show_bug.cgi?id=131063
--- Comment #19 from Jim Raykowski <[email protected]> --- (In reply to golemus from comment #18) > ok. Would it be difficult to implement it so that in future you could change > context menu of navigator through Tools -- Customize -- Context menus? Or > perhaps even the navigator toolbar (although I don't use the toolbar but I > guess somebody does as it is there). Best to open an enhancement request for adding a way to customizing the navigator context menu directly in Writer. You can already customize the navigator context menu by manually editing the 'navigatorcontextmenu.ui' file. usr/lib/libreoffice/share/config/soffice.cfg/modules/swriter/ui/navigatorcontextmenu.ui ALWAYS GOOD TO MAKE A BACKUP COPY BEFORE MODIFYING :-) To make the promote/demote menu items not appear in the context menu either remove the following lines or set <property name="visible"> to False as I have done. <child> <object class="GtkMenuItem" id="801"> <property name="visible">False</property> <property name="can-focus">False</property> <property name="label" translatable="yes" context="navigatorcontextmenu|STR_PROMOTE_CHAPTER">Promote Chapter</property> <property name="use-underline">True</property> <accelerator key="Up" signal="activate" modifiers="GDK_CONTROL_MASK"/> </object> </child> <child> <object class="GtkMenuItem" id="802"> <property name="visible">False</property> <property name="can-focus">False</property> <property name="label" translatable="yes" context="navigatorcontextmenu|STR_DEMOTE_CHAPTER">Demote Chapter</property> <property name="use-underline">True</property> <accelerator key="Down" signal="activate" modifiers="GDK_CONTROL_MASK"/> </object> </child> <child> <object class="GtkMenuItem" id="803"> <property name="visible">False</property> <property name="can-focus">False</property> <property name="label" translatable="yes" context="navigatorcontextmenu|STR_PROMOTE_LEVEL">Promote Level</property> <property name="use-underline">True</property> <accelerator key="Left" signal="activate" modifiers="GDK_CONTROL_MASK"/> </object> </child> <child> <object class="GtkMenuItem" id="804"> <property name="visible">False</property> <property name="can-focus">False</property> <property name="label" translatable="yes" context="navigatorcontextmenu|STR_DEMOTE_LEVEL">Demote Level</property> <property name="use-underline">True</property> <accelerator key="Right" signal="activate" modifiers="GDK_CONTROL_MASK"/> </object> </child> -- You are receiving this mail because: You are the assignee for the bug.
