Hook up etoys projects
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
geckoconfdir = $(pkgdatadir)
|
||||
geckoconf_DATA = gecko-prefs.js
|
||||
geckoconf_DATA = gecko-prefs.js mime.types
|
||||
|
||||
EXTRA_DIST = $(geckoconf_DATA)
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
application/x-squeak-project pr
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user