summaryrefslogtreecommitdiff
path: root/embed
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@redhat.com>2023-01-06 08:42:04 -0600
committerMarge Bot <marge-bot@gnome.org>2023-01-06 14:48:25 +0000
commitabecebc43854aaf993f573301f86f9fddd15c555 (patch)
treef183a21398c74eb95a32bfd5664d21230487fe2b /embed
parent0044f555851337a8d5031e399a60f781dd643a02 (diff)
downloadepiphany-abecebc43854aaf993f573301f86f9fddd15c555.tar.gz
file-dialog-utils: remove ephy_file_dialog_add_shortcuts()
The underlying API was just removed in gtk!5396, so we have to stop using it. This is fine, though, because all it does is add the downloads folder to the file chooser sidebar, which is redundant because XDG directories are already there by default for a decade or so now. So this code is not useful and can disappear. Thanks to Alexander for telling me exactly what to do here. Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1261>
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-web-view.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 01451eb44..e47cd794a 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -31,7 +31,6 @@
#include "ephy-embed-utils.h"
#include "ephy-embed.h"
#include "ephy-favicon-helpers.h"
-#include "ephy-file-dialog-utils.h"
#include "ephy-file-helpers.h"
#include "ephy-file-monitor.h"
#include "ephy-filters-manager.h"
@@ -221,7 +220,6 @@ ephy_web_view_run_file_chooser (WebKitWebView *web_view,
g_autoptr (GListStore) filters = NULL;
dialog = gtk_file_dialog_new ();
- ephy_file_dialog_add_shortcuts (dialog);
filters = g_list_store_new (GTK_TYPE_FILE_FILTER);
gtk_file_dialog_set_filters (dialog, G_LIST_MODEL (filters));