diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-11-15 14:12:29 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-11-15 14:12:29 +0800 |
commit | f64f66d5c9025c686caabbf86cb023280f542721 (patch) | |
tree | 3a60c610f3b0cd9fa417a26f532ba315a5170a53 /devel/gnomevfs2/files/patch-libgnomevfs::gnome-vfs-application-registry.c | |
parent | a58c17a8c02d69361cf01c45a2b18965725a5202 (diff) | |
download | marcuscom-ports-f64f66d5c9025c686caabbf86cb023280f542721.tar.gz marcuscom-ports-f64f66d5c9025c686caabbf86cb023280f542721.tar.zst marcuscom-ports-f64f66d5c9025c686caabbf86cb023280f542721.zip |
Update to 2.13.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5141 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gnomevfs2/files/patch-libgnomevfs::gnome-vfs-application-registry.c')
-rw-r--r-- | devel/gnomevfs2/files/patch-libgnomevfs::gnome-vfs-application-registry.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/devel/gnomevfs2/files/patch-libgnomevfs::gnome-vfs-application-registry.c b/devel/gnomevfs2/files/patch-libgnomevfs::gnome-vfs-application-registry.c new file mode 100644 index 000000000..2747466f7 --- /dev/null +++ b/devel/gnomevfs2/files/patch-libgnomevfs::gnome-vfs-application-registry.c @@ -0,0 +1,26 @@ +--- libgnomevfs/gnome-vfs-application-registry.c.orig Sun May 22 23:09:39 2005 ++++ libgnomevfs/gnome-vfs-application-registry.c Sun May 22 23:14:22 2005 +@@ -943,6 +943,8 @@ load_application_info (void) + static void + gnome_vfs_application_registry_init (void) + { ++ gchar *tmp; ++ + if (gnome_vfs_application_registry_initialized) + return; + +@@ -963,6 +965,14 @@ gnome_vfs_application_registry_init (voi + "application-registry", + NULL); + gnome_registry_dir.system_dir = TRUE; ++ ++ tmp = g_strconcat (g_get_home_dir(), "/.gnome", NULL); ++ if (mkdir (tmp, 0700) && ++ errno != EEXIST) { ++ g_warning("Could not create per-user GNOME configuration directory: %s", ++ tmp); ++ } ++ g_free(tmp); + + user_registry_dir.dirname = g_build_filename (g_get_home_dir(), + ".gnome", |