Jim Evins [Sat, 29 Nov 2003 03:34:01 +0000 (03:34 +0000)]
Delay doing a gtk_widget_show on notebook until it is known if any pages are visible or not. Doing the show on a notebook with all hidden pages causes a crash on Fedora Core 1/Gnome 2.4.
Jim Evins [Thu, 27 Nov 2003 06:27:43 +0000 (06:27 +0000)]
Created generic "get" methods for text, fill and line properties for all label objects. This will make it easier to track changes in a general view such as the property toolbar.
Jim Evins [Wed, 26 Nov 2003 01:12:23 +0000 (01:12 +0000)]
Modified zoom code:
- Now keeps track of zoom levels, rather than screen scale
- Calculates home scale from screen DPI
- View size changes are tracked, and if selected zoom_to_fit is maintained.
- New windows default to zoom_to_fit.
- Tracks changes in screen, so that new home scale can be updated
Jim Evins [Mon, 24 Nov 2003 03:44:28 +0000 (03:44 +0000)]
Changed object property dialogs to a single object property editor sidebar.
Added zoom to fit command.
Converted object property editor and preferences dialog to use libglade and removed un-needed widgets.
Jim Evins [Sat, 15 Nov 2003 13:50:29 +0000 (13:50 +0000)]
Added "break" in draw_markup_layer between line and circle cases of switch. This fixes Bug #842705. This is also the 2nd time I have fixed this bug -- I must of neglected to check it in.
Jim Evins [Tue, 11 Nov 2003 01:39:45 +0000 (01:39 +0000)]
Prefixed $(configdir) with $(DESTDIR) in intall-data-local rule. Patch provided by Andrew Lau <netsnipe@users.sourceforge.net> needed to build debian package.
Jim Evins [Sun, 9 Nov 2003 15:34:08 +0000 (15:34 +0000)]
One of the signal handlers (view_scale_changed_cb) created with a view_highlight actually belongs to view. So when a view_highlight is finalized, we must disconnect this handler. This fixes the crash reported in bug #836873.
Jim Evins [Mon, 27 Oct 2003 04:15:24 +0000 (04:15 +0000)]
Fix for Bug #822848: in gl_window_destroy() unreference window->uic and recent_view.
Hack: squirrel away recent_view as data in window->uic, and extract this in gl_window_destroy(). A better approach might be to wrap up the ui_component in its own object, then simply unreference it.
Jim Evins [Sun, 19 Oct 2003 05:00:58 +0000 (05:00 +0000)]
Applied patch #826108: Installs files to register glabels and glabels filetypes/mimetypes with gnome. This addresses bug #822852. Supplied by Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>. This patch adds the files:
Jim Evins [Fri, 17 Oct 2003 03:26:47 +0000 (03:26 +0000)]
Cleanup of Avery US-Letter templates.
- Spaced between manufacturer and part # to facilitate sorting, i.e. Assume part #s are 5 digits and right justified.
- Unified descriptions so they are consistent with the generic portion of Avery's descriptions, and their are fewer unique descriptions to facilitate translations.
- If multiple types per sheet or part #, the part # is suffixed with an appropriate description (e.g. 8391-Disc).
Jim Evins [Wed, 15 Oct 2003 01:02:46 +0000 (01:02 +0000)]
Applied patch #822935. This patch slightly increases the invalidated area during a redraw request, to account for anti-aliasing. This prevent small artifacts from being left around when text and barcode objects are dragged around the canvas. This patch also corrects an oversight in view-barcode.c when converting from gnome_canvas_hacktext to gl_canvas_hacktext. This patch was provided by Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>.
Jim Evins [Mon, 13 Oct 2003 02:00:10 +0000 (02:00 +0000)]
Patch #820699: corrects interpretation of Object-text nodes when it consists of a single Field node. Interpretation gets screwed up by the automatic XML indentation. Patch provided by: Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>.
Jim Evins [Wed, 8 Oct 2003 03:36:00 +0000 (03:36 +0000)]
Applied color combo patch, provided by Emmanuel Pacaud (emmanuelp@sourceforge.net). One distinct improvement is that the icons are grayed out when the widget is insensitive.
Jim Evins [Wed, 8 Oct 2003 01:11:58 +0000 (01:11 +0000)]
Applied patch to correct conversion errors when reading files for many non-"C" locales, i.e. locales where commas are used as decimal points.
Provided by Emmanuel Pacaud (emmanuelp@sourceforge.net).
Additionally modified, to allow locale format for in xml files to be honored and to honor spaces between value and units.
All values written by glabels are now guaranteed to be in the "C" locale.
Jim Evins [Sun, 27 Jul 2003 04:07:19 +0000 (04:07 +0000)]
- Added mygal, a modified version of the gal library, to provide a sophisticated color combo widget.
- Added ui-property-bar.[ch] and ui-util.[ch] to add a property bar to edit some properties of selections without going through a "edit properties" dialog.
Jim Evins [Sun, 27 Jul 2003 03:55:30 +0000 (03:55 +0000)]
- Added mygal, a modified version of the gal library, to provide a sophisticated color combo widget.
- Added ui-property-bar.[ch] and ui-util.[ch] to add a property bar to edit some properties of selections without going through a "edit properties" dialog.
Jim Evins [Mon, 23 Jun 2003 03:48:51 +0000 (03:48 +0000)]
The widget should now correctly use the page size "id" when interacting through its API, but use the page size "name" (which may be localized) when interacting with the human user.
Jim Evins [Sun, 22 Jun 2003 05:40:12 +0000 (05:40 +0000)]
- Created Makefile.am in ./data and ./pixmaps directories
- Modified ./configure.in and ./Makefile.am to work with these Makefiles
- Moved glabels.desktop to ./data directory
- Changed version to 1.92.0 in ./configure.in
- Added page-sizes.paper to ./data -- it seems to be less hassle to maintain
a local paper size database.
- Added paper.[ch] and xml-paper.[ch] to ./src.
- Converted to libgnomeprint-2.2 -- serious hack: ignoring the fact that
gnome-printer-selector is private.
Jim Evins [Sun, 22 Jun 2003 05:33:54 +0000 (05:33 +0000)]
- Created Makefile.am in ./data and ./pixmaps directories
- Modified ./configure.in and ./Makefile.am to work with these Makefiles
- Moved glabels.desktop to ./data directory
- Changed version to 1.92.0 in ./configure.in
- Added page-sizes.paper to ./data -- it seems to be less hassle to maintain
a local paper size database.
Jim Evins [Sun, 22 Jun 2003 05:31:38 +0000 (05:31 +0000)]
- Created Makefile.am in ./data and ./pixmaps directories
- Modified ./configure.in and ./Makefile.am to work with these Makefiles
- Moved glabels.desktop to ./data directory
- Changed version to 1.92.0 in ./configure.in
- Added page-sizes.paper to ./data -- it seems to be less hassle to maintain
a local paper size database.
Jim Evins [Sun, 22 Jun 2003 05:26:07 +0000 (05:26 +0000)]
- Created Makefile.am in ./data and ./pixmaps directories
- Modified ./configure.in and ./Makefile.am to work with these Makefiles
- Moved glabels.desktop to ./data directory
Jim Evins [Mon, 26 May 2003 05:08:21 +0000 (05:08 +0000)]
In xml.[ch]:
- Added functions to get and set length properties:
gl_xml_get_prop_length()
gl_xml_set_prop_length()
- Changed gl_xml_get_prop_uint_hex() to gl_xml_get_prop_uint(). It should
automatically determine base according to "C" rules, i.e. "0x" => hex,
"0" => octal, and anything else is decimal.
- gl_xml_get_prop_int() has also been modified to use the "C" rules.