diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2013-03-19 23:05:42 +0000 |
---|---|---|
committer | David Laurence Emerson <dle3ab@angelbase.com> | 2013-05-28 00:42:49 -0700 |
commit | ddd405fceb17209474b7569f49894ed3155ba3f4 (patch) | |
tree | 76577301383229fd4c648e85479543e887af3d86 | |
parent | cad9da758d9f31e5a8b33d4500833f6ea44f64c0 (diff) | |
download | fpGUI-ddd405fceb17209474b7569f49894ed3155ba3f4.tar.xz |
Adds Chrome and Chromium support to fpgOpenURL()
-rw-r--r-- | src/corelib/x11/fpg_utils_impl.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/corelib/x11/fpg_utils_impl.inc b/src/corelib/x11/fpg_utils_impl.inc index 753b0ea1..bc5917e9 100644 --- a/src/corelib/x11/fpg_utils_impl.inc +++ b/src/corelib/x11/fpg_utils_impl.inc @@ -34,7 +34,11 @@ begin else if fpsystem('which opera') = 0 then Helper := 'opera' else if fpsystem('which mozilla') = 0 then - Helper := 'mozilla'; + Helper := 'mozilla' + else if fpsystem('which chrome') = 0 then + Helper := 'chrome' + else if fpsystem('which chromium') = 0 then + Helper := 'chromium'; if Helper <> '' then fpSystem(Helper + ' ' + aURL + '&'); |