* src/DataViews/PersonView.py,

* src/PageView.py: Use save instead of open in the csv export file chooser

svn: r9845
This commit is contained in:
Martin Hawlisch 2008-01-16 13:31:35 +00:00
parent fdfa461cf1
commit 5b4817a716
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2008-01-16 Martin Hawlisch <martin@hawlisch.de>
* src/DataViews/PersonView.py,
* src/PageView.py: Use save instead of open in the csv export file chooser
2008-01-16 Martin Hawlisch <martin@hawlisch.de>
* src/plugins/DateParserDisplayTest.py: Use Tool.ToolOptions instead of
None as options_class to make it no longer crash

View File

@ -902,7 +902,7 @@ class PersonView(PageView.PersonNavView):
self.uistate.window,
gtk.FILE_CHOOSER_ACTION_SAVE,
(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
gtk.STOCK_OPEN, gtk.RESPONSE_OK))
gtk.STOCK_SAVE, gtk.RESPONSE_OK))
chooser.set_do_overwrite_confirmation(True)
combobox = gtk.combo_box_new_text()

View File

@ -1006,7 +1006,7 @@ class ListView(BookMarkView):
self.uistate.window,
gtk.FILE_CHOOSER_ACTION_SAVE,
(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
gtk.STOCK_OPEN, gtk.RESPONSE_OK))
gtk.STOCK_SAVE, gtk.RESPONSE_OK))
chooser.set_do_overwrite_confirmation(True)
combobox = gtk.combo_box_new_text()