2005-08-19 Richard Taylor <rjt-gramps@thegrindstone.me.uk>

* src/TreeTips.py: set default delay to 2s


svn: r5112
This commit is contained in:
Richard Taylor 2005-08-19 15:34:31 +00:00
parent 9de8ebdfbf
commit f035e7b94b
2 changed files with 8 additions and 5 deletions

View File

@ -1,12 +1,15 @@
2005-08-17 Richard Taylor <rjt-gramps@thegrindstone.me.uk> 2005-08-19 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/TreeTips.py: set default delay to 2s
2005-08-19 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/ToolTips.py: tooltip fix * src/ToolTips.py: tooltip fix
2005-08-17 Richard Taylor <rjt-gramps@thegrindstone.me.uk> 2005-08-19 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/DisplayModels.py: call new tooltips generator * src/DisplayModels.py: call new tooltips generator
* src/PeopleModel.py: call new tooltips generator * src/PeopleModel.py: call new tooltips generator
* src/ToolTips.py: new tooltips generator added * src/ToolTips.py: new tooltips generator added
2005-08-17 Richard Taylor <rjt-gramps@thegrindstone.me.uk> 2005-08-19 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/DisplayModels.py: added basic tooltip support to models * src/DisplayModels.py: added basic tooltip support to models
* src/PageView.py: added basic tooltip support * src/PageView.py: added basic tooltip support
* src/PeopleModel.py: added basic tooltip support * src/PeopleModel.py: added basic tooltip support

View File

@ -40,7 +40,7 @@ class TreeTips(gtk.Widget):
'delay' : (gobject.TYPE_INT, 'delay' : (gobject.TYPE_INT,
'MSecs before displaying the tooltip.', 'MSecs before displaying the tooltip.',
'The delay between the mouse pausing over the widget and the display of the tooltip in msec.', 'The delay between the mouse pausing over the widget and the display of the tooltip in msec.',
0, 60000, 500, 0, 60000, 2000,
gobject.PARAM_READWRITE), gobject.PARAM_READWRITE),
'enabled' : (gobject.TYPE_BOOLEAN, 'enabled' : (gobject.TYPE_BOOLEAN,
'If TRUE the tooltips are enabled', 'If TRUE the tooltips are enabled',
@ -87,7 +87,7 @@ class TreeTips(gtk.Widget):
gobject.GObject.__init__(self) gobject.GObject.__init__(self)
self.view = treeview or None self.view = treeview or None
self.delay = 500 self.delay = 2000
self.enabled = True self.enabled = True
self.column = column or 0 self.column = column or 0
self.markup_enabled = markup_enabled self.markup_enabled = markup_enabled