Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/a7ab6c7484035b6f5d0b7...
...commit
http://git.netsurf-browser.org/netsurf.git/commit/a7ab6c7484035b6f5d0b70a...
...tree
http://git.netsurf-browser.org/netsurf.git/tree/a7ab6c7484035b6f5d0b70a96...
The branch, master has been updated
via a7ab6c7484035b6f5d0b70a96de41dc3eb0c396b (commit)
from 9879cbbfae1ab5135b46336daeac0655af021693 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=a7ab6c7484035b6f5d0...
commit a7ab6c7484035b6f5d0b70a96de41dc3eb0c396b
Author: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Commit: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Simple "about" requester for OS3
diff --git a/amiga/menu.c b/amiga/menu.c
index 7f7b5b3..f6137e5 100644
--- a/amiga/menu.c
+++ b/amiga/menu.c
@@ -201,10 +201,15 @@ HOOKF(void, ami_menu_item_project_about, APTR, window, struct
IntuiMessage *)
TDR_Arg2,verdate,
TAG_DONE);
#else
- /*\todo proper requester for OS3
- * at the moment menus are disabled so won't get here anyway */
- printf("NetSurf %s\nBuild date %s\n", netsurf_version, verdate);
- sel = 0;
+ struct EasyStruct about_req = {
+ sizeof(struct EasyStruct),
+ 0,
+ "NetSurf",
+ "NetSurf %s\nBuild date %s\n\nhttp://www.netsurf-browser.org",
+ temp2,
+ };
+
+ sel = EasyRequest(NULL, &about_req, NULL, netsurf_version, verdate);
#endif
free(temp2);
-----------------------------------------------------------------------
Summary of changes:
amiga/menu.c | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/amiga/menu.c b/amiga/menu.c
index 7f7b5b3..f6137e5 100644
--- a/amiga/menu.c
+++ b/amiga/menu.c
@@ -201,10 +201,15 @@ HOOKF(void, ami_menu_item_project_about, APTR, window, struct
IntuiMessage *)
TDR_Arg2,verdate,
TAG_DONE);
#else
- /*\todo proper requester for OS3
- * at the moment menus are disabled so won't get here anyway */
- printf("NetSurf %s\nBuild date %s\n", netsurf_version, verdate);
- sel = 0;
+ struct EasyStruct about_req = {
+ sizeof(struct EasyStruct),
+ 0,
+ "NetSurf",
+ "NetSurf %s\nBuild date %s\n\nhttp://www.netsurf-browser.org",
+ temp2,
+ };
+
+ sel = EasyRequest(NULL, &about_req, NULL, netsurf_version, verdate);
#endif
free(temp2);
--
NetSurf Browser