136 Commits

Author SHA1 Message Date
Nick Hall
a5b4759f40 6128: Reverse bug fix keeping code refactor
svn: r21577
2013-03-07 22:55:23 +00:00
John Ralls
b87c663612 grampletpane: Fix typo, naked except.
Warn with the reason when Dashboard file can't be opened or parsed.

svn: r21492
2013-02-28 19:10:33 +00:00
Jérôme Rapinat
b78c9b358e 6385: Three minor grammar issues
svn: r21478
2013-02-28 10:03:04 +00:00
John Ralls
ff7cef7d4e Addons: Check for two-letter lang as well as 5-char locale
E.g, check fr as well as fr_FR

svn: r21450
2013-02-26 00:16:30 +00:00
John Ralls
cdf619cf62 grampletpane: Replace diagnostic prints with log warnings.
And improve warning when unable to save the Dashboard layout.

svn: r21449
2013-02-26 00:16:19 +00:00
John Ralls
624314e8bc grampletpane: Use __future__.unicode_literals instead of cuni()
And get rid of the silly NL = "\n"

svn: r21448
2013-02-26 00:16:07 +00:00
Paul Franklin
388ec0cbf1 slightly reformat error message
svn: r21443
2013-02-25 16:12:19 +00:00
John Ralls
af0f98d3b7 Fix missed cuni() in save.
svn: r21435
2013-02-24 16:46:16 +00:00
Paul Franklin
0b30e204bf revert to the old report name
svn: r21429
2013-02-24 08:40:08 +00:00
John Ralls
4decf95b07 [r21424]Fix Py2 file encoding errors
svn: r21425
2013-02-24 02:20:09 +00:00
Nick Hall
6deead53fc Make availability of GraphViz settings depend on output format
svn: r21365
2013-02-16 21:36:58 +00:00
Paul Franklin
8abf7677d6 6247: Crash when attempting to use Book Report
svn: r21350
2013-02-13 18:43:25 +00:00
Paul Franklin
80e27a63c0 6379: Can not get ancestry or relationship tabs to work
svn: r21337
2013-02-10 21:11:57 +00:00
Helge Herz
705355104a Revert svn21255 (svn21254 in branches/maintenance/gramps40) as discussed in issue 6424
svn: r21329
2013-02-10 15:23:06 +00:00
Tim G L Lyons
539fed3314 Reinstate inadvertent removal of rev 19988 change for bug 5900
svn: r21327
2013-02-09 21:12:19 +00:00
Benny Malengier
1dfd067e52 use latest gtkspell if available
svn: r21309
2013-02-06 09:24:15 +00:00
Tim G L Lyons
280c455eba 0003968: [NarWeb] Save/Restore settings for Narrated Website Generation. Change report_options file to be in the database directory, and implement different default report file and directory names based on the Family Tree Name. N.B. On upgrading, if you want to preserve your report_options, copy the report_option.xml file from the .gramps directory to the applicable .gramps.grampsdb.<number> directory. Also don't forget that the default options are to EXCLUDE private and living data.
svn: r21306
2013-02-05 18:07:37 +00:00
Jérôme Rapinat
9b7a34d9c0 6403: Limit and try to avoid markups in translatable messages
svn: r21289
2013-02-04 09:25:41 +00:00
Jérôme Rapinat
964d13ab40 update path
svn: r21278
2013-02-02 09:54:32 +00:00
John Ralls
fd61b21a2d GrampsLocale: Replace locale.strcoll, locale.strxfrm, and conv*_tosrtkey
With GrampsLocale.sort_key (for strxfrm and conv*_tosrtkey) and
GrampsLocale.strcoll.

If ICU is available will use the correct ICU::Collator for the locale,
otherwise falls back to locale.strxfrm -- for which it temporarily
changes the LC_COLLATE locale.

svn: r21275
2013-02-01 22:49:14 +00:00
Tim G L Lyons
f0ed16a9eb export file select dialogue does not correctly reject empty filenames - two (probably long standing) coding errors: use of method name 'strip' instead of calling it, and does not isolate the filename from the full pathname
svn: r21268
2013-02-01 17:40:24 +00:00
Jérôme Rapinat
ee96c874ba 6367: Update the Side/Bottombar text (patch by Patsyblefebre)
svn: r21260
2013-01-31 08:29:39 +00:00
Benny Malengier
c2164fbb37 gdkpixbuf support on windows
svn: r21255
2013-01-30 10:05:29 +00:00
Jérôme Rapinat
febd8842fd behavior has changed on gramplet bars, message needs an update too
svn: r21231
2013-01-27 16:52:09 +00:00
Benny Malengier
3e80ed51e0 6288: crash: no attribute 'require_version' - better fix
svn: r21207
2013-01-24 08:45:00 +00:00
Nick Hall
9c66c62d5c Add tagging to all primary objects
svn: r21194
2013-01-22 16:12:15 +00:00
Tim G L Lyons
c91b53f0c4 0005088: Narrated Web Site Report sort order different Windows vs Linux. Initial commit to resolve the issues on Linux and Mac (provided in both cases PyICU is installed). Windows still needs to be tested, and there may still be some other uses of strxfrm (or strcoll) that need to be fixed.
svn: r21175
2013-01-20 15:11:06 +00:00
Nick Hall
d189448f39 Use public interface of Gtk.TreeModel in listview code
svn: r21165
2013-01-18 18:46:09 +00:00
Nick Hall
ddff6f95d9 6353: Fix error when setting colours
svn: r21163
2013-01-18 18:24:13 +00:00
Nick Hall
e4c0e079e7 Remove handle and tooltip columns from models
svn: r21158
2013-01-17 21:58:53 +00:00
John Ralls
e920cbfac1 GrampsLocale: Get the language code from the global translation
Instead of probing locale.getlocale() and environment variables

