diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2002-10-08 06:05:40 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2002-10-08 06:05:40 +0800 |
commit | cf5443d453022fcf91148a9129c720b2cc687caf (patch) | |
tree | 8868dc6ba14ee153922d329d082b36999e82cee6 /x11/libgnome/files/patch-libgnome_gnome-program.c | |
parent | f4b05a2365d19365e7f603ba48d2388774267fa9 (diff) | |
download | marcuscom-ports-cf5443d453022fcf91148a9129c720b2cc687caf.tar marcuscom-ports-cf5443d453022fcf91148a9129c720b2cc687caf.tar.gz marcuscom-ports-cf5443d453022fcf91148a9129c720b2cc687caf.tar.bz2 marcuscom-ports-cf5443d453022fcf91148a9129c720b2cc687caf.tar.lz marcuscom-ports-cf5443d453022fcf91148a9129c720b2cc687caf.tar.xz marcuscom-ports-cf5443d453022fcf91148a9129c720b2cc687caf.tar.zst marcuscom-ports-cf5443d453022fcf91148a9129c720b2cc687caf.zip |
Add libgnome.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/libgnome/files/patch-libgnome_gnome-program.c')
-rw-r--r-- | x11/libgnome/files/patch-libgnome_gnome-program.c | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/x11/libgnome/files/patch-libgnome_gnome-program.c b/x11/libgnome/files/patch-libgnome_gnome-program.c new file mode 100644 index 000000000..eddd1f28d --- /dev/null +++ b/x11/libgnome/files/patch-libgnome_gnome-program.c @@ -0,0 +1,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; |