diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2013-03-19 23:05:42 +0000 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2013-03-19 23:05:42 +0000 |
commit | 865e7d4c2972df609b1e8556af35faf61f287775 (patch) | |
tree | f3f1bb5075049a2eac701fb47f67f7bcef3f19c3 /src | |
parent | a825372de0ad8d75abeeb6d9061377ca4ec032be (diff) | |
download | fpGUI-865e7d4c2972df609b1e8556af35faf61f287775.tar.xz |
Adds Chrome and Chromium support to fpgOpenURL()
Diffstat (limited to 'src')
-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 + '&'); |