mysql-gui-tools/mysql-administrator-help.patch
2012-02-01 20:52:06 +04:00

11 lines
445 B
Diff

--- source/linux/MAdministrator.cc
+++ source/linux/MAdministrator.cc
@@ -802,7 +802,7 @@
if (!Glib::file_test(path, Glib::FILE_TEST_EXISTS))
path= "/usr/share/doc/packages/mysql-administrator/administrator.html"; // location in SUSE^M
- g_spawn_command_line_async(ufmt("gnome-help ghelp:///%s >& /dev/null",path.c_str()).c_str(), NULL);
+ g_spawn_command_line_async(ufmt("xdg-open %s",path.c_str()).c_str(), NULL);
}
/*