Commit 911a0008 authored by Morten Welinder's avatar Morten Welinder

GUI: Make the VAlignmentSelector action actually work.

I hacked up a few icons.  Nothing great.  "justify" and "distributed"
are the same icon.  They are supposed to be identical for multiple
lines.  For a single line, distributed is center and justify is, I
think, bottom.
parent fb67f436
internalicons = cursor-cross.xpm
internalicons = \
gnumeric-format-valign-bottom.png \
gnumeric-format-valign-center.png \
gnumeric-format-valign-distributed.png \
gnumeric-format-valign-justify.png \
gnumeric-format-valign-top.png \
cursor-cross.xpm
EXTRA_DIST = $(internalicons)
......@@ -155,6 +155,11 @@
<file>icons/24x24/actions/gnumeric-superscript.png</file>
<file>icons/24x24/actions/gnumeric-ungroup.xpm</file>
<file>icons/32x32/actions/cursor-cross.xpm</file>
<file>icons/32x32/actions/gnumeric-format-valign-bottom.png</file>
<file>icons/32x32/actions/gnumeric-format-valign-center.png</file>
<file>icons/32x32/actions/gnumeric-format-valign-distributed.png</file>
<file>icons/32x32/actions/gnumeric-format-valign-justify.png</file>
<file>icons/32x32/actions/gnumeric-format-valign-top.png</file>
<file>icons/48x48/actions/gnumeric-protection-yes-dialog.png</file>
<file alias="images/line_pattern_dash_dot.xpm">src/pixmaps/line_pattern_dash_dot.xpm</file>
<file alias="images/line_pattern_dash_dot_dot.xpm">src/pixmaps/line_pattern_dash_dot_dot.xpm</file>
......
......@@ -2913,8 +2913,8 @@ static GOActionComboPixmapsElement const halignment_combo_info[] = {
{ N_("Align left"), "format-justify-left", GNM_HALIGN_LEFT },
{ N_("Center horizontally"), "format-justify-center", GNM_HALIGN_CENTER },
{ N_("Align right"), "format-justify-right", GNM_HALIGN_RIGHT },
{ N_("Fill Horizontally"), "gnumeric-format-halign-fill", GNM_HALIGN_FILL },
{ N_("Justify Horizontally"), "format-justify-fill", GNM_HALIGN_JUSTIFY },
{ N_("Fill horizontally"), "gnumeric-format-halign-fill", GNM_HALIGN_FILL },
{ N_("Justify horizontally"), "format-justify-fill", GNM_HALIGN_JUSTIFY },
{ N_("Center horizontally across the selection"),
"gnumeric-center-across-selection", GNM_HALIGN_CENTER_ACROSS_SELECTION },
{ N_("Align numbers right, and text left"),
......@@ -2922,9 +2922,11 @@ static GOActionComboPixmapsElement const halignment_combo_info[] = {
{ NULL, NULL }
};
static GOActionComboPixmapsElement const valignment_combo_info[] = {
{ N_("Align Top"), "stock_alignment-top", GNM_VALIGN_TOP },
{ N_("Center Vertically"), "stock_alignment-centered-vertically", GNM_VALIGN_CENTER },
{ N_("Align Bottom"), "stock_alignment-bottom", GNM_VALIGN_BOTTOM },
{ N_("Align top"), "gnumeric-format-valign-top", GNM_VALIGN_TOP },
{ N_("Center vertically"), "gnumeric-format-valign-center", GNM_VALIGN_CENTER },
{ N_("Align bottom"), "gnumeric-format-valign-bottom", GNM_VALIGN_BOTTOM },
{ N_("Justify"), "gnumeric-format-valign-justify", GNM_VALIGN_JUSTIFY },
{ N_("Align distributed"), "gnumeric-format-valign-distributed", GNM_VALIGN_DISTRIBUTED },
{ NULL, NULL}
};
......
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