Magellan Linux

Contents of /trunk/mozilla-firefox/patches/mozilla-firefox-1.0.7-gnome-vfs-default-app.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (show annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 660 byte(s)
-import

1 --- mozilla/uriloader/exthandler/unix/nsGNOMERegistry.cpp.foo 2004-03-06 09:41:00.000000000 -0500
2 +++ mozilla/uriloader/exthandler/unix/nsGNOMERegistry.cpp 2004-10-18 18:55:55.000000000 -0400
3 @@ -283,6 +283,11 @@
4
5 gchar *nativeCommand = g_filename_from_utf8(handlerApp->command,
6 -1, NULL, NULL, NULL);
7 +
8 + // Some versions of the mime stuff will add whitespace to the end or
9 + // beginning of the command
10 + nativeCommand = g_strstrip(nativeCommand);
11 +
12 if (!nativeCommand) {
13 NS_ERROR("Could not convert helper app command to filesystem encoding");
14 _gnome_vfs_mime_application_free(handlerApp);