From d0bfe7d204fc9a159c2105b012a8aefe030cc261 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Fri, 29 Nov 2002 22:18:34 +0000 Subject: [PATCH] Added stock_properties_16 icon. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@191 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- glabels2/src/glabels-ui.xml | 2 +- glabels2/src/stock-pixmaps/Makefile.am | 2 + .../src/stock-pixmaps/stock_properties_16.png | Bin 0 -> 393 bytes glabels2/src/stock.c | 47 ++++++++++-------- glabels2/src/stock.h | 1 + 5 files changed, 29 insertions(+), 23 deletions(-) create mode 100644 glabels2/src/stock-pixmaps/stock_properties_16.png diff --git a/glabels2/src/glabels-ui.xml b/glabels2/src/glabels-ui.xml index f884ae1e..9720ebb4 100644 --- a/glabels2/src/glabels-ui.xml +++ b/glabels2/src/glabels-ui.xml @@ -139,7 +139,7 @@ + pixtype="stock" pixname="gl_stock_properties"/> >+xm~@TY{?<=te~L4Z=q+LTgG0!#@*6}x07jV@-!PDoV^{ne;Uf~?L*IHB8 zHBw5-vLs0o02VM*gz3O(|u@lO?pu^PDJ(NYk`kD~bZgaqv8k nFbr{Bm#V6)7&@7U=4Qm$u=00000NkvXXu0mjfdD5d! literal 0 HcmV?d00001 diff --git a/glabels2/src/stock.c b/glabels2/src/stock.c index a03f7d4b..2b950669 100644 --- a/glabels2/src/stock.c +++ b/glabels2/src/stock.c @@ -58,28 +58,29 @@ gl_stock_init (void) GtkIconFactory *factory; static GtkStockItem items[] = { - { GL_STOCK_ARROW, "Arrow", 0, 0, NULL }, - { GL_STOCK_TEXT, "Text", 0, 0, NULL }, - { GL_STOCK_LINE, "Line", 0, 0, NULL }, - { GL_STOCK_BOX, "Box", 0, 0, NULL }, - { GL_STOCK_ELLIPSE, "Ellipse", 0, 0, NULL }, - { GL_STOCK_IMAGE, "Image", 0, 0, NULL }, - { GL_STOCK_BARCODE, "Barcode", 0, 0, NULL }, - { GL_STOCK_MERGE, "Merge", 0, 0, NULL }, - { GL_STOCK_ORDER_TOP, "OrderTop", 0, 0, NULL }, - { GL_STOCK_ORDER_BOTTOM, "OrderBottom", 0, 0, NULL }, - { GL_STOCK_ROTATE_LEFT, "RotateLeft", 0, 0, NULL }, - { GL_STOCK_ROTATE_RIGHT, "RotateRight", 0, 0, NULL }, - { GL_STOCK_FLIP_HORIZ, "FlipHoriz", 0, 0, NULL }, - { GL_STOCK_FLIP_VERT, "FlipVert", 0, 0, NULL }, - { GL_STOCK_ALIGN_LEFT, "AlignLeft", 0, 0, NULL }, - { GL_STOCK_ALIGN_RIGHT, "AlignRight", 0, 0, NULL }, - { GL_STOCK_ALIGN_HCENTER, "AlignHCenter", 0, 0, NULL }, - { GL_STOCK_ALIGN_TOP, "AlignTop", 0, 0, NULL }, - { GL_STOCK_ALIGN_BOTTOM, "AlignBottom", 0, 0, NULL }, - { GL_STOCK_ALIGN_VCENTER, "AlignVCenter", 0, 0, NULL }, - { GL_STOCK_CENTER_HORIZ, "CenterHoriz", 0, 0, NULL }, - { GL_STOCK_CENTER_VERT, "CenterVert", 0, 0, NULL }, + { GL_STOCK_ARROW, N_("_Select Mode"), 0, 0, NULL }, + { GL_STOCK_TEXT, N_("_Text"), 0, 0, NULL }, + { GL_STOCK_LINE, N_("_Line"), 0, 0, NULL }, + { GL_STOCK_BOX, N_("_Box"), 0, 0, NULL }, + { GL_STOCK_ELLIPSE, N_("_Ellipse"), 0, 0, NULL }, + { GL_STOCK_IMAGE, N_("_Image"), 0, 0, NULL }, + { GL_STOCK_BARCODE, N_("Bar_code"), 0, 0, NULL }, + { GL_STOCK_MERGE, N_("_Merge Properties"), 0, 0, NULL }, + { GL_STOCK_PROPERTIES, N_("Object _Properties"), 0, 0, NULL }, + { GL_STOCK_ORDER_TOP, N_("Bring to _Front"), 0, 0, NULL }, + { GL_STOCK_ORDER_BOTTOM, N_("Send to _Back"), 0, 0, NULL }, + { GL_STOCK_ROTATE_LEFT, N_("Rotate _Left"), 0, 0, NULL }, + { GL_STOCK_ROTATE_RIGHT, N_("Rotate _Right"), 0, 0, NULL }, + { GL_STOCK_FLIP_HORIZ, N_("Flip _Horizontally"), 0, 0, NULL }, + { GL_STOCK_FLIP_VERT, N_("Flip _Vertically"), 0, 0, NULL }, + { GL_STOCK_ALIGN_LEFT, N_("_Lefts"), 0, 0, NULL }, + { GL_STOCK_ALIGN_RIGHT, N_("_Rights"), 0, 0, NULL }, + { GL_STOCK_ALIGN_HCENTER, N_("_Centers"), 0, 0, NULL }, + { GL_STOCK_ALIGN_TOP, N_("_Tops"), 0, 0, NULL }, + { GL_STOCK_ALIGN_BOTTOM, N_("Bottoms"), 0, 0, NULL }, + { GL_STOCK_ALIGN_VCENTER, N_("Centers"), 0, 0, NULL }, + { GL_STOCK_CENTER_HORIZ, N_("Label Ce_nter"), 0, 0, NULL }, + { GL_STOCK_CENTER_VERT, N_("Label Ce_nter"), 0, 0, NULL }, }; gtk_stock_add (items, G_N_ELEMENTS (items)); @@ -96,6 +97,8 @@ gl_stock_init (void) add_icons (factory, GL_STOCK_BARCODE, stock_barcode_24, stock_barcode_16); add_icons (factory, GL_STOCK_MERGE, stock_merge_24, stock_merge_16); + add_icons (factory, GL_STOCK_PROPERTIES, NULL, stock_properties_16); + add_icons (factory, GL_STOCK_ORDER_TOP, NULL, stock_order_top_16); add_icons (factory, GL_STOCK_ORDER_BOTTOM, NULL, stock_order_bottom_16); add_icons (factory, GL_STOCK_ROTATE_LEFT, NULL, stock_rotate_left_16); diff --git a/glabels2/src/stock.h b/glabels2/src/stock.h index 91ebc4b1..c2f6182c 100644 --- a/glabels2/src/stock.h +++ b/glabels2/src/stock.h @@ -33,6 +33,7 @@ #define GL_STOCK_IMAGE "gl_stock_image" #define GL_STOCK_BARCODE "gl_stock_barcode" #define GL_STOCK_MERGE "gl_stock_merge" +#define GL_STOCK_PROPERTIES "gl_stock_properties" #define GL_STOCK_ORDER_TOP "gl_stock_order_top" #define GL_STOCK_ORDER_BOTTOM "gl_stock_order_bottom" #define GL_STOCK_ROTATE_LEFT "gl_stock_rotate_left" -- 2.39.5