summaryrefslogtreecommitdiffstats
path: root/x11/libgnome/files/patch-libgnome_gnome-program.c
blob: eddd1f28db8c0375015eab8952f459c782ce95de (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
--- libgnome/gnome-program.c.orig   Fri Mar 22 11:02:45 2002
+++ libgnome/gnome-program.c    Mon May 20 18:28:24 2002
@@ -882,12 +882,12 @@
    attr_rel = "";
    break;
     case GNOME_FILE_DOMAIN_SOUND:
-   prefix_rel = "/share/sounds";
+   prefix_rel = "/share/gnome/sounds";
    attr_name = GNOME_PARAM_GNOME_DATADIR;
    attr_rel = "/sounds";
    break;
     case GNOME_FILE_DOMAIN_PIXMAP:
-   prefix_rel = "/share/pixmaps";
+   prefix_rel = "/share/gnome/pixmaps";
    attr_name = GNOME_PARAM_GNOME_DATADIR;
    attr_rel = "/pixmaps";
    break;
@@ -899,7 +899,7 @@
     case GNOME_FILE_DOMAIN_HELP:
    prefix_rel = "/share/gnome/help";
    attr_name = GNOME_PARAM_GNOME_DATADIR;
-   attr_rel = "/gnome/help";
+   attr_rel = "/help";
    break;
     case GNOME_FILE_DOMAIN_APP_LIBDIR:
    prefix_rel = "/lib";
@@ -914,13 +914,13 @@
    search_path = FALSE;
    break;
     case GNOME_FILE_DOMAIN_APP_SOUND:
-   prefix_rel = "/share/sounds";
+   prefix_rel = "/share/gnome/sounds";
    attr_name = GNOME_PARAM_APP_DATADIR;
    attr_rel = "/sounds";
    search_path = FALSE;
    break;
     case GNOME_FILE_DOMAIN_APP_PIXMAP:
-   prefix_rel = "/share/pixmaps";
+   prefix_rel = "/share/gnome/pixmaps";
    attr_name = GNOME_PARAM_APP_DATADIR;
    attr_rel = "/pixmaps";
    search_path = FALSE;
@@ -941,12 +941,12 @@
 
    attr_name = GNOME_PARAM_APP_DATADIR;
 
-   len = strlen ("/gnome/help/") + 
+   len = strlen ("/help/") + 
        strlen (program->_priv->app_id) + 1;
    attr_rel = g_alloca (len);
    if (attr_rel == NULL /* bad things */)
        return NULL;
-   g_snprintf (attr_rel, len, "/gnome/help/%s", program->_priv->app_id);
+   g_snprintf (attr_rel, len, "/help/%s", program->_priv->app_id);
 
    search_path = FALSE;
    break;