File orage-do-not-hardcode-firefox.patch of Package orage

Index: orage-4.8.4/src/mainbox.c
===================================================================
--- orage-4.8.4.orig/src/mainbox.c
+++ orage-4.8.4/src/mainbox.c
@@ -193,7 +193,7 @@ static void mHelp_help_activate_cb(GtkMe
 #ifdef ORAGE_DEBUG
     orage_message(-100, P_N);
 #endif
-    helpdoc = g_strconcat("firefox ", PACKAGE_DOC_DIR
+    helpdoc = g_strconcat("exo-open ", PACKAGE_DOC_DIR
            , G_DIR_SEPARATOR_S, "C"
            , G_DIR_SEPARATOR_S, "orage.html"
            , NULL);
Index: orage-4.8.4/src/parameters.c
===================================================================
--- orage-4.8.4.orig/src/parameters.c
+++ orage-4.8.4/src/parameters.c
@@ -176,7 +176,7 @@ static void dialog_response(GtkWidget *d
 
     if (response_id == GTK_RESPONSE_HELP) {
         /* Needs to be in " to keep # */
-        helpdoc = g_strconcat("firefox \"file://", PACKAGE_DOC_DIR
+        helpdoc = g_strconcat("exo-open \"file://", PACKAGE_DOC_DIR
                 , G_DIR_SEPARATOR_S, "C"
                 , G_DIR_SEPARATOR_S, "orage.html#orage-preferences-window\""
                 , NULL);
openSUSE Build Service is sponsored by