* src/plugins/writeftree.glade: Swap OK and Cancel buttons (HIG).
* src/plugins/cdexport.glade: Likewise. * src/plugins/gedcomexport.glade: Likewise. * src/plugins/pkgexport.glade: Likewise. * src/plugins/ReadGedcom.py: Fix Cancel button (was destroying itself). svn: r1955
This commit is contained in:
@@ -1764,7 +1764,7 @@ def readData(database,active_person,cb):
|
||||
file_top = gtk.FileSelection("%s - GRAMPS" % _title_string)
|
||||
file_top.hide_fileop_buttons()
|
||||
file_top.ok_button.connect('clicked', on_ok_clicked)
|
||||
file_top.cancel_button.connect('clicked', Utils.destroy_passed_object)
|
||||
file_top.cancel_button.connect('clicked', on_cancel_clicked)
|
||||
file_top.show()
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
@@ -1784,6 +1784,9 @@ def on_ok_clicked(obj):
|
||||
import DisplayTrace
|
||||
DisplayTrace.DisplayTrace()
|
||||
|
||||
def on_cancel_clicked(obj):
|
||||
file_top.destroy()
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user