aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--embed/ephy-web-app-utils.c4
-rw-r--r--embed/ephy-web-app-utils.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/embed/ephy-web-app-utils.c b/embed/ephy-web-app-utils.c
index b72eca795..83e8bc4ef 100644
--- a/embed/ephy-web-app-utils.c
+++ b/embed/ephy-web-app-utils.c
@@ -220,7 +220,7 @@ create_desktop_file (EphyWebView *view,
char *path;
GFile *image;
- path = g_build_filename (profile_dir, "app-icon.png", NULL);
+ path = g_build_filename (profile_dir, EPHY_WEB_APP_ICON_NAME, NULL);
image = g_file_new_for_path (path);
stream = (GOutputStream*)g_file_create (image, 0, NULL, NULL);
@@ -390,7 +390,7 @@ ephy_web_application_get_application_list ()
app = g_slice_new0 (EphyWebApplication);
profile_dir = g_build_filename (ephy_dot_dir (), name, NULL);
- app->icon_url = g_build_filename (profile_dir, "app-icon.png", NULL);
+ app->icon_url = g_build_filename (profile_dir, EPHY_WEB_APP_ICON_NAME, NULL);
desktop_file = g_strconcat (name + prefix_length, ".desktop", NULL);
desktop_file_path = g_build_filename (profile_dir, desktop_file, NULL);
diff --git a/embed/ephy-web-app-utils.h b/embed/ephy-web-app-utils.h
index 8326c4a10..7c8a09f3d 100644
--- a/embed/ephy-web-app-utils.h
+++ b/embed/ephy-web-app-utils.h
@@ -39,6 +39,7 @@ typedef struct {
} EphyWebApplication;
#define EPHY_WEB_APP_PREFIX "app-"
+#define EPHY_WEB_APP_ICON_NAME "app-icon.png"
char *ephy_web_application_create (EphyWebView *view, const char *title, GdkPixbuf *icon);