[epiphany] ephy-file-helpers: prioritize uninstalled files
- From: Diego Escalante Urrelo <diegoe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-file-helpers: prioritize uninstalled files
- Date: Wed, 8 Dec 2010 11:25:22 +0000 (UTC)
commit c7a8b14f52d34f47c853b3c8cd2aa8588dbb5d93
Author: Diego Escalante Urrelo <descalante igalia com>
Date: Tue Dec 7 19:47:37 2010 +0100
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 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index 220951f..b5a174b 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]