File dia-0.92.2-callbrowser.patch of Package dia

--- dia-0.95/app/commands.c
+++ dia-0.95/app/commands.c
@@ -575,7 +575,7 @@
   ShellExecuteA (0, "open", helpindex, NULL, helpdir, SW_SHOWNORMAL);
 #else
   command = getenv("BROWSER");
-  command = g_strdup_printf("%s 'file://%s' &", command ? command : "gnome-open", helpindex);
+  command = g_strdup_printf("%s 'file://%s' &", command ? command : "call-browser", helpindex);
   system(command);
   g_free(command);
 #endif
@@ -593,7 +593,7 @@
   ShellExecuteA (0, "open", link, NULL, NULL, SW_SHOWNORMAL);
 #else
   gchar *command = getenv("BROWSER");
-  command = g_strdup_printf("%s '%s' &", command ? command : "gnome-open", link);
+  command = g_strdup_printf("%s '%s' &", command ? command : "call-browser", link);
   system(command);
   g_free(command);
 #endif
openSUSE Build Service is sponsored by