From c7a8b14f52d34f47c853b3c8cd2aa8588dbb5d93 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Tue, 7 Dec 2010 19:47:37 +0100 Subject: 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. --- lib/ephy-file-helpers.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lib') 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); -- cgit v1.2.3