diff options
author | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-02-03 14:44:43 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-02-09 04:01:06 +0800 |
commit | b02b30cddb187cdc65623bef1660d80341c416f9 (patch) | |
tree | 685b02bc554e87100a07d3e9d08e7e353521703c /embed/ephy-web-app-utils.c | |
parent | db10ae9888b32a8a1bcccdaba36cec15375b67be (diff) | |
download | gsoc2013-epiphany-b02b30cddb187cdc65623bef1660d80341c416f9.tar gsoc2013-epiphany-b02b30cddb187cdc65623bef1660d80341c416f9.tar.gz gsoc2013-epiphany-b02b30cddb187cdc65623bef1660d80341c416f9.tar.bz2 gsoc2013-epiphany-b02b30cddb187cdc65623bef1660d80341c416f9.tar.lz gsoc2013-epiphany-b02b30cddb187cdc65623bef1660d80341c416f9.tar.xz gsoc2013-epiphany-b02b30cddb187cdc65623bef1660d80341c416f9.tar.zst gsoc2013-epiphany-b02b30cddb187cdc65623bef1660d80341c416f9.zip |
ephy-web-app-utils: add EPHY_WEB_APP_ICON define
Stands for "app-icon.png", which is of interest outside
ephy-web-app-utils.c
https://bugzilla.gnome.org/show_bug.cgi?id=669182
Diffstat (limited to 'embed/ephy-web-app-utils.c')
-rw-r--r-- | embed/ephy-web-app-utils.c | 4 |
1 files changed, 2 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); |