Jim Patterson [Sun, 27 Dec 2015 00:01:34 +0000 (19:01 -0500)]
Auto-detect file encoding of CSV files and process accordingly.
Fixes sourceforge bug# 139. The changes scan any CSV file for a BOM
(Byte Order Mark) when it's opened. If one is found, then the getc
routine will use g_iconv to convert code sequences to utf-8 before
passing them up for processing. Since it checks for the UTF-8 BOM as
well as those for UTF-16 and UTF-32, this change also provides a way
in which a UTF-8 CSV file can be passed into GLabels on those systems
which aren't using UTF-8 as the system codeset. Currently, those
files are (it appears) assumed to be in the system code set, and so
are a bit problematic.
Jim Evins [Sat, 18 Jul 2015 01:17:51 +0000 (21:17 -0400)]
Updated Brother QL-500/550/... templates.
Updated these templates to use the foomatic ptouch driver. The
label sizes and measurements come directly from version 1.1 of
the 'Brother-QL-500-ptouch.ppd' file.
Kept old templates around for backwards compatability.
Tim Waugh [Mon, 19 Jan 2015 23:11:51 +0000 (23:11 +0000)]
Handle vcard entries with addresses but no address labels (bug #742441).
Fixes Bug #742441. A vcard entry that has no address labels but does include
structured address components can be handled by fabricating the address label
from the address components.
Tim Waugh [Tue, 6 Jan 2015 09:34:20 +0000 (09:34 +0000)]
Fixed missing contacts when importing from vcard.
Fixes Bug #742440. After checking for an END line, another line was read
before breaking out of the loop. This could have been the BEGIN line for
the next record, in which case that record will be lost.
Jim Evins [Fri, 24 Oct 2014 00:57:06 +0000 (20:57 -0400)]
Removed obsolete tab-hborder property from media-select UI file.
Unfortunately, beginning with gtk 3.14, rather than ignoring this obsolete
property, having it in a UI file is considered a critical error, thus crashing
glabels on newer distributions.
Jim Evins [Fri, 24 Oct 2014 00:45:12 +0000 (20:45 -0400)]
Added dummy window as parent in warning and critical error handlers.
In gtk 3.14, creating a message dialog without a parent window
causes a crash. Unfortunately this causes the original error or
warning message from being seen by the user.
Piotr Drąg [Sun, 5 Oct 2014 15:41:39 +0000 (17:41 +0200)]
Removed Polish translation
Last updated in 2002 (that's 12 years ago) and with 68 strings translated,
it's doing more harm than good at this point. It can always be brought back
from git, but it's probably easier to just start from scratch, if anyone's
interested.
James Cloos [Sat, 22 Jun 2013 18:29:13 +0000 (14:29 -0400)]
Embed the text in the printstream as text rather that as an outline
Fixes bug #702783. Render text directly using pango-cairo API instead of
filling text outline path. Original patch modified to still use path to test
for selection.
Jim Evins [Fri, 21 Jun 2013 03:30:14 +0000 (23:30 -0400)]
Add decoration to new label dialog.
Manually added decorations back to new label dialog that have been deprecated
in recent versions of Gtk. Still need to look for proper way to use theming
information to select text and background colors.