Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 99875 | Differences between
and this patch

Collapse All | Expand All

(-)mozilla/browser/components/shell/src/nsGNOMEShellService.cpp (-2 / +2 lines)
Lines 132-143 Link Here
132
    // Now resolve it.
132
    // Now resolve it.
133
    char resolvedPath[PATH_MAX] = "";
133
    char resolvedPath[PATH_MAX] = "";
134
    if (realpath(appPath, resolvedPath)) {
134
    if (realpath(appPath, resolvedPath)) {
135
      mAppPath.Assign(resolvedPath);
135
      mAppPath.Assign("/usr/bin/firefox");
136
    }
136
    }
137
137
138
    g_free(appPath);
138
    g_free(appPath);
139
  } else {
139
  } else {
140
    mAppPath.Assign(programName);
140
    mAppPath.Assign("/usr/bin/firefox");
141
  }
141
  }
142
142
143
  // strip "-bin" off of the binary name
143
  // strip "-bin" off of the binary name
(-)mozilla/toolkit/components/gnome/nsGConfService.cpp (-1 / +1 lines)
Lines 214-220 Link Here
214
		    + aScheme + NS_LITERAL_CSTRING("/command"));
214
		    + aScheme + NS_LITERAL_CSTRING("/command"));
215
215
216
  PRBool res = gconf_client_set_string(mClient, key.get(),
216
  PRBool res = gconf_client_set_string(mClient, key.get(),
217
                                       PromiseFlatCString(aCommand).get(),
217
                                       "/usr/bin/firefox %s",
218
                                       nsnull);
218
                                       nsnull);
219
  if (res) {
219
  if (res) {
220
    key.Replace(key.Length() - 7, 7, NS_LITERAL_CSTRING("enabled"));
220
    key.Replace(key.Length() - 7, 7, NS_LITERAL_CSTRING("enabled"));

Return to bug 99875