aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2011-08-03 19:01:11 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2011-09-05 05:54:53 +0800
commit5208e2eab48e8a64912d2f00264b9a6c96c572e0 (patch)
tree0e25c8c88324e8708d1ec4fdd4025e1556ff8657 /src
parent46312f09960cca55ada816246dd3c18d839fa62e (diff)
downloadgsoc2013-epiphany-5208e2eab48e8a64912d2f00264b9a6c96c572e0.tar
gsoc2013-epiphany-5208e2eab48e8a64912d2f00264b9a6c96c572e0.tar.gz
gsoc2013-epiphany-5208e2eab48e8a64912d2f00264b9a6c96c572e0.tar.bz2
gsoc2013-epiphany-5208e2eab48e8a64912d2f00264b9a6c96c572e0.tar.lz
gsoc2013-epiphany-5208e2eab48e8a64912d2f00264b9a6c96c572e0.tar.xz
gsoc2013-epiphany-5208e2eab48e8a64912d2f00264b9a6c96c572e0.tar.zst
gsoc2013-epiphany-5208e2eab48e8a64912d2f00264b9a6c96c572e0.zip
Use EphyFileChooser filters usefully
Don't use the filters combobox when it's not really needed nor meaningful. Specially for save dialogs. Bug #655713
Diffstat (limited to 'src')
-rw-r--r--src/popup-commands.c2
-rw-r--r--src/window-commands.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c
index d12e05ed7..d725bf743 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -233,7 +233,7 @@ save_property_url (GtkAction *action,
dialog = ephy_file_chooser_new (title, GTK_WIDGET (window),
GTK_FILE_CHOOSER_ACTION_SAVE,
EPHY_PREFS_STATE_SAVE_DIR,
- EPHY_FILE_FILTER_ALL);
+ EPHY_FILE_FILTER_NONE);
gtk_file_chooser_set_do_overwrite_confirmation
(GTK_FILE_CHOOSER (dialog), TRUE);
diff --git a/src/window-commands.c b/src/window-commands.c
index bb3fcc0b5..ef50f7505 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -369,7 +369,7 @@ window_cmd_file_save_as (GtkAction *action,
GTK_WIDGET (window),
GTK_FILE_CHOOSER_ACTION_SAVE,
EPHY_PREFS_STATE_SAVE_DIR,
- EPHY_FILE_FILTER_ALL);
+ EPHY_FILE_FILTER_NONE);
gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (dialog), TRUE);