diff options
author | Diego Escalante Urrelo <descalante@igalia.com> | 2010-12-08 02:47:37 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <descalante@igalia.com> | 2010-12-08 19:11:01 +0800 |
commit | c7a8b14f52d34f47c853b3c8cd2aa8588dbb5d93 (patch) | |
tree | e1394dff87e28a0926bc545a2d23e3f6c159d06f /lib/ephy-file-helpers.c | |
parent | 228139f5e379048a8ee4e7545b5361017402ffd2 (diff) | |
download | gsoc2013-epiphany-c7a8b14f52d34f47c853b3c8cd2aa8588dbb5d93.tar gsoc2013-epiphany-c7a8b14f52d34f47c853b3c8cd2aa8588dbb5d93.tar.gz gsoc2013-epiphany-c7a8b14f52d34f47c853b3c8cd2aa8588dbb5d93.tar.bz2 gsoc2013-epiphany-c7a8b14f52d34f47c853b3c8cd2aa8588dbb5d93.tar.lz gsoc2013-epiphany-c7a8b14f52d34f47c853b3c8cd2aa8588dbb5d93.tar.xz gsoc2013-epiphany-c7a8b14f52d34f47c853b3c8cd2aa8588dbb5d93.tar.zst gsoc2013-epiphany-c7a8b14f52d34f47c853b3c8cd2aa8588dbb5d93.zip |
ephy-file-helpers: prioritize uninstalled files
This patch prioritizes uninstalled files so modified files in your epiphany
checkout are used, avoiding the need to install them to see your changes.
Diffstat (limited to 'lib/ephy-file-helpers.c')
-rw-r--r-- | lib/ephy-file-helpers.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c index 220951fb3..b5a174b41 100644 --- a/lib/ephy-file-helpers.c +++ b/lib/ephy-file-helpers.c @@ -272,12 +272,14 @@ ephy_file (const char *filename) static const char * const paths[] = { - SHARE_DIR "/", - SHARE_DIR "/glade/", - SHARE_DIR "/art/", +#ifdef GNOME_ENABLE_DEBUG SHARE_UNINSTALLED_DIR "/", SHARE_UNINSTALLED_DIR "/glade/", - SHARE_UNINSTALLED_DIR "/art/" + SHARE_UNINSTALLED_DIR "/art/", +#endif + SHARE_DIR "/", + SHARE_DIR "/glade/", + SHARE_DIR "/art/" }; g_assert (files != NULL); |