Commit 3923a9d8 authored by Andreas J. Guelzow 's avatar Andreas J. Guelzow

add Format->Text menu

2011-11-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: add Format->Text menu
	* src/GNOME_Gnumeric-gtk.xml.in: add Format->Text menu
	* src/wbc-gtk-actions.c (permanent_actions): add submenus
	(font_toggle_actions): fix duplicate menu accel
parent c38c5636
2011-11-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* component/Gnumeric-embed.xml.in: add Format->Text menu
* src/GNOME_Gnumeric-gtk.xml.in: add Format->Text menu
* src/wbc-gtk-actions.c (permanent_actions): add submenus
(font_toggle_actions): fix duplicate menu accel
2011-11-02 Jean Brefort <jean.brefort@normalesup.org>
* src/graph.c (gnm_go_data_vector_eval): erase markup list when changed.
......
......@@ -148,6 +148,20 @@
<menuitem action="FormatCellsFitHeight"/>
<menuitem action="FormatCellsFitWidth"/>
</menu>
<menu name="FormatTextMenu" action="MenuFormatText">
<menuitem action="FontBold"/>
<menuitem action="FontItalic"/>
<menuitem action="FontStrikeThrough"/>
<menuitem action="FontSuperscript"/>
<menuitem action="FontSubscript"/>
<menu name="FormatTextUnderlineMenu" action="MenuFormatTextUnderline">
<menuitem action="FontUnderline"/>
<menuitem action="FontSingleLowUnderline"/>
<menuitem action="FontDoubleUnderline"/>
<menuitem action="FontSingleLowUnderline"/>
<menuitem action="FontDoubleLowUnderline"/>
</menu>
</menu>
<menu name="FormatColumn" action="MenuFormatColumn">
<menuitem action="ColumnSize"/>
<menuitem action="ColumnAutoSize"/>
......
......@@ -153,6 +153,20 @@
<menuitem action="FormatCellsFitHeight"/>
<menuitem action="FormatCellsFitWidth"/>
</menu>
<menu name="FormatTextMenu" action="MenuFormatText">
<menuitem action="FontBold"/>
<menuitem action="FontItalic"/>
<menuitem action="FontStrikeThrough"/>
<menuitem action="FontSuperscript"/>
<menuitem action="FontSubscript"/>
<menu name="FormatTextUnderlineMenu" action="MenuFormatTextUnderline">
<menuitem action="FontUnderline"/>
<menuitem action="FontSingleLowUnderline"/>
<menuitem action="FontDoubleUnderline"/>
<menuitem action="FontSingleLowUnderline"/>
<menuitem action="FontDoubleLowUnderline"/>
</menu>
</menu>
<menu name="FormatColumn" action="MenuFormatColumn">
<menuitem action="ColumnSize"/>
<menuitem action="ColumnAutoSize"/>
......
......@@ -2003,6 +2003,8 @@ static GtkActionEntry const permanent_actions[] = {
N_("Func_tion Wrapper") },
{ "MenuFormat", NULL, N_("F_ormat") },
{ "MenuFormatCells", NULL, N_("_Cells") },
{ "MenuFormatText", NULL, N_("_Text") },
{ "MenuFormatTextUnderline", NULL, N_("_Underline") },
{ "MenuFormatColumn", NULL, N_("C_olumn") },
{ "MenuFormatRow", NULL, N_("_Row") },
{ "MenuFormatSheet", NULL, N_("_Sheet") },
......@@ -2927,7 +2929,7 @@ static GtkToggleActionEntry const font_toggle_actions[] = {
N_("_Single Low Underline"), "<control><shift>l",
N_("Single Low Underline"), G_CALLBACK (cb_font_underline_low), FALSE },
{ "FontDoubleLowUnderline", NULL, /* from icon theme */
N_("_Double Low Underline"), NULL,
N_("Double _Low Underline"), NULL,
N_("Double Low Underline"), G_CALLBACK (cb_font_double_underline_low), FALSE },
{ "FontStrikeThrough", GTK_STOCK_STRIKETHROUGH,
N_("_Strike Through"), "<control>5",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment