summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Mikhaylenko <alexm@gnome.org>2022-12-07 18:00:18 +0400
committerAlexander Mikhaylenko <alexm@gnome.org>2022-12-08 15:32:12 +0400
commit72b31ef927a3f728b4fac27fbe8f4fb14c550c93 (patch)
tree3b3a811c99440849cf5471a7605dd0fcef0095cf
parent1057e1673b93e496ff6729690ff0dbe81ec2c30c (diff)
downloadepiphany-72b31ef927a3f728b4fac27fbe8f4fb14c550c93.tar.gz
file-chooser: Rename to ephy-file-dialog-utils
That better reflects what it's about nowadays. Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1236>
-rw-r--r--embed/ephy-download.c1
-rw-r--r--embed/ephy-web-view.c2
-rw-r--r--lib/ephy-file-dialog-utils.c (renamed from lib/ephy-file-chooser.c)8
-rw-r--r--lib/ephy-file-dialog-utils.h (renamed from lib/ephy-file-chooser.h)0
-rw-r--r--lib/meson.build2
-rw-r--r--po/POTFILES.in2
-rw-r--r--src/context-menu-commands.c2
-rw-r--r--src/preferences/prefs-general-page.c2
-rw-r--r--src/window-commands.c2
9 files changed, 7 insertions, 14 deletions
diff --git a/embed/ephy-download.c b/embed/ephy-download.c
index 8acea4543..ea8f3f728 100644
--- a/embed/ephy-download.c
+++ b/embed/ephy-download.c
@@ -25,7 +25,6 @@
#include "ephy-embed.h"
#include "ephy-embed-shell.h"
#include "ephy-embed-type-builtins.h"
-#include "ephy-file-chooser.h"
#include "ephy-file-helpers.h"
#include "ephy-flatpak-utils.h"
#include "ephy-prefs.h"
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index e30318c28..1372dc3f0 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -31,7 +31,7 @@
#include "ephy-embed-utils.h"
#include "ephy-embed.h"
#include "ephy-favicon-helpers.h"
-#include "ephy-file-chooser.h"
+#include "ephy-file-dialog-utils.h"
#include "ephy-file-helpers.h"
#include "ephy-file-monitor.h"
#include "ephy-filters-manager.h"
diff --git a/lib/ephy-file-chooser.c b/lib/ephy-file-dialog-utils.c
index 3a7b6bb7b..96b64a594 100644
--- a/lib/ephy-file-chooser.c
+++ b/lib/ephy-file-dialog-utils.c
@@ -22,19 +22,13 @@
#include "config.h"
-#include "ephy-file-chooser.h"
+#include "ephy-file-dialog-utils.h"
#include "ephy-file-helpers.h"
#include "ephy-gui.h"
#include "ephy-debug.h"
-#include "ephy-settings.h"
-#include "ephy-string.h"
#include <gtk/gtk.h>
#include <glib/gi18n.h>
-#include <glib/gstdio.h>
-
-#include <sys/stat.h>
-#include <sys/types.h>
static const char *webpage_types[] = {
"text/html",
diff --git a/lib/ephy-file-chooser.h b/lib/ephy-file-dialog-utils.h
index e68104b0e..e68104b0e 100644
--- a/lib/ephy-file-chooser.h
+++ b/lib/ephy-file-dialog-utils.h
diff --git a/lib/meson.build b/lib/meson.build
index 0649caefd..caabb0e5f 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -15,7 +15,7 @@ libephymisc_sources = [
'contrib/gnome-languages.c',
'ephy-debug.c',
'ephy-favicon-helpers.c',
- 'ephy-file-chooser.c',
+ 'ephy-file-dialog-utils.c',
'ephy-file-helpers.c',
'ephy-flatpak-utils.c',
'ephy-gui.c',
diff --git a/po/POTFILES.in b/po/POTFILES.in
index d88fe4f8b..d3f449838 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -18,7 +18,7 @@ embed/ephy-web-view.c
embed/web-process-extension/ephy-web-process-extension.c
embed/web-process-extension/resources/js/overview.js
lib/contrib/gnome-languages.c
-lib/ephy-file-chooser.c
+lib/ephy-file-dialog-utils.c
lib/ephy-file-helpers.c
lib/ephy-gui.c
lib/ephy-langs.c
diff --git a/src/context-menu-commands.c b/src/context-menu-commands.c
index 5960aa742..8709b51c3 100644
--- a/src/context-menu-commands.c
+++ b/src/context-menu-commands.c
@@ -25,7 +25,7 @@
#include "ephy-downloads-manager.h"
#include "ephy-embed-container.h"
#include "ephy-embed-utils.h"
-#include "ephy-file-chooser.h"
+#include "ephy-file-dialog-utils.h"
#include "ephy-file-helpers.h"
#include "ephy-flatpak-utils.h"
#include "ephy-prefs.h"
diff --git a/src/preferences/prefs-general-page.c b/src/preferences/prefs-general-page.c
index 61fadbd3c..fc027ee6d 100644
--- a/src/preferences/prefs-general-page.c
+++ b/src/preferences/prefs-general-page.c
@@ -24,7 +24,7 @@
#include "prefs-general-page.h"
#include "ephy-embed-shell.h"
-#include "ephy-file-chooser.h"
+#include "ephy-file-dialog-utils.h"
#include "ephy-file-helpers.h"
#include "ephy-flatpak-utils.h"
#include "ephy-lang-row.h"
diff --git a/src/window-commands.c b/src/window-commands.c
index 6b635a824..5c65c9be4 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -36,7 +36,7 @@
#include "ephy-embed.h"
#include "ephy-encoding-dialog.h"
#include "ephy-favicon-helpers.h"
-#include "ephy-file-chooser.h"
+#include "ephy-file-dialog-utils.h"
#include "ephy-file-helpers.h"
#include "ephy-find-toolbar.h"
#include "ephy-flatpak-utils.h"