From: Jim Evins Date: Wed, 13 Sep 2006 02:40:30 +0000 (+0000) Subject: 2006-09-12 Jim Evins X-Git-Tag: glabels-2_3_0~372 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0348e755ccc6e81d040771bfbdff6ccd081908ff;p=glabels 2006-09-12 Jim Evins * data/dtd/glabels-2.0.dtd: * data/templates/Makefile.am: * data/templates/avery-iso-templates.xml: * data/templates/avery-other-templates.xml: * data/templates/avery-us-templates.xml: * data/templates/categories.xml: * data/templates/misc-iso-templates.xml: * data/templates/misc-other-templates.xml: * data/templates/zweckform-iso-templates.xml: * data/glade/Makefile.am: * data/glade/new-label-dialog.glade: * data/glade/wdgt-media-select.glade: * data/glade/wdgt-rotate-label.glade: * libglabels/Makefile.am: * libglabels/category.c: * libglabels/category.h: * libglabels/libglabels.h: * libglabels/paper.c: * libglabels/template.c: * libglabels/template.h: * libglabels/xml-category.c: * libglabels/xml-category.h: * libglabels/xml-template.c: Added support for category meta data. * src/Makefile.am: * src/file.c: * src/mini-preview-pixbuf.c: * src/mini-preview-pixbuf.h: * src/new-label-dialog.c: * src/new-label-dialog.h: * src/wdgt-media-select.c: * src/wdgt-media-select.h: * src/wdgt-rotate-label.c: * src/wdgt-rotate-label.h: New "new label" dialog. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@596 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- diff --git a/glabels2/ChangeLog b/glabels2/ChangeLog index 0b628829..e7723252 100644 --- a/glabels2/ChangeLog +++ b/glabels2/ChangeLog @@ -1,3 +1,41 @@ +2006-09-12 Jim Evins + + * data/dtd/glabels-2.0.dtd: + * data/templates/Makefile.am: + * data/templates/avery-iso-templates.xml: + * data/templates/avery-other-templates.xml: + * data/templates/avery-us-templates.xml: + * data/templates/categories.xml: + * data/templates/misc-iso-templates.xml: + * data/templates/misc-other-templates.xml: + * data/templates/zweckform-iso-templates.xml: + * data/glade/Makefile.am: + * data/glade/new-label-dialog.glade: + * data/glade/wdgt-media-select.glade: + * data/glade/wdgt-rotate-label.glade: + * libglabels/Makefile.am: + * libglabels/category.c: + * libglabels/category.h: + * libglabels/libglabels.h: + * libglabels/paper.c: + * libglabels/template.c: + * libglabels/template.h: + * libglabels/xml-category.c: + * libglabels/xml-category.h: + * libglabels/xml-template.c: + Added support for category meta data. + * src/Makefile.am: + * src/file.c: + * src/mini-preview-pixbuf.c: + * src/mini-preview-pixbuf.h: + * src/new-label-dialog.c: + * src/new-label-dialog.h: + * src/wdgt-media-select.c: + * src/wdgt-media-select.h: + * src/wdgt-rotate-label.c: + * src/wdgt-rotate-label.h: + New "new label" dialog. + 2006-05-27 Jim Evins * NEWS: diff --git a/glabels2/data/dtd/glabels-2.0.dtd b/glabels2/data/dtd/glabels-2.0.dtd index 5d8047a3..7bb2067a 100644 --- a/glabels2/data/dtd/glabels-2.0.dtd +++ b/glabels2/data/dtd/glabels-2.0.dtd @@ -61,6 +61,16 @@ xmlns %STRING_TYPE; #IMPLIED > + + + + + + + + @@ -93,13 +103,23 @@ height %LENGTH_TYPE; #REQUIRED > + + + + + + - + + + + + + + + + + True + window1 + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + + + + 12 + True + False + 12 + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 0 + + + + + + + + + + + + True + <b>Media type</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + + True + 0 + 0.5 + GTK_SHADOW_NONE + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 12 + 0 + + + + True + False + 0 + + + + + + + + + + + + True + <b>Label orientation</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + label_item + + + + + 0 + True + True + + + + + + + diff --git a/glabels2/data/glade/wdgt-media-select.glade b/glabels2/data/glade/wdgt-media-select.glade new file mode 100644 index 00000000..f92d5de0 --- /dev/null +++ b/glabels2/data/glade/wdgt-media-select.glade @@ -0,0 +1,193 @@ + + + + + + + True + window1 + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + + + + True + False + 0 + + + + True + False + 0 + + + + 12 + True + False + 12 + + + + True + False + 6 + + + + True + Page size: + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + False + True + + + 0 + False + True + + + + + 0 + False + True + + + + + + True + False + 6 + + + + True + Category: + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + True + False + True + + + 0 + False + True + + + + + 0 + False + True + + + + + 0 + False + True + + + + + + 12 + 480 + 320 + True + True + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT + + + + True + True + False + False + False + True + False + False + False + + + + + 0 + True + True + + + + + 0 + True + True + + + + + + + diff --git a/glabels2/data/glade/wdgt-rotate-label.glade b/glabels2/data/glade/wdgt-rotate-label.glade new file mode 100644 index 00000000..89e24a03 --- /dev/null +++ b/glabels2/data/glade/wdgt-rotate-label.glade @@ -0,0 +1,62 @@ + + + + + + + True + window1 + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + + + + 12 + True + False + 6 + + + + True + True + Rotate + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + + + 0 + True + True + + + + + + + diff --git a/glabels2/data/templates/Makefile.am b/glabels2/data/templates/Makefile.am index fc0039fc..63394540 100644 --- a/glabels2/data/templates/Makefile.am +++ b/glabels2/data/templates/Makefile.am @@ -4,6 +4,7 @@ templatesdir = $(datadir)/glabels/templates templates_DATA = \ paper-sizes.xml \ + categories.xml \ avery-us-templates.xml \ avery-iso-templates.xml \ avery-other-templates.xml \ diff --git a/glabels2/data/templates/avery-iso-templates.xml b/glabels2/data/templates/avery-iso-templates.xml index aa9ad16b..c7e9410e 100644 --- a/glabels2/data/templates/avery-iso-templates.xml +++ b/glabels2/data/templates/avery-iso-templates.xml @@ -10,6 +10,7 @@