hrev47588 adds 1 changeset to branch 'master' old head: d9b7113a6d69b2f230ac10975e99863401b46295 new head: dc8665f7457238d301d20e49da1b8b20a72c2a6d overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=dc8665f+%5Ed9b7113 ---------------------------------------------------------------------------- dc8665f: webpositive: Officially handle gopher: URI scheme now Avoids it asking Google what to do with the URL. [ François Revol <revol@xxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev47588 Commit: dc8665f7457238d301d20e49da1b8b20a72c2a6d URL: http://cgit.haiku-os.org/haiku/commit/?id=dc8665f Author: François Revol <revol@xxxxxxx> Date: Mon Jul 28 12:40:01 2014 UTC ---------------------------------------------------------------------------- 2 files changed, 3 insertions(+), 1 deletion(-) src/apps/webpositive/BrowserWindow.cpp | 3 ++- src/apps/webpositive/WebPositive.rdef | 1 + ---------------------------------------------------------------------------- diff --git a/src/apps/webpositive/BrowserWindow.cpp b/src/apps/webpositive/BrowserWindow.cpp index 7b25f92..908c6b8 100644 --- a/src/apps/webpositive/BrowserWindow.cpp +++ b/src/apps/webpositive/BrowserWindow.cpp @@ -141,7 +141,8 @@ static const char* kHandledProtocols[] = { "https", "file", "about", - "data" + "data", + "gopher" }; diff --git a/src/apps/webpositive/WebPositive.rdef b/src/apps/webpositive/WebPositive.rdef index a261744..40a22f81 100644 --- a/src/apps/webpositive/WebPositive.rdef +++ b/src/apps/webpositive/WebPositive.rdef @@ -22,6 +22,7 @@ resource file_types message { "types" = "application/xhtml+xml", "types" = "application/x-vnd.Be.URL.file", "types" = "application/x-vnd.Be.URL.ftp", + "types" = "application/x-vnd.Be.URL.gopher", "types" = "application/x-vnd.Be.URL.http", "types" = "application/x-vnd.Be.URL.https" };