aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmarks-editor.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2011-07-30 12:28:32 +0800
committerDiego Escalante Urrelo <diegoe@igalia.com>2012-08-01 06:22:31 +0800
commit27a5272d09d5623f480258bfee593384d26956ee (patch)
tree137051c3b91fcea4d0d994ebae8f596bb452923d /src/bookmarks/ephy-bookmarks-editor.c
parent38e02f6d3aeac853cf14e6edcc84d9e588207d94 (diff)
downloadgsoc2013-epiphany-27a5272d09d5623f480258bfee593384d26956ee.tar
gsoc2013-epiphany-27a5272d09d5623f480258bfee593384d26956ee.tar.gz
gsoc2013-epiphany-27a5272d09d5623f480258bfee593384d26956ee.tar.bz2
gsoc2013-epiphany-27a5272d09d5623f480258bfee593384d26956ee.tar.lz
gsoc2013-epiphany-27a5272d09d5623f480258bfee593384d26956ee.tar.xz
gsoc2013-epiphany-27a5272d09d5623f480258bfee593384d26956ee.tar.zst
gsoc2013-epiphany-27a5272d09d5623f480258bfee593384d26956ee.zip
e-file-chooser: remove persist-key
GTK+ has changed the UX of the GtkFileChooser. This has (pragmatically) deprecated "last save dir" stored by applications themselves. For Epiphany this means we no longer need a "persist-key" in our file chooser, and that we have to clean up some GtkFileChooser API use in followup patches. This commit removes the property and uses of it. Bug #655508
Diffstat (limited to 'src/bookmarks/ephy-bookmarks-editor.c')
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 2dcee58b4..eeeecac97 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -616,7 +616,7 @@ import_dialog_response_cb (GtkDialog *dialog,
dialog = ephy_file_chooser_new (_("Import Bookmarks from File"),
GTK_WIDGET (editor),
GTK_FILE_CHOOSER_ACTION_OPEN,
- NULL, EPHY_FILE_FILTER_NONE);
+ EPHY_FILE_FILTER_NONE);
ephy_file_chooser_add_mime_filter
(dialog,
@@ -755,7 +755,6 @@ cmd_bookmarks_export (GtkAction *action,
dialog = GTK_WIDGET (ephy_file_chooser_new (_("Export Bookmarks"),
GTK_WIDGET (editor),
GTK_FILE_CHOOSER_ACTION_SAVE,
- NULL,
EPHY_FILE_FILTER_NONE));
gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (dialog), TRUE);