* src/Sources.py: (SourceSelector.on_help_clicked,

SourceEditor.on_help_clicked): Add functions.
* src/srcsel.glade: Add Help buttons to dialogs.
* src/places.glade: Add Help buttons to dialogs.
* src/EditSource.py (on_help_clicked): Add function.
* src/EditPlace.py (on_help_clicked): Add function;
(__init__): Make the dialog modal and a transient for its parent;
* src/PlaceView.py: Pass the window to the EditPlace class.


svn: r2352
This commit is contained in:
Alex Roitman
2003-11-19 18:00:58 +00:00
parent 02cded3948
commit 9ec87fc160
9 changed files with 96 additions and 19 deletions

View File

@@ -97,6 +97,7 @@ class PlaceView:
self.list.get_column(0).clicked()
self.selection = self.list.get_selection()
self.list.connect('button-press-event',self.button_press)
self.topWindow = self.glade.get_widget("gramps")
def change_db(self,db):
self.db = db
@@ -157,7 +158,7 @@ class PlaceView:
mlist = []
self.selection.selected_foreach(self.blist,mlist)
if mlist:
EditPlace.EditPlace(self,mlist[0],self.update_display)
EditPlace.EditPlace(self,mlist[0],self.update_display,self.topWindow)
return 1
elif event.type == gtk.gdk.BUTTON_PRESS and event.button == 3:
self.build_context_menu(event)