summaryrefslogtreecommitdiffstats
path: root/misc/gnomeutils2/files/patch-logview_logview.c
blob: 1155fdb97624e38bc22245f3462b9be14278d5a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- logview/logview.c.orig  Sun Feb 16 15:36:07 2003
+++ logview/logview.c   Thu Apr 24 12:53:35 2003
@@ -774,7 +774,7 @@
 
    if ( ! found) {
        g_snprintf (full_name, sizeof (full_name),
-               "%s/share/gnome-system-log/gnome-system-log-regexp.db", LOGVIEWINSTALLPREFIX);
+               "%s/gnome-system-log/gnome-system-log-regexp.db", DATADIR);
        if (access (full_name, R_OK) == 0) {
            found = TRUE;
            g_free (cfg->regexp_db_path);
@@ -797,7 +797,7 @@
 
    if ( ! found) {
        g_snprintf (full_name, sizeof (full_name),
-               "%s/share/gnome-system-log/gnome-system-log-descript.db", LOGVIEWINSTALLPREFIX);
+               "%s/gnome-system-log/gnome-system-log-descript.db", DATADIR);
        if (access (full_name, R_OK) == 0) {
            found = TRUE;
            g_free (cfg->descript_db_path);
@@ -831,7 +831,7 @@
 
    if ( ! found) {
        g_snprintf (full_name, sizeof (full_name),
-               "%s/share/gnome-system-log/gnome-system-log-actions.db", LOGVIEWINSTALLPREFIX);
+               "%s/gnome-system-log/gnome-system-log-actions.db", DATADIR);
        if (access (full_name, R_OK) == 0) {
            found = TRUE;
            g_free (cfg->action_db_path);