Commit Graph

77 Commits

Author SHA1 Message Date
Doug Blank
7758caa4e3 Fixed one issue with multi-select and drop on self; one issue remains: copies data on a self multi drop
svn: r15773
2010-08-19 04:08:07 +00:00
Doug Blank
a74d5151f8 Clipboards do not allow duplicates
svn: r15767
2010-08-18 13:28:37 +00:00
Doug Blank
e7d365a5d7 Added selected_handles() to navigation views for compatibility with listviews
svn: r15766
2010-08-18 13:20:52 +00:00
Doug Blank
aca9b9cb5c Moved all behavior from clipboard gramplet to clipboard, which they now share
svn: r15698
2010-08-09 21:36:21 +00:00
Doug Blank
981cda7c19 Refector: moved some class methods to module functions
svn: r15696
2010-08-09 20:04:48 +00:00
Doug Blank
9ddb7990f5 Added family type drag objects
svn: r15669
2010-07-31 02:11:47 +00:00
Doug Blank
77e5629012 Added ability for multiple selections from Simple Tables of Quick Views to be dropped on Clipboards
svn: r15665
2010-07-30 01:18:49 +00:00
Doug Blank
bedb543d4c Removed TreeTips: didn't work right, and didn't use actual tooltips
svn: r15663
2010-07-29 16:57:25 +00:00
Doug Blank
ca5c080b03 Added icons for each row; fixed multi object select, drag, and drop; many refinements
svn: r15658
2010-07-29 08:01:24 +00:00
Doug Blank
9bc3a5d603 Cleanup and refactor of some of Scratchpad, especially to make easier to use for Clipboard Gramplet
svn: r15654
2010-07-28 15:04:45 +00:00
Benny Malengier
575a4bbd67 3542: Scratchpad does not remove objects when changing database
svn: r14546
2010-03-01 12:52:57 +00:00
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