From 5b4817a7166fe57c6d2471dd38518b3adc9f6cc3 Mon Sep 17 00:00:00 2001 From: Martin Hawlisch Date: Wed, 16 Jan 2008 13:31:35 +0000 Subject: [PATCH] * src/DataViews/PersonView.py, * src/PageView.py: Use save instead of open in the csv export file chooser svn: r9845 --- ChangeLog | 4 ++++ src/DataViews/PersonView.py | 2 +- src/PageView.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 12c85c670..0473d7845 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-16 Martin Hawlisch + * src/DataViews/PersonView.py, + * src/PageView.py: Use save instead of open in the csv export file chooser + 2008-01-16 Martin Hawlisch * src/plugins/DateParserDisplayTest.py: Use Tool.ToolOptions instead of None as options_class to make it no longer crash diff --git a/src/DataViews/PersonView.py b/src/DataViews/PersonView.py index c26b0f4f3..27bf23eb6 100644 --- a/src/DataViews/PersonView.py +++ b/src/DataViews/PersonView.py @@ -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() diff --git a/src/PageView.py b/src/PageView.py index cc0164fa9..2c68d015b 100644 --- a/src/PageView.py +++ b/src/PageView.py @@ -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()