Added new Attribute gramplet, quick view, and link (for gramplets)

svn: r11604
This commit is contained in:
Doug Blank
2009-01-10 16:31:45 +00:00
parent 832acac4c9
commit 6c1fd069f5
5 changed files with 129 additions and 0 deletions

View File

@ -817,6 +817,14 @@ class GuiGramplet:
'list of people',
handles=handle)
return True
elif link_type == 'Attribute':
if event.button == 1: # left mouse
if event.type == gtk.gdk._2BUTTON_PRESS: # double
run_quick_report_by_name(self.dbstate,
self.uistate,
'attribute_match',
handle)
return True
return False # did not handle event
class MyScrolledWindow(gtk.ScrolledWindow):