1 2004-01-03 Jim Evins <evins@snaught.com>
6 2004-01-03 Jim Evins <evins@snaught.com>
9 Added acknowledgement of contributions by Wayne Schuller.
11 * src/commands.c: (gl_cmd_file_print):
12 Create extra reference to print dialog, so that it can be properly re-used.
14 * src/mygal/mygal-combo-box.h:
15 * src/mygal/mygal-combo-box.c:
16 (mygal_combo_box_popup_hide_unconditional),
17 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
18 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
19 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
20 (mygal_combo_box_set_tearable):
21 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
22 complete the rename of this widget to prevent namespace collisions
25 * src/prefs-dialog.glade:
26 Fixed alignment of Fill/Color widgets.
28 2004-01-03 Jim Evins <evins@snaught.com>
30 * data/avery-iso-templates.xml:
31 Added user submitted templates.
32 Avery 8435A & 8435B, submitted by Ludger Solbach.
35 Added minimal documentation, noting the new template designer.
37 2004-01-03 Jim Evins <evins@snaught.com>
39 * pixmaps/ex-rect-size.png:
40 * pixmaps/ex-round-size.png:
41 * pixmaps/ex-cd-size.png:
42 * pixmaps/Makefile.am:
43 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
44 files to be used as illustrations/examples in the template-designer.
46 * src/template-designer.c: (construct_rect_size_page),
47 (construct_round_size_page), (construct_cd_size_page),
48 (construct_nlayouts_page), (rect_size_page_prepare_cb),
49 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
50 (layout_page_prepare_cb), (build_template):
51 * src/template-designer.glade:
52 Added illustrations for rectangle, round, and cd label size pages.
53 Added margin spinboxes to these pages, and now add a margin markup
54 to the constructed template. Added realistic default values for
55 some of the size spinboxes. Cleaned up the code for setting spinbox
56 ranges on the layouts page.
58 2004-01-02 Jim Evins <evins@snaught.com>
60 * src/object-editor-size-page.c: (h_spin_cb):
61 Fixed cut-n-paste error in h_spin_cb that loaded h from
64 * src/object-editor.h:
65 * src/object-editor.c: (gl_object_editor_class_init),
66 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
67 * src/object-editor-private.h:
68 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
70 Added "size_changed" signal.
72 * src/view-text.c: (construct_properties_editor),
73 (update_object_from_editor_cb),
74 (update_object_from_editor_size_cb):
75 Track size changes from object editor separately from other
76 properties. This is so the default size (0,0) of a text
77 object is not modified unintentionally.
79 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
81 Added feature: line spacing - allows you to comfortably space a text box to
82 fit a label perfectly.
84 * data/glabels-2.0.dtd:
85 * src/label-object.c: (gl_label_object_set_text_line_spacing),
86 (gl_label_object_get_text_alignment),
87 (gl_label_object_get_text_line_spacing):
89 * src/label-text.c: (gl_label_text_class_init),
90 (gl_label_text_instance_init), (copy), (get_size),
91 (set_text_line_spacing), (get_text_alignment),
92 (get_text_line_spacing):
93 * src/object-editor-private.h:
94 * src/object-editor-text-page.c:
95 (gl_object_editor_prepare_text_page),
96 (gl_object_editor_set_text_line_spacing),
97 (gl_object_editor_get_text_line_spacing):
98 * src/object-editor.glade:
99 * src/object-editor.h:
100 * src/prefs-dialog.c: (construct_object_page),
101 (update_object_page_from_prefs), (update_prefs_from_object_page):
102 * src/prefs-dialog.glade:
103 * src/prefs-model.c: (gl_prefs_model_save_settings),
104 (gl_prefs_model_load_settings), (get_float):
106 * src/print.c: (draw_text_object):
108 * src/view-text.c: (update_object_from_editor_cb),
109 (update_editor_from_object_cb),
110 (gl_view_text_create_event_handler), (draw_hacktext):
111 * src/view.c: (gl_view_construct),
112 (gl_view_set_selection_text_line_spacing),
113 (gl_view_set_default_text_line_spacing),
114 (gl_view_get_default_text_line_spacing):
116 * src/xml-label.c: (xml_parse_toplevel_span),
117 (xml_create_toplevel_span):
119 2003-12-30 Jim Evins <evins@snaught.com>
121 * src/template-designer.c:
122 * src/template-designer.h:
123 * src/template-designer.glade:
124 New template designer assistant.
128 Added entries for src/template-designer.* files.
130 * pixmaps/ex-1layout.png
131 * pixmaps/ex-2layouts.png
132 * pixmaps/Makefile.am:
133 Added the new image files ex-*.png used as illustrations in the
134 template designer assistant.
136 * src/print-dialog.h:
137 * src/print-dialog.c: (gl_print_dialog_finalize),
138 (gl_print_dialog_new), (gl_print_dialog_construct),
139 (gl_print_dialog_force_outline_flag):
140 Changed first argument of gl_print_dialog_new() from glView to glLabel,
141 to support printing from the template designer assistant which does not
142 have a full-fledged view. Nothing else from the view object was being
143 used by the dialog anyway.
145 Added the gl_print_dialog_force_outline_flag() method, for better
146 integration with the template designer assistant.
150 * src/commands.c: (gl_cmd_file_template_designer),
152 Modified print command to provide label instead of view to dialog.
153 Added the gl_cmd_file_template_designer() command to invoke the
154 template designer assistant.
157 * src/glabels-ui.xml:
158 Added support for template designer assistant.
160 * src/wdgt-mini-preview.h:
161 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
162 (gl_wdgt_mini_preview_set_bg_color):
163 Preview is now centered in canvas. Added
164 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
165 assistant to match the background color with its own.
167 * src/print.c: (clip_to_outline):
168 Fixed really stupid bug when adding waste to clip region of rectangular
169 labels/cards. Each side of the clip region needs to be extended by
170 twice the waste margin, as well as negatively offset by the waste
173 2003-12-28 Jim Evins <evins@snaught.com>
175 * src/prefs-dialog.c: (update_object_page_from_prefs):
176 Block intermediary function align_toggle_cb() instead of
177 update_prefs_from_object_page() for the three alignment
180 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
182 * src/file.c: (gl_file_new), (gl_file_properties):
183 Swap button order and set default for higificatory pleasure.
185 2003-12-27 Jim Evins <evins@snaught.com>
187 * barcode-0.98/Makefile.am:
188 One last time: removed doc/Makefile and po/Makefile.in.in from
191 2003-12-27 Jim Evins <evins@snaught.com>
193 * barcode-0.98/Makefile.am:
194 Removed config.stat entry from EXTRA_DIST files.
196 * barcode-0.98/Makefile.in:
199 2003-12-27 Jim Evins <evins@snaught.com>
202 Updated to work with latest gnome-common package from CVS.
203 Removed recursive configuration of barcode-0.98.
210 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
212 * barcode-0.98/Makefile.in:
213 * barcode-0.98/configure.in:
214 * barcode-0.98/Makefile.am:
215 * barcode-0.98/README.glabels:
216 Modified to ignore the barcode package's build system, and build
217 as a part of glabels.
218 Renamed Makefile.in to Makefile.in.dist.
219 Renamed configure.in to configure.in.dist.
220 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
223 * src/mygal/Makefile.am:
224 * src/recent-files/Makefile.am:
225 In order to build against the GNOME 2.5 platform,
226 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
228 * src/mygal/Makefile.am:
229 * src/mygal/mygal-combo-box.c:
230 * src/mygal/mygal-combo-box.h:
231 * src/mygal/widget-color-combo.c:
232 * src/mygal/widget-color-combo.h:
234 In order to build against the GNOME 2.5 platform,
235 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
236 collisions with the real gtk_combo_box widget, now a part of gtk.
238 2003-12-26 Jim Evins <evins@snaught.com>
244 Moved local versions of get_home_data_dir() in paper.c and
245 template.c to util package. Cleaned up formatting in
249 In gl_template_register() save a copy of the template in
250 ~/.glabels if the template is not known. Still need to
251 handle duplicate filename case and duplicate name but
252 different template case.
256 Moved local definition of NAME_SPACE macro from xml-label.c
259 * src/xml-template.c:
260 * src/xml-template.h:
261 Added function gl_xml_template_write_template_to_file(), used
262 in gl_template_register().