[epiphany] Use EphyFileChooser filters usefully



commit 5208e2eab48e8a64912d2f00264b9a6c96c572e0
Author: Diego Escalante Urrelo <descalante igalia com>
Date:   Wed Aug 3 13:01:11 2011 +0200

    Use EphyFileChooser filters usefully
    
    Don't use the filters combobox when it's not really needed nor
    meaningful. Specially for save dialogs.
    
    Bug #655713

 src/popup-commands.c  |    2 +-
 src/window-commands.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/popup-commands.c b/src/popup-commands.c
index d12e05e..d725bf7 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 bb3fcc0..ef50f75 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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]