1 2004-01-03 Jim Evins <evins@snaught.com>
3 * pixmaps/ex-rect-size.png:
4 * pixmaps/ex-round-size.png:
5 * pixmaps/ex-cd-size.png:
7 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
8 files to be used as illustrations/examples in the template-designer.
10 * src/template-designer.c: (construct_rect_size_page),
11 (construct_round_size_page), (construct_cd_size_page),
12 (construct_nlayouts_page), (rect_size_page_prepare_cb),
13 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
14 (layout_page_prepare_cb), (build_template):
15 * src/template-designer.glade:
16 Added illustrations for rectangle, round, and cd label size pages.
17 Added margin spinboxes to these pages, and now add a margin markup
18 to the constructed template. Added realistic default values for
19 some of the size spinboxes. Cleaned up the code for setting spinbox
20 ranges on the layouts page.
22 2004-01-02 Jim Evins <evins@snaught.com>
24 * src/object-editor-size-page.c: (h_spin_cb):
25 Fixed cut-n-paste error in h_spin_cb that loaded h from
28 * src/object-editor.h:
29 * src/object-editor.c: (gl_object_editor_class_init),
30 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
31 * src/object-editor-private.h:
32 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
34 Added "size_changed" signal.
36 * src/view-text.c: (construct_properties_editor),
37 (update_object_from_editor_cb),
38 (update_object_from_editor_size_cb):
39 Track size changes from object editor separately from other
40 properties. This is so the default size (0,0) of a text
41 object is not modified unintentionally.
43 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
45 Added feature: line spacing - allows you to comfortably space a text box to
46 fit a label perfectly.
48 * data/glabels-2.0.dtd:
49 * src/label-object.c: (gl_label_object_set_text_line_spacing),
50 (gl_label_object_get_text_alignment),
51 (gl_label_object_get_text_line_spacing):
53 * src/label-text.c: (gl_label_text_class_init),
54 (gl_label_text_instance_init), (copy), (get_size),
55 (set_text_line_spacing), (get_text_alignment),
56 (get_text_line_spacing):
57 * src/object-editor-private.h:
58 * src/object-editor-text-page.c:
59 (gl_object_editor_prepare_text_page),
60 (gl_object_editor_set_text_line_spacing),
61 (gl_object_editor_get_text_line_spacing):
62 * src/object-editor.glade:
63 * src/object-editor.h:
64 * src/prefs-dialog.c: (construct_object_page),
65 (update_object_page_from_prefs), (update_prefs_from_object_page):
66 * src/prefs-dialog.glade:
67 * src/prefs-model.c: (gl_prefs_model_save_settings),
68 (gl_prefs_model_load_settings), (get_float):
70 * src/print.c: (draw_text_object):
72 * src/view-text.c: (update_object_from_editor_cb),
73 (update_editor_from_object_cb),
74 (gl_view_text_create_event_handler), (draw_hacktext):
75 * src/view.c: (gl_view_construct),
76 (gl_view_set_selection_text_line_spacing),
77 (gl_view_set_default_text_line_spacing),
78 (gl_view_get_default_text_line_spacing):
80 * src/xml-label.c: (xml_parse_toplevel_span),
81 (xml_create_toplevel_span):
83 2003-12-30 Jim Evins <evins@snaught.com>
85 * src/template-designer.c:
86 * src/template-designer.h:
87 * src/template-designer.glade:
88 New template designer assistant.
92 Added entries for src/template-designer.* files.
94 * pixmaps/ex-1layout.png
95 * pixmaps/ex-2layouts.png
96 * pixmaps/Makefile.am:
97 Added the new image files ex-*.png used as illustrations in the
98 template designer assistant.
100 * src/print-dialog.h:
101 * src/print-dialog.c: (gl_print_dialog_finalize),
102 (gl_print_dialog_new), (gl_print_dialog_construct),
103 (gl_print_dialog_force_outline_flag):
104 Changed first argument of gl_print_dialog_new() from glView to glLabel,
105 to support printing from the template designer assistant which does not
106 have a full-fledged view. Nothing else from the view object was being
107 used by the dialog anyway.
109 Added the gl_print_dialog_force_outline_flag() method, for better
110 integration with the template designer assistant.
114 * src/commands.c: (gl_cmd_file_template_designer),
116 Modified print command to provide label instead of view to dialog.
117 Added the gl_cmd_file_template_designer() command to invoke the
118 template designer assistant.
121 * src/glabels-ui.xml:
122 Added support for template designer assistant.
124 * src/wdgt-mini-preview.h:
125 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
126 (gl_wdgt_mini_preview_set_bg_color):
127 Preview is now centered in canvas. Added
128 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
129 assistant to match the background color with its own.
131 * src/print.c: (clip_to_outline):
132 Fixed really stupid bug when adding waste to clip region of rectangular
133 labels/cards. Each side of the clip region needs to be extended by
134 twice the waste margin, as well as negatively offset by the waste
137 2003-12-28 Jim Evins <evins@snaught.com>
139 * src/prefs-dialog.c: (update_object_page_from_prefs):
140 Block intermediary function align_toggle_cb() instead of
141 update_prefs_from_object_page() for the three alignment
144 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
146 * src/file.c: (gl_file_new), (gl_file_properties):
147 Swap button order and set default for higificatory pleasure.
149 2003-12-27 Jim Evins <evins@snaught.com>
151 * barcode-0.98/Makefile.am:
152 One last time: removed doc/Makefile and po/Makefile.in.in from
155 2003-12-27 Jim Evins <evins@snaught.com>
157 * barcode-0.98/Makefile.am:
158 Removed config.stat entry from EXTRA_DIST files.
160 * barcode-0.98/Makefile.in:
163 2003-12-27 Jim Evins <evins@snaught.com>
166 Updated to work with latest gnome-common package from CVS.
167 Removed recursive configuration of barcode-0.98.
174 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
176 * barcode-0.98/Makefile.in:
177 * barcode-0.98/configure.in:
178 * barcode-0.98/Makefile.am:
179 * barcode-0.98/README.glabels:
180 Modified to ignore the barcode package's build system, and build
181 as a part of glabels.
182 Renamed Makefile.in to Makefile.in.dist.
183 Renamed configure.in to configure.in.dist.
184 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
187 * src/mygal/Makefile.am:
188 * src/recent-files/Makefile.am:
189 In order to build against the GNOME 2.5 platform,
190 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
192 * src/mygal/Makefile.am:
193 * src/mygal/mygal-combo-box.c:
194 * src/mygal/mygal-combo-box.h:
195 * src/mygal/widget-color-combo.c:
196 * src/mygal/widget-color-combo.h:
198 In order to build against the GNOME 2.5 platform,
199 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
200 collisions with the real gtk_combo_box widget, now a part of gtk.
202 2003-12-26 Jim Evins <evins@snaught.com>
208 Moved local versions of get_home_data_dir() in paper.c and
209 template.c to util package. Cleaned up formatting in
213 In gl_template_register() save a copy of the template in
214 ~/.glabels if the template is not known. Still need to
215 handle duplicate filename case and duplicate name but
216 different template case.
220 Moved local definition of NAME_SPACE macro from xml-label.c
223 * src/xml-template.c:
224 * src/xml-template.h:
225 Added function gl_xml_template_write_template_to_file(), used
226 in gl_template_register().