From: Jim Evins Date: Thu, 28 Nov 2002 04:14:52 +0000 (+0000) Subject: Added stock_center_horiz and stock_center_vert stock icons. X-Git-Tag: glabels-2_3_0~698 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0f6a9bcff38a3f8f0af56c911c6fe8217ff746f4;p=glabels Added stock_center_horiz and stock_center_vert stock icons. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@189 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- diff --git a/glabels2/src/stock-pixmaps/Makefile.am b/glabels2/src/stock-pixmaps/Makefile.am index a7e4dd69..4899aff2 100644 --- a/glabels2/src/stock-pixmaps/Makefile.am +++ b/glabels2/src/stock-pixmaps/Makefile.am @@ -27,7 +27,9 @@ IMAGES = \ stock_align_hcenter_16.png \ stock_align_top_16.png \ stock_align_bottom_16.png \ - stock_align_vcenter_16.png + stock_align_vcenter_16.png \ + stock_center_horiz_16.png \ + stock_center_vert_16.png VARIABLES1 = \ stock_arrow_24 $(srcdir)/stock_arrow_24.png \ @@ -57,7 +59,10 @@ VARIABLES1 = \ stock_align_hcenter_16 $(srcdir)/stock_align_hcenter_16.png \ stock_align_top_16 $(srcdir)/stock_align_top_16.png \ stock_align_bottom_16 $(srcdir)/stock_align_bottom_16.png \ - stock_align_vcenter_16 $(srcdir)/stock_align_vcenter_16.png + stock_align_vcenter_16 $(srcdir)/stock_align_vcenter_16.png \ + stock_center_horiz_16 $(srcdir)/stock_center_horiz_16.png \ + stock_center_vert_16 $(srcdir)/stock_center_vert_16.png + noinst_DATA = stockpixbufs.h CLEANFILES = $(noinst_DATA) diff --git a/glabels2/src/stock-pixmaps/stock_center_horiz_16.png b/glabels2/src/stock-pixmaps/stock_center_horiz_16.png new file mode 100644 index 00000000..fce3e909 Binary files /dev/null and b/glabels2/src/stock-pixmaps/stock_center_horiz_16.png differ diff --git a/glabels2/src/stock-pixmaps/stock_center_vert_16.png b/glabels2/src/stock-pixmaps/stock_center_vert_16.png new file mode 100644 index 00000000..08b19af0 Binary files /dev/null and b/glabels2/src/stock-pixmaps/stock_center_vert_16.png differ diff --git a/glabels2/src/stock.c b/glabels2/src/stock.c index 93187d9e..a03f7d4b 100644 --- a/glabels2/src/stock.c +++ b/glabels2/src/stock.c @@ -78,6 +78,8 @@ gl_stock_init (void) { 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 }, }; gtk_stock_add (items, G_N_ELEMENTS (items)); @@ -106,6 +108,8 @@ gl_stock_init (void) add_icons (factory, GL_STOCK_ALIGN_TOP, NULL, stock_align_top_16); add_icons (factory, GL_STOCK_ALIGN_BOTTOM, NULL, stock_align_bottom_16); add_icons (factory, GL_STOCK_ALIGN_VCENTER, NULL, stock_align_vcenter_16); + add_icons (factory, GL_STOCK_CENTER_HORIZ, NULL, stock_center_horiz_16); + add_icons (factory, GL_STOCK_CENTER_VERT, NULL, stock_center_vert_16); g_object_unref (G_OBJECT(factory)); } diff --git a/glabels2/src/stock.h b/glabels2/src/stock.h index 63ddf952..91ebc4b1 100644 --- a/glabels2/src/stock.h +++ b/glabels2/src/stock.h @@ -45,6 +45,8 @@ #define GL_STOCK_ALIGN_TOP "gl_stock_align_top" #define GL_STOCK_ALIGN_BOTTOM "gl_stock_align_bottom" #define GL_STOCK_ALIGN_VCENTER "gl_stock_align_vcenter" +#define GL_STOCK_CENTER_HORIZ "gl_stock_center_horiz" +#define GL_STOCK_CENTER_VERT "gl_stock_center_vert" void gl_stock_init (void);