Jérôme Rapinat
5c3f83816d
3582: wrong module name
...
svn: r14304
2010-02-10 17:05:55 +00:00
Gerald Britton
1f2469b09f
Simplify with built-in functions where possible. e.g.
...
change [x for x in y if x] to filter(None, y)
change [f(x) for x in y] to map(f, x)
change [x for x in y] to list(y)
These changes reduce source code size and complexity and produce some minor performance gains
svn: r14104
2010-01-21 18:42:53 +00:00
Brian Matherly
f04880ec09
Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time.
...
svn: r14091
2010-01-18 04:42:17 +00:00
Doug Blank
99282aa715
3272: Proposal for updating config settings
...
svn: r13346
2009-10-08 01:12:51 +00:00
Peter Landgren
9991df71e8
String must be unicode for truncation to work for non ascii characters.
...
svn: r13168
2009-09-08 07:28:23 +00:00
Richard Taylor
fc8917f6d2
Fix for OS X Scratchpad issue 3089: clipboard broken in Mac port
...
svn: r12882
2009-08-05 18:29:21 +00:00
Benny Malengier
48c746d1c8
Scratchpad does not keep history between sessions anymore
...
svn: r12747
2009-06-30 21:29:14 +00:00
Benny Malengier
8ad045695b
fcntl module not used in scratchpad
...
svn: r12746
2009-06-30 21:27:15 +00:00
Gerald Britton
fc90d5fce2
Bug 3018: remove calls to keys() dictionary method where possible
...
svn: r12562
2009-05-22 18:43:40 +00:00
Gerald Britton
021b754939
Bug 3011: change old-style classes to new-style classes
...
svn: r12559
2009-05-21 17:19:50 +00:00
Gerald Britton
110557c3c7
Add glade.py with Glade class and use instead of gtk.Builder throughout project
...
svn: r12528
2009-05-14 20:15:59 +00:00
Gerald Britton
8a66aa053a
ScratchPad.py: convert to use gtkbuilder instead of libglade
...
svn: r12444
2009-04-13 19:26:29 +00:00
Gary Burton
528c2aa2a5
Make clipboard remember its dimensions
...
svn: r12433
2009-04-12 10:28:37 +00:00
Brian Matherly
a195d98d5e
0002897: Clipboard's Source Reference popup lingers forever
...
svn: r12425
2009-04-10 03:01:42 +00:00
Jérôme Rapinat
3034833958
2748: Some URLs still point user to wiki manual version 3.0
...
svn: r12131
2009-02-26 09:57:08 +00:00
Jérôme Rapinat
a3d33aff16
2704: Translation problem word Title (contribution by jannek)
...
svn: r11970
2009-02-12 07:31:08 +00:00
Gerald Britton
4982292774
Code optimizations wrt handling of None - bug 2212
...
svn: r10811
2008-06-16 15:01:46 +00:00
Gary Burton
c202359be8
Rename scratchpad to clipboard in Window menu - bug #2117
...
svn: r10642
2008-04-26 20:43:26 +00:00
Erik De Richter
3e4e966c79
Bug ID 0001767
...
Link Clipboard help button to wiki manual
svn: r10564
2008-04-15 17:59:50 +00:00
Brian Matherly
a46e733398
Remove the "target" parameter from GrampsDisplay.help(). It was used for the old help system. We now link directly to the wiki.
...
svn: r10474
2008-04-05 14:17:15 +00:00
Benny Malengier
7bd31dd4f1
2008-02-26 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/ScratchPad.py: bug when dragging sourceref #1833
* src/GrampsDisplay.py: remove whitespace
2008-02-24 Benny Malengier <benny.malengier@gramps-project.org>
svn: r10125
2008-02-26 12:35:42 +00:00
Raphael Ackermann
c962d5e6e1
2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* various (294 files)
pep8 doc fixes & pylint fixes
svn: r10103
2008-02-24 13:55:55 +00:00
Raphael Ackermann
90f883e46d
2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/* 143 files
* test/try_tree_model.py
* windows/nsis/gcheck.py
imports cleanup
svn: r10055
2008-02-18 20:07:09 +00:00
Raphael Ackermann
ebf12e3106
2008-01-28 Duncan Lithgow <dlithgow@gmail.com>
...
* various: add capitalization fixes according to HIG (plus ellipsis ...)
http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en
svn: r9951
2008-01-28 21:22:06 +00:00
Raphael Ackermann
eac853ccb7
2008-01-17 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/ScratchPad.py: remove tooltip for events as it crashes.
* src/Utils.py: cleanup
svn: r9869
2008-01-17 20:24:44 +00:00
Gary Burton
0e89fd5ed0
2007-12-21 Gary Burton <gary.burton@zen.co.uk>
...
* src/ScratchPad.py: allow items to be moved, feature #1465
svn: r9556
2007-12-21 22:16:28 +00:00
Gary Burton
fc46116056
2007-11-12 Gary Burton <gary.burton@zen.co.uk>
...
* src/ScratchPad.py: fixed a crash when building tooltip. Not enough
place holders in format string
svn: r9342
2007-11-12 21:28:02 +00:00
Don Allingham
d58641415d
2007-10-08 Don Allingham <don@gramps-project.org>
...
* various: gen.lib integration. probably touches almost every file
* various: gen.utils integration
svn: r9101
2007-10-08 16:41:39 +00:00
Don Allingham
a65a73d1d7
* various: const.py changes
...
2007-09-07 Don Allingham <don@gramps-project.org>
* src/DateHandler/_Date_fr.py: fix indentation errors
2007-09-07 Don Allingham <don@gramps-project.org>
svn: r8948
2007-09-08 05:54:02 +00:00
Don Allingham
61341b8bdd
2007-08-20 Don Allingham <don@gramps-project.org>
...
* src/ScratchPad.py (ScratchPadSourceRef.__init__): handle the removal
of the get_text() function
svn: r8844
2007-08-21 03:21:41 +00:00
Don Allingham
f3d39e5f33
2007-07-18 Don Allingham <don@gramps-project.org>
...
* src/ReportBase/_StyleEditor.py: get rid of Utils.destroy_passed_object
* src/Utils.py: Remove unused functions
* src/ScratchPad.py: get_note removal
svn: r8741
2007-07-19 03:48:38 +00:00
Alex Roitman
b1a6a73c72
2007-06-28 Alex Roitman <shura@gramps-project.org>
...
* src/ScratchPad.py (ScratchSourceLink.tooltip): Typo.
svn: r8684
2007-06-28 22:31:55 +00:00
Zsolt Foldvari
0cc78b2e89
* src/DataViews/_NoteView.py: enable shortcuts and drag-and-drop.
...
* src/Bookmarks.py (NoteBookmarks.make_label): better note label.
* src/DisplayTabs/_NoteModel.py: better note label for preview.
* src/DisplayTabs/_NoteTab.py: enable accepting drag-and-drop notes.
* src/ScratchPad.py: ScratchPadNote added.
* src/DdTargets.py: NOTE_LINK added.
2007-03-28 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
svn: r8334
2007-03-28 16:27:45 +00:00
Martin Hawlisch
f0d5c92564
* src/ScratchPad.py: Fix crash in GrampsType escaping; Additional tooltips for more objects.
...
svn: r8014
2007-01-30 13:07:21 +00:00
Martin Hawlisch
ed5c45d64e
* src/DisplayTabs/_PersonRefEmbedList.py,
...
* src/DdTargets.py,
* src/ScratchPad.py: Fix support of PersonRef DnD
svn: r7608
2006-11-10 23:28:40 +00:00
Don Allingham
39c4bf74d3
2006-11-05 Don Allingham <don@gramps-project.org>
...
* src/DataViews/_PlaceView.py: drag-n-drop support
* src/GrampsWidgets.py: drag-n-drop support for place selector widget
* src/ScratchPad.py: drag-n-drop support for places
* src/DdTargets.py: drag-n-drop support for places
svn: r7555
2006-11-05 23:11:02 +00:00
Don Allingham
34e8744b6a
2006-11-02 Don Allingham <don@gramps-project.org>
...
* src/DataViews/_RelationView.py: fix spacing
* src/ScratchPad.py: handle deleting of a person properly
svn: r7541
2006-11-03 04:12:12 +00:00
Martin Hawlisch
6beb9ae219
Typos; Some more signals to connect to.
...
svn: r7536
2006-11-01 15:09:14 +00:00
Martin Hawlisch
a0ab6862d0
* src/ScratchPad.py: Fix signal connection and dbstate vs. db confusion; Add more checks for is_valid; This should now remove stale objects on delete or database change.
...
svn: r7535
2006-11-01 13:41:09 +00:00
Don Allingham
81fd55aff4
2006-10-27 Don Allingham <don@gramps-project.org>
...
* src/GrampsCfg.py: remove unused online maps string
* src/Editors/_EditRepoRef.py: fixed transation strings
* src/Editors/_EditName.py: fixed transation strings
* src/Editors/_EditChildRef.py: fixed transation strings
* src/ScratchPad.py: fixed transation strings
* help/C/gramps.xml: update
* help/C/figures/prefs.png: update
* help/C/figures/select-person.py: update
svn: r7460
2006-10-28 03:53:46 +00:00
Don Allingham
520e7eb18b
2006-09-03 Don Allingham <don@gramps-project.org>
...
* src/ScratchPad.py: add dnd support for MediaRefs (bug #417 )
* src/DdTargets.py: add dnd support for MediaRefs (bug #417 )
svn: r7301
2006-09-03 22:14:47 +00:00
Don Allingham
e209c0ba81
* src/ScratchPad.py: fix removal of invalid objects (bug #291 )
...
* src/PageView.py: fix search argument when filter applied (but #317 )
svn: r7159
2006-08-12 17:24:36 +00:00
Don Allingham
846bfd9ab1
* src/ScratchPad.py (ScratchPersonLink.tooltip): fix tooltip for
...
person
svn: r7011
2006-07-09 02:47:34 +00:00
Don Allingham
051f992afb
2006-07-04 Don Allingham <don@gramps-project.org>
...
* various: pyflakes fixes
svn: r6992
2006-07-04 23:38:51 +00:00
Don Allingham
8366c12818
2006-06-15 Don Allingham <don@gramps-project.org>
...
* src/ScratchPad.py: enable Text dnd
svn: r6897
2006-06-16 02:45:14 +00:00
Don Allingham
fc74ec2662
* src/ScratchPad.py: check for null model
...
svn: r6891
2006-06-15 04:29:47 +00:00
Alex Roitman
cb0b034e70
* src/GrampsDb/_WriteGedcom.py: Multiple improvements.
...
* various: Replace get/set_base_handle with get/set_reference_handle.
* src/RelLib/_SourceRef.py (get_base_handle,set_base_handle):
Remove redundant methods.
svn: r6750
2006-05-22 23:56:57 +00:00
Alex Roitman
7fbc99f60f
2006-04-28 Alex Roitman <shura@gramps-project.org>
...
* src/ScratchPad.py (ScratchPadWindow.__init__): Allow only one
instance; translate label; remove unneeded event handlers.
* src/ViewManager.py (ViewManager.scratchpad): Catch exception.
svn: r6485
2006-04-28 16:56:19 +00:00
Don Allingham
f0ff12df0e
svn: r6484
2006-04-28 15:05:43 +00:00
Don Allingham
5b8749ba73
* src/GrampsDb/_GrampsDbBase.py: pychecker
...
* src/GrampsDb/_GrampsBSDDB.py: pychecker
* src/RelLib/_CalSdn.py: pychecker
* src/RelLib/_PrivateSourceNote.py: pychecker
* src/RelLib/_GenderStats.py: pychecker
* src/MergePeople.py: pychecker
* src/SelectObject.py: pychecker
* src/ScratchPad.py: pychecker
* src/ImgManip.py: pychecker
* src/docgen/ODFDoc.py: pychecker
* src/docgen/OpenOfficeDoc.py: pychecker
* src/docgen/LPRDoc.py: pychecker
* src/SelectEvent.py: pychecker
svn: r6418
2006-04-23 04:29:14 +00:00