netsurf: branch master updated. release/3.0-182-gf2a6d64

NetSurf Browser Project (Commit Mailer) no-reply at netsurf-browser.org
Sun Jun 2 16:26:57 BST 2013


Gitweb links:

...log http://git.netsurf-browser.org/netsurf.git/shortlog/f2a6d645ae24ab49828d2d0ceb672bb7a80501c2
...commit http://git.netsurf-browser.org/netsurf.git/commit/f2a6d645ae24ab49828d2d0ceb672bb7a80501c2
...tree http://git.netsurf-browser.org/netsurf.git/tree/f2a6d645ae24ab49828d2d0ceb672bb7a80501c2

The branch, master has been updated
       via  f2a6d645ae24ab49828d2d0ceb672bb7a80501c2 (commit)
      from  f31ab148cb99cb83a919046fd74f3895589b6878 (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=f2a6d645ae24ab49828d2d0ceb672bb7a80501c2
commit f2a6d645ae24ab49828d2d0ceb672bb7a80501c2
Author: Chris Young <chris at unsatisfactorysoftware.co.uk>
Commit: Chris Young <chris at unsatisfactorysoftware.co.uk>

    If a new browser window opens, bring the screen NetSurf is running on to the front

diff --git a/amiga/gui.c b/amiga/gui.c
index 663c513..a5cac9d 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -917,7 +917,7 @@ static void gui_init2(int argc, char** argv)
 		}
 	}
 
-    	nsoption_setnull_charp(homepage_url, (char *)strdup(NETSURF_HOMEPAGE));
+	nsoption_setnull_charp(homepage_url, (char *)strdup(NETSURF_HOMEPAGE));
 
 	if(!notalreadyrunning)
 	{
@@ -933,7 +933,6 @@ static void gui_init2(int argc, char** argv)
 			sendcmd = ASPrintf("OPEN \"%s\" NEW",nsoption_charp(homepage_url));
 		}
 		IDoMethod(arexx_obj,AM_EXECUTE,sendcmd,"NETSURF",NULL,NULL,NULL,NULL);
-		IDoMethod(arexx_obj,AM_EXECUTE,"TOFRONT","NETSURF",NULL,NULL,NULL,NULL);
 		FreeVec(sendcmd);
 
 		netsurf_quit=true;
@@ -3746,6 +3745,8 @@ struct gui_window *gui_create_browser_window(struct browser_window *bw,
 	if(locked_screen) UnlockPubScreen(NULL,scrn);
 	search_web_retrieve_ico(false);
 
+	ScreenToFront(scrn);
+
 	return g;
 }
 


-----------------------------------------------------------------------

Summary of changes:
 amiga/gui.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/amiga/gui.c b/amiga/gui.c
index 663c513..a5cac9d 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -917,7 +917,7 @@ static void gui_init2(int argc, char** argv)
 		}
 	}
 
-    	nsoption_setnull_charp(homepage_url, (char *)strdup(NETSURF_HOMEPAGE));
+	nsoption_setnull_charp(homepage_url, (char *)strdup(NETSURF_HOMEPAGE));
 
 	if(!notalreadyrunning)
 	{
@@ -933,7 +933,6 @@ static void gui_init2(int argc, char** argv)
 			sendcmd = ASPrintf("OPEN \"%s\" NEW",nsoption_charp(homepage_url));
 		}
 		IDoMethod(arexx_obj,AM_EXECUTE,sendcmd,"NETSURF",NULL,NULL,NULL,NULL);
-		IDoMethod(arexx_obj,AM_EXECUTE,"TOFRONT","NETSURF",NULL,NULL,NULL,NULL);
 		FreeVec(sendcmd);
 
 		netsurf_quit=true;
@@ -3746,6 +3745,8 @@ struct gui_window *gui_create_browser_window(struct browser_window *bw,
 	if(locked_screen) UnlockPubScreen(NULL,scrn);
 	search_web_retrieve_ico(false);
 
+	ScreenToFront(scrn);
+
 	return g;
 }
 


-- 
NetSurf Browser



More information about the netsurf-commits mailing list