Blame firefox-PR1-gnome-vfs-default-app.patch
|
blizzard |
95d655c |
--- mozilla/uriloader/exthandler/unix/nsGNOMERegistry.cpp.foo 2004-03-06 09:41:00.000000000 -0500
|
|
blizzard |
95d655c |
+++ mozilla/uriloader/exthandler/unix/nsGNOMERegistry.cpp 2004-10-18 18:55:55.000000000 -0400
|
|
blizzard |
95d655c |
@@ -283,6 +283,11 @@
|
|
blizzard |
95d655c |
|
|
blizzard |
95d655c |
gchar *nativeCommand = g_filename_from_utf8(handlerApp->command,
|
|
blizzard |
95d655c |
-1, NULL, NULL, NULL);
|
|
blizzard |
95d655c |
+
|
|
blizzard |
95d655c |
+ // Some versions of the mime stuff will add whitespace to the end or
|
|
blizzard |
95d655c |
+ // beginning of the command
|
|
blizzard |
95d655c |
+ nativeCommand = g_strstrip(nativeCommand);
|
|
blizzard |
95d655c |
+
|
|
blizzard |
95d655c |
if (!nativeCommand) {
|
|
blizzard |
95d655c |
NS_ERROR("Could not convert helper app command to filesystem encoding");
|
|
blizzard |
95d655c |
_gnome_vfs_mime_application_free(handlerApp);
|