Gitweb links:

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

The branch, master has been updated
       via  9d77dc83bdd86f3a46ff00102a43c46718dac00b (commit)
      from  f04103398b284b9defb85c98d3079b0dfc43a15e (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=9d77dc83bdd86f3a46ff00102a43c46718dac00b
commit 9d77dc83bdd86f3a46ff00102a43c46718dac00b
Author: Chris Young <[email protected]>
Commit: Chris Young <[email protected]>

    Never warn the user about multiple tabs being open when we're in the 
process of quitting.

diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c
index ae2d4df..2c7bc82 100644
--- a/frontends/amiga/gui.c
+++ b/frontends/amiga/gui.c
@@ -2942,6 +2942,9 @@ void ami_quit_netsurf(void)
        struct nsObject *nnode;
        struct gui_window_2 *gwin;
 
+       /* Disable the multiple tabs open warning */
+       nsoption_set_bool(tab_close_warn, false);
+
        if(!IsMinListEmpty(window_list)) {
                node = (struct nsObject *)GetHead((struct List *)window_list);
 
@@ -3001,7 +3004,6 @@ void ami_quit_netsurf_delayed(void)
        free(utf8gadgets);
 #endif
        if(res == -1) { /* Requester timed out */
-               nsoption_set_bool(tab_close_warn, false);
                ami_quit_netsurf();
        }
 }


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

Summary of changes:
 frontends/amiga/gui.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c
index ae2d4df..2c7bc82 100644
--- a/frontends/amiga/gui.c
+++ b/frontends/amiga/gui.c
@@ -2942,6 +2942,9 @@ void ami_quit_netsurf(void)
        struct nsObject *nnode;
        struct gui_window_2 *gwin;
 
+       /* Disable the multiple tabs open warning */
+       nsoption_set_bool(tab_close_warn, false);
+
        if(!IsMinListEmpty(window_list)) {
                node = (struct nsObject *)GetHead((struct List *)window_list);
 
@@ -3001,7 +3004,6 @@ void ami_quit_netsurf_delayed(void)
        free(utf8gadgets);
 #endif
        if(res == -1) { /* Requester timed out */
-               nsoption_set_bool(tab_close_warn, false);
                ami_quit_netsurf();
        }
 }


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to