Commit a8ee6e34 authored by Jody Goldberg's avatar Jody Goldberg
Browse files

Add an 'insert shaped object' entry.

parent 4c1148dd
......@@ -330,11 +330,15 @@
_label="_Graph"
_tip="Invoke the graph guru to create a graph"/>
<menuitem name="InsertObject" verb=""
pixtype="stock" pixname="Gnumeric_InsertShapedComponent"
<menuitem name="InsertComponent" verb=""
pixtype="stock" pixname="Gnumeric_InsertComponent"
_label="_Object"
_tip="Inserts a Bonobo object"/>
<menuitem name="InsertShapedComponent" verb=""
pixtype="stock" pixname="Gnumeric_InsertShapedComponent"
_label="_Shaped Object"
_tip="Inserts a Shaped Bonobo object"/>
<separator/>
<submenu name="Names" _label="_Name">
......
......@@ -23,7 +23,6 @@
#include "pixmaps/auto-sum.xpm"
#include "pixmaps/equal-sign.xpm"
#include "pixmaps/function_selector.xpm"
#include "pixmaps/insert-bonobo-component.xpm"
#include "pixmaps/label.xpm"
#include "pixmaps/frame.xpm"
......@@ -65,7 +64,8 @@
#include "pixmaps/16_edit_comment.xpm"
#include "pixmaps/16_hide_column.xpm"
#include "pixmaps/16_hide_row.xpm"
#include "pixmaps/16_insert_shaped_object.xpm"
#include "pixmaps/16_insert_component.xpm"
#include "pixmaps/16_insert_shaped_component.xpm"
#include "pixmaps/16_graph_guru.xpm"
#include "pixmaps/16_merge_cells.xpm"
#include "pixmaps/16_split_cells.xpm"
......@@ -92,7 +92,8 @@
#include "pixmaps/24_delete_row.xpm"
#include "pixmaps/24_hide_column.xpm"
#include "pixmaps/24_hide_row.xpm"
#include "pixmaps/24_insert_shaped_object.xpm"
#include "pixmaps/24_insert_component.xpm"
#include "pixmaps/24_insert_shaped_component.xpm"
#include "pixmaps/24_graph_guru.xpm"
#include "pixmaps/24_merge_cells.xpm"
#include "pixmaps/24_split_cells.xpm"
......@@ -147,7 +148,8 @@ application_init (void)
{ 16, 16, "Menu_Gnumeric_Search", i16_search },
{ 16, 16, "Menu_Gnumeric_SearchAndReplace", i16_search_and_replace },
{ 16, 16, "Menu_Gnumeric_PrintPreview", menu_print_preview_xpm },
{ 16, 16, "Menu_Gnumeric_InsertShapedComponent", i16_insert_shaped_object_xpm },
{ 16, 16, "Menu_Gnumeric_InsertComponent", i16_insert_component_xpm },
{ 16, 16, "Menu_Gnumeric_InsertShapedComponent", i16_insert_shaped_component_xpm },
{ 16, 16, "Menu_Gnumeric_GraphGuru", i16_graph_guru_xpm },
{ 16, 16, "Menu_Gnumeric_Cut", i16_cut_xpm },
......@@ -178,7 +180,8 @@ application_init (void)
{ 16, 16, "Menu_Gnumeric_Ungroup", i16_ungroup_xpm },
{ 24, 24, "Gnumeric_PrintPreview", print_preview_xpm },
{ 24, 24, "Gnumeric_InsertShapedComponent", i24_insert_shaped_object_xpm },
{ 24, 24, "Gnumeric_InsertComponent", i24_insert_component_xpm },
{ 24, 24, "Gnumeric_InsertShapedComponent", i24_insert_shaped_component_xpm },
{ 24, 24, "Gnumeric_GraphGuru", i24_graph_guru_xpm },
#if 0
{ 24, 24, "Gnumeric_CommentAdd", i24_add_comment_xpm },
......@@ -214,7 +217,6 @@ application_init (void)
{ 24, 24, "Gnumeric_AutoSum", auto_sum_xpm },
{ 24, 24, "Gnumeric_EqualSign", equal_sign_xpm },
{ 24, 24, "Gnumeric_FormulaGuru", formula_guru_xpm },
{ 24, 24, "Gnumeric_InsertComponent", insert_component_xpm },
{ 24, 21, "Gnumeric_FormatAsMoney", money_xpm },
{ 24, 21, "Gnumeric_FormatAsPercent", percent_xpm },
......
/* XPM */
static char *i16_insert_component_xpm [] = {
"16 16 53 1",
" c #000000",
". c #121212",
"X c #23231a",
"o c #28281e",
"O c #2f2f26",
"+ c #2d2d2d",
"@ c #373729",
"# c #343434",
"$ c #3e3e30",
"% c #3d3d3d",
"& c #49493d",
"* c #424242",
"= c #4d4d45",
"- c #4f4f4f",
"; c #515144",
": c #59594a",
"> c #5e5e5e",
", c #6d6d52",
"< c #707054",
"1 c #6b6b6b",
"2 c #717171",
"3 c #7d7d7d",
"4 c #8b8b67",
"5 c #949476",
"6 c #9b9b7a",
"7 c #848484",
"8 c #8a8a8a",
"9 c #929292",
"0 c #9e9e9e",
"q c #aaaa8a",
"w c #b5b58f",
"e c #bfbf8f",
"r c #a4a4a4",
"t c #ababab",
"y c #b2b2b2",
"u c #cdcd9e",
"i c #cecea6",
"p c #c8c8af",
"a c #d1d1a3",
"s c #d9d9b4",
"d c #dcdcbc",
"f c #c2c2c2",
"g c #cccccc",
"h c #dfdfc2",
"j c #d4d4d4",
"k c #dcdcdc",
"l c #e0e0c2",
"z c #e5e5cd",
"x c #e9e9d6",
"c c #ebebd9",
"v c #e3e3e3",
"b c #eaeaea",
"n c None",
/* pixels */
"nnnnnnnnnnnnnnnn",
"nnnnnnnnnnnnnnnn",
"nnnn ",
"nnnn 2tt7ttt8tr#",
"nnn ===&o7kbfbk%",
" xzls,**10ft+",
"Opq:cxdaq;l6>vk%",
"Ow5;zsuu5&u4-jk%",
" ieee,#+#2yy+",
"nnn $@@@.&rytbk%",
"nnnn >3728yjyjf#",
"nnnn 9gjtfgjykf#",
"nnnn rkktkkktkg%",
"nnnn #**#%%%#%%.",
"nnnnnnnnnnnnnnnn",
"nnnnnnnnnnnnnnnn"
};
/* XPM */
static char * i16_insert_shaped_object_xpm[] = {
"16 16 42 1",
" c None",
". c #000000",
"+ c #F68A8A",
"@ c #F68080",
"# c #F67F7F",
"$ c #F56B6B",
"% c #F24848",
"& c #F56F6F",
"* c #EF0404",
"= c #F24343",
"- c #D60303",
"; c #FFFFFF",
"> c #B8B8B8",
", c #AC0101",
"' c #F35A5A",
") c #7C7C7C",
"! c #E45F5F",
"~ c #F35656",
"{ c #A70202",
"] c #ECECEC",
"^ c #F68F8F",
"/ c #E90404",
"( c #BB0202",
"_ c #999999",
": c #CECECE",
"< c #B2B2B2",
"[ c #F57575",
"} c #F13434",
"| c #B10202",
"1 c #ABABAB",
"2 c #9C9C9C",
"3 c #7B4545",
"4 c #959595",
"5 c #C00202",
"6 c #BEBEBE",
"7 c #8E8E8E",
"8 c #B9B9B9",
"9 c #898989",
"0 c #9E9E9E",
"a c #929292",
"b c #E4E4E4",
"c c #7B7B7B",
" ... ",
" .... . . ",
" .+@#$. ... ",
" .%&**=*. . ",
" .-*****......",
" ..--***-.;.>.",
" .;.,'**-..)>.",
" ..-!~**{..]>.",
" .^***/(._.:<.",
" .[}***|.1.2]>.",
" .~**-|34].]]>.",
" .*-5.)6...:<.",
" ....__:.].7>.",
" .89)0]:...a>.",
" .b>>>><>cc9>.",
" ............."};
/* XPM */
static char * i24_insert_shaped_object_xpm[] = {
"24 24 207 2",
" c None",
". c #000000",
"+ c #320101",
"@ c #980101",
"# c #F57777",
"$ c #F37676",
"% c #F86B6B",
"& c #7B0000",
"* c #090000",
"= c #010000",
"- c #410101",
"; c #EA7979",
"> c #E86B6B",
", c #F24C4C",
"' c #F33838",
") c #F24646",
"! c #F35959",
"~ c #F62525",
"{ c #5B0000",
"] c #F0F0F0",
"^ c #B7B7B7",
"/ c #FFFFFF",
"( c #E4E4E4",
"_ c #E95151",
": c #F55757",
"< c #EB4848",
"[ c #F71A1A",
"} c #F61818",
"| c #F32525",
"1 c #F13D3D",
"2 c #F43131",
"3 c #A50101",
"4 c #AF7373",
"5 c #A3A3A3",
"6 c #EAEAEA",
"7 c #ECECEC",
"8 c #B9B9B9",
"9 c #6C0000",
"0 c #F73939",
"a c #EF4040",
"b c #ED2E2E",
"c c #F90909",
"d c #F80303",
"e c #F41010",
"f c #F01E1E",
"g c #EC1212",
"h c #670000",
"i c #857B7B",
"j c #A5A5A5",
"k c #E9E9E9",
"l c #5E0202",
"m c #F43737",
"n c #F12727",
"o c #F20909",
"p c #ED2222",
"q c #F70909",
"r c #FA0202",
"s c #F30A0A",
"t c #E80808",
"u c #DA0505",
"v c #625D5D",
"w c #787878",
"x c #999999",
"y c #6B6B6B",
"z c #9D0202",
"A c #F10606",
"B c #F40303",
"C c #F50505",
"D c #F30808",
"E c #F50101",
"F c #E60505",
"G c #D70505",
"H c #A20000",
"I c #7E6C6C",
"J c #949292",
"K c #BCBCBC",
"L c #D7D7D7",
"M c #A8A8A8",
"N c #C20101",
"O c #EF1C1C",
"P c #EE0606",
"Q c #F20505",
"R c #F40404",
"S c #F20303",
"T c #E50202",
"U c #D60404",
"V c #D10303",
"W c #847C7C",
"X c #ABABAB",
"Y c #D0D0D0",
"Z c #B1B1B1",
"` c #D3D3D3",
" . c #D5D5D5",
".. c #950101",
"+. c #EC0E0E",
"@. c #EB0808",
"#. c #EE0707",
"$. c #EF0404",
"%. c #E60303",
"&. c #DB0303",
"*. c #D50505",
"=. c #9C0000",
"-. c #886464",
";. c #969191",
">. c #C3C3C3",
",. c #DEDEDE",
"'. c #989898",
"). c #B0B0B0",
"!. c #A4A4A4",
"~. c #ED0808",
"{. c #E90909",
"]. c #EA0808",
"^. c #EB0606",
"/. c #E40303",
"(. c #D40303",
"_. c #C00909",
":. c #765353",
"<. c #807B7B",
"[. c #9A9A9A",
"}. c #A6A6A6",
"|. c #878787",
"1. c #9B9B9B",
"2. c #959595",
"3. c #6E6E6E",
"4. c #EA0909",
"5. c #E70A0A",
"6. c #E70909",
"7. c #E40505",
"8. c #D70404",
"9. c #CE0D0D",
"0. c #9E0000",
"a. c #A58383",
"b. c #C3BEBE",
"c. c #DFDFDF",
"d. c #AAAAAA",
"e. c #E8E8E8",
"f. c #BBBBBB",
"g. c #850000",
"h. c #E40B0B",
"i. c #E40A0A",
"j. c #E20606",
"k. c #DB0606",
"l. c #E10B0B",
"m. c #C62727",
"n. c #910000",
"o. c #CCC3C3",
"p. c #E2E2E2",
"q. c #B8B8B8",
"r. c #1B0000",
"s. c #ED6969",
"t. c #E11111",
"u. c #DF0707",
"v. c #DC0808",
"w. c #DF0C0C",
"x. c #E80A0A",
"y. c #DB2F2F",
"z. c #E0DCDC",
"A. c #920404",
"B. c #A80101",
"C. c #E43D3D",
"D. c #DE0B0B",
"E. c #DA0D0D",
"F. c #DA0C0C",
"G. c #DE0E0E",
"H. c #C93333",
"I. c #560000",
"J. c #A3A1A1",
"K. c #848484",
"L. c #747474",
"M. c #190202",
"N. c #B90202",
"O. c #E96D6D",
"P. c #DE2020",
"Q. c #DA1515",
"R. c #D41414",
"S. c #D51212",
"T. c #D70E0E",
"U. c #DE0C0C",
"V. c #7B0101",
"W. c #DBD8D8",
"X. c #080000",
"Y. c #760000",
"Z. c #EE4242",
"`. c #E24949",
" + c #DC3232",
".+ c #D82424",
"++ c #D51616",
"@+ c #CA0D0D",
"#+ c #B73030",
"$+ c #CFCCCC",
"%+ c #EBEBEB",
"&+ c #BFB4B4",
"*+ c #680000",
"=+ c #E60B0B",
"-+ c #E01414",
";+ c #DB0E0E",
">+ c #C01818",
",+ c #7D7777",
"'+ c #A19F9F",
")+ c #7A7A7A",
"!+ c #030000",
"~+ c #0D0101",
"{+ c #AB0303",
"]+ c #DA0707",
"^+ c #B40606",
"/+ c #460303",
"(+ c #080101",
" ",
" . . . ",
" . . ",
" . . . ",
" . . . . ",
" . . . . . . . ",
" . . . + @ # # $ % & * = . . . . . . . ",
" . - ; > , ' ) ! ~ { . ] ^ / / / ( . ",
" . _ : < [ } | 1 2 3 4 . 5 6 7 7 8 . ",
" . 9 0 a b c d e f g h i j . . . k ^ . ",
" l m n o p q r s t u . v w . 7 . x y . ",
" . z ' A B C D E F G H I J K . . . L M . ",
" . N O P Q R S T U V . W X Y X Z ` .5 . ",
" . ..+.@.#.$.%.&.*.=.-.;.>.,.'.).!.).M . ",
" . . ~.{.].^./.(._.. :.<.[.}.|.1.2.x 3.. ",
" . . . { 4.5.6.7.8.9.0.a.b.c.6 d.k e.k f.. ",
" . . g.h.i.j.k.l.m.n.o.p.6 X 7 7 7 q.. ",
" . . . r.s.t.u.v.w.x.y.h z.6 X 7 7 7 K . ",
" A.B.C.D.E.F.G.{.H.I.J.K.M X X L.. ",
" M.N.O.P.Q.R.S.T.U.V.W.M 7 7 7 q.. ",
" X.Y.Z.`. +.+++@+#+I.$+j %+7 7 K . ",
" = &+*+=+-+Q.;+>+. ,+'+)+^ K f.5 . ",
" . !+~+{+]+4.^+/+(+= . . . . . . . ",
" . . . . "};
/* XPM */
static char * insert_component_xpm[] = {
"24 24 116 2",
" c None",
". c #000000",
"+ c #FFFFFF",
"@ c #B1B1B1",
"# c #FBFBFB",
"$ c #BABABA",
"% c #E4E4E4",
"& c #CECECE",
"* c #E1E1E1",
"= c #ECECEC",
"- c #ADADAD",
"; c #B9B9B9",
"> c #E9E9D6",
", c #ECECDA",
"' c #E9E9D5",
") c #E2E2C6",
"! c #E1E1C4",
"~ c #DADAB5",
"{ c #B4B487",
"] c #9A9A9A",
"^ c #C6C6C6",
"/ c #E7E7E7",
"( c #ABABAB",
"_ c #B8B8B8",
": c #ECECDD",
"< c #E3E3C8",
"[ c #DFDFC0",
"} c #E0E0C3",
"| c #DDDDBD",
"1 c #D5D5AB",
"2 c #A3A37A",
"3 c #484848",
"4 c #434343",
"5 c #7F7F7F",
"6 c #A8A8A8",
"7 c #707070",
"8 c #6B6B4F",
"9 c #D7D7AF",
"0 c #24241B",
"a c #EDEDDF",
"b c #E4E4CC",
"c c #EAEAD7",
"d c #E6E6D0",
"e c #D6D6AD",
"f c #CCCC99",
"g c #E5E5CC",
"h c #E2E2C7",
"i c #272727",
"j c #DEDEDE",
"k c #BCBCBC",
"l c #D7D7BE",
"m c #DEDEBD",
"n c #DEDEBF",
"o c #DDDDBB",
"p c #EEEEDD",
"q c #EBEBD7",
"r c #DFDFC1",
"s c #D3D3A8",
"t c #DCDCBA",
"u c #DBDBB9",
"v c #E0E0C1",
"w c #9F9F76",
"x c #1C1C1C",
"y c #C3C3C3",
"z c #6A6A4E",
"A c #BEBE8E",
"B c #A8A87E",
"C c #111111",
"D c #EBEBD9",
"E c #D4D4AA",
"F c #A7A77D",
"G c #5D5D44",
"H c #191919",
"I c #B5B5B5",
"J c #E5E5E5",
"K c #141414",
"L c #494949",
"M c #8B8B8B",
"N c #A5A5A5",
"O c #737373",
"P c #C4C49C",
"Q c #A0A078",
"R c #616161",
"S c #828282",
"T c #8E8E8E",
"U c #D4D4D4",
"V c #EBEBEB",
"W c #626262",
"X c #A2A2A2",
"Y c #C5C5C5",
"Z c #CCCCCC",
"` c #9E9E9E",
" . c #EAEAEA",
".. c #8A8A8A",
"+. c #7B7B7B",
"@. c #7E7E7E",
"#. c #5D5D5D",
"$. c #808080",
"%. c #8D8D8D",
"&. c #DFDFDF",
"*. c #E9E9E9",
"=. c #AAAAAA",
"-. c #969696",
";. c #909090",
">. c #999999",
",. c #868686",
"'. c #939393",
"). c #A3A3A3",
"!. c #A6A6A6",
"~. c #858585",
"{. c #747474",
"]. c #DDDDDD",
"^. c #A9A9A9",
"/. c #BFBFBF",
"(. c #757575",
"_. c #BBBBBB",
" ",
" ",
" ",
" ",
" . . . . . . . . . . . . . . . . . ",
" . + + + + @ # # + + + $ + + + % . ",
" . . . . . . . . . & * = = - = = = ; . ",
" . > , ' ) ! ~ { . ] ^ / = ( = = = _ . ",
" . . . . : < [ } | 1 2 . 3 . . 4 5 6 ( ( 7 . ",
". 8 ' 9 . 0 a b c d e f f 0 . g h 8 i j = = k . ",
". l m n o o p q r e s 1 t t u v f w x y / = k . ",
". z A B . C D E e f f f F . . f { G H I J = k . ",
" . . . . m f f f f f F . 4 . . K L M N ( O . ",
" . P F F F F F Q . R S T M 5 U V = k . ",
" . . . . . . . . . W X Y Z ` .= = _ . ",
" . ..+.+.@.#.$.%._ &.*.=.= = = k . ",
" . -.M ;.>.+.T ,.'.).!.~.6 ( ( {.. ",
" . + = = = ( J ].&./ = ( = = = _ . ",
" . + = = = 6 = V V = = ^.= = = k . ",
" . *.y y /.(.k k k k k @._ k _.).. ",
" . . . . . . . . . . . . . . . . . ",
" ",
" ",
" "};
/* XPM */
static char * insert_component_16_xpm[] = {
"16 16 53 1",
" c #000000",
". c #121212",
"X c #23231a",
"o c #28281e",
"O c #2f2f26",
"+ c #2d2d2d",
"@ c #373729",
"# c #343434",
"$ c #3e3e30",
"% c #3d3d3d",
"& c #49493d",
"* c #424242",
"= c #4d4d45",
"- c #4f4f4f",
"; c #515144",
": c #59594a",
"> c #5e5e5e",
", c #6d6d52",
"< c #707054",
"1 c #6b6b6b",
"2 c #717171",
"3 c #7d7d7d",
"4 c #8b8b67",
"5 c #949476",
"6 c #9b9b7a",
"7 c #848484",
"8 c #8a8a8a",
"9 c #929292",
"0 c #9e9e9e",
"q c #aaaa8a",
"w c #b5b58f",
"e c #bfbf8f",
"r c #a4a4a4",
"t c #ababab",
"y c #b2b2b2",
"u c #cdcd9e",
"i c #cecea6",
"p c #c8c8af",
"a c #d1d1a3",
"s c #d9d9b4",
"d c #dcdcbc",
"f c #c2c2c2",
"g c #cccccc",
"h c #dfdfc2",
"j c #d4d4d4",