svn: r21151
2013-01-17 19:48:24 +00:00
John Ralls
a58ef2b73f GrampsLocale: Replace calls to sys.getfilesystemencoding
On MSWin and OSX, this call always returns the correct
value (utf-8 on OSX, 'mbcs' on MSWin), but on Linux the
return value is bizarrely dependent upon the environment.

Replace it with a GrampsLocale function which returns 'utf-8'
(the correct value for most Linux file systems) regardless of
the environment.

Also replace its use in print and write functions: It's the
encoding of paths in the filesystem, not of the files's content,
nor of the terminal's capabilities. The former is almost
always utf-8 as long as we write the file, the latter is
given by sys.stdout.encoding. Use the 'backslashreplace' error
handler to avoid exceptions when we need to output unicode
text to an ASCII terminal.

svn: r21146
2013-01-17 19:47:36 +00:00
John Ralls
ef7e047b4b [Bug 6222]: Get the addons language list from the primary
GrampsLocale instance.

svn: r21145
2013-01-17 19:47:21 +00:00
John Ralls
ef6892abbd GrampsLocale: Remove ggettext
svn: r21144
2013-01-17 19:46:55 +00:00
John Ralls
d3c2a8a490 Localization: Re-implement localization as a class, GrampsLocale
GrampsLocale is effectively a singleton: An instance is created in
const.py and retrieved everywhere.

Translations are provided via Translations classes, which are derived
from GNUTranslations and NullTranslations to provide extra functions
like sgettext.

svn: r21143
2013-01-17 19:42:11 +00:00
John Ralls
eecf57a0f6 Rename trans.py and mactrans.py to grampslocale.py and maclocale.py
Reflecting discussion on gramps-devel about their affecting more than
just translations.

Provide for a master GrampsLocale instance to be retrieved from
const.py, set by grampsapp.

svn: r21142
2013-01-17 19:41:58 +00:00
Nick Hall
7bb5c75d6a 6333: Display optional close button in gramplet bar tabs
svn: r21140
2013-01-16 23:59:48 +00:00
Nick Hall
a323f92482 Tidy up bookmark code
svn: r21139
2013-01-15 22:30:18 +00:00
Nick Hall
ae65778d27 6331: Fix spelling mistakes
svn: r21137
2013-01-15 21:04:57 +00:00
Benny Malengier
b3ceb3e828 6338: NotImplementedError on Export a View to a spreadsheet from the People Category
svn: r21136
2013-01-15 19:49:07 +00:00
Nick Hall
aa021c36c8 Allow icons as column headings in listviews
svn: r21134
2013-01-15 18:46:18 +00:00
Benny Malengier
7672f64221 6330: Can't download ans install addons
svn: r21131
2013-01-15 10:59:13 +00:00
Benny Malengier
926dbca98f 6329: Crazy citations after XML import of bacuo from Gramps 3.4.3
svn: r21123
2013-01-15 08:42:50 +00:00
Benny Malengier
00bd4b81f8 6326: Running Export View crashes with 'tuple' object has no attribute 'get_indices'
svn: r21120
2013-01-14 18:57:47 +00:00
Nick Hall
b20e711c30 1765: Add private column to views
svn: r21114
2013-01-14 16:49:52 +00:00
Nick Hall
347d371b77 Improvement to dropdown navigation plugin
svn: r21102
2013-01-13 17:09:53 +00:00
Benny Malengier
7fc4d4ec3f 6288: crash: no attribute 'require_version'
svn: r21100
2013-01-13 16:51:04 +00:00
Paul Franklin
47b1b251bc 6229: bug when creating a book reports
svn: r21090
2013-01-13 01:07:19 +00:00
Nick Hall
73b26752b0 Add two experimental navigation plugins
svn: r21088
2013-01-12 23:35:45 +00:00
Benny Malengier
ecd18dfbce 6321: installed rcs and tried to make an archive
svn: r21083
2013-01-12 14:48:49 +00:00