Commit bb1e9c71 authored by Andreas J. Guelzow 's avatar Andreas J. Guelzow

Ensure we have sub- and sperscript icons. [#639086]

2011-01-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/pixmaps/gnm_subscript_16.png: new
	* src/pixmaps/gnm_subscript_24.png: new
	* src/pixmaps/gnm_superscript_16.png: new
	* src/pixmaps/gnm_superscript_24.png: new
	* src/pixmaps/Makefile.am: add the above files
	* src/wbc-gtk.c (wbc_gtk_setup_icons): set up Gnumeric_Superscript
	  and Gnumeric_Subscript icons
	* src/wbc-gtk-actions.c (font_toggle_actions) use Gnumeric_Superscript
	  and Gnumeric_Subscript icons
parent 581f3643
2011-01-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* src/pixmaps/gnm_subscript_16.png: new
* src/pixmaps/gnm_subscript_24.png: new
* src/pixmaps/gnm_superscript_16.png: new
* src/pixmaps/gnm_superscript_24.png: new
* src/pixmaps/Makefile.am: add the above files
* src/wbc-gtk.c (wbc_gtk_setup_icons): set up Gnumeric_Superscript
and Gnumeric_Subscript icons
* src/wbc-gtk-actions.c (font_toggle_actions) use Gnumeric_Superscript
and Gnumeric_Subscript icons
2011-01-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* src/sort.c (sort_compare_cells): add argument and use it to
......
......@@ -11,6 +11,7 @@ Andreas:
* Make the row and column headers and selection match the theme better.
[#639019]
* Fix locale specific sorting. [#638874]
* Ensure we have sub- and sperscript icons. [#639086]
Jean:
* Only disable the formula bar when a chart sheet is selected. [#636031]
......
......@@ -46,6 +46,8 @@ IMAGES = \
expr_entry.png \
\
gnumeric_splash_1.4.png \
gnm_subscript_16.png gnm_subscript_24.png \
gnm_superscript_16.png gnm_superscript_24.png \
unknown_image.png \
\
object_arrow_24.png \
......@@ -214,6 +216,10 @@ VARIABLES = \
gnm_money $(srcdir)/format_money_24.png \
gnm_percent $(srcdir)/format_percent_24.png \
gnm_thousand $(srcdir)/thousands.xpm \
gnm_subscript_16 $(srcdir)/gnm_subscript_16.png \
gnm_subscript_24 $(srcdir)/gnm_subscript_24.png \
gnm_superscript_16 $(srcdir)/gnm_superscript_16.png \
gnm_superscript_24 $(srcdir)/gnm_superscript_24.png \
\
gnm_auto $(srcdir)/auto-sum.xpm \
gnm_equal $(srcdir)/equal-sign.xpm \
......
......@@ -2811,10 +2811,10 @@ static GtkToggleActionEntry const font_toggle_actions[] = {
{ "FontStrikeThrough", GTK_STOCK_STRIKETHROUGH,
N_("_Strike Through"), "<control>5",
N_("Strike Through"), G_CALLBACK (cb_font_strikethrough), FALSE },
{ "FontSuperscript", "stock_superscript", /* from icon theme */
{ "FontSuperscript", "Gnumeric_Superscript",
N_("Su_perscript"), "<control>asciicircum",
N_("Superscript"), G_CALLBACK (cb_font_superscript), FALSE },
{ "FontSubscript", "stock_subscript", /* from icon theme */
{ "FontSubscript", "Gnumeric_Subscript",
N_("Subscrip_t"), "<control>underscore",
N_("Subscript"), G_CALLBACK (cb_font_subscript), FALSE }
};
......
......@@ -4553,6 +4553,8 @@ wbc_gtk_setup_icons (void)
{ gnm_money, NULL, "Gnumeric_FormatAsAccounting" },
{ gnm_percent, NULL, "Gnumeric_FormatAsPercentage" },
{ gnm_thousand, NULL, "Gnumeric_FormatThousandSeparator" },
{ gnm_subscript_24, gnm_subscript_16, "Gnumeric_Subscript" },
{ gnm_superscript_24, gnm_superscript_16, "Gnumeric_Superscript" },
{ gnm_auto, NULL, "Gnumeric_AutoSum" },
{ gnm_equal, NULL, "Gnumeric_Equal" },
......
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