Hook up etoys projects

This commit is contained in:
Marco Pesenti Gritti
2007-03-22 15:34:05 +01:00
parent c49c8150d2
commit 1f61c5f65e
5 changed files with 26 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
geckoconfdir = $(pkgdatadir)
geckoconf_DATA = gecko-prefs.js
geckoconf_DATA = gecko-prefs.js mime.types
EXTRA_DIST = $(geckoconf_DATA)
+1
View File
@@ -0,0 +1 @@
application/x-squeak-project pr
+2
View File
@@ -135,6 +135,8 @@ sugar_browser_startup(const char *profile_path, const char *profile_name)
prefService->GetBranch ("", getter_AddRefs(pref));
NS_ENSURE_TRUE(pref, FALSE);
pref->SetCharPref ("helpers.private_mime_types_file", SHARE_DIR"/mime.types");
rv = prefService->ReadUserPrefs (nsnull);
if (NS_FAILED(rv)) {
g_warning ("failed to read user preferences, error: %x", rv);