aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-commands.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/window-commands.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/window-commands.c')
-rw-r--r--src/window-commands.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index 762a6c76d..da8a2f960 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -268,7 +268,6 @@ window_cmd_file_open (GtkAction *action,
dialog = ephy_file_chooser_new (_("Open"),
GTK_WIDGET (window),
GTK_FILE_CHOOSER_ACTION_OPEN,
- EPHY_PREFS_STATE_OPEN_DIR,
EPHY_FILE_FILTER_ALL_SUPPORTED);
g_signal_connect (dialog, "response",
@@ -331,7 +330,6 @@ window_cmd_file_save_as (GtkAction *action,
dialog = ephy_file_chooser_new (_("Save"),
GTK_WIDGET (window),
GTK_FILE_CHOOSER_ACTION_SAVE,
- EPHY_PREFS_STATE_SAVE_DIR,
EPHY_FILE_FILTER_NONE);
gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (dialog), TRUE);