Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/fbd63ceea971207f271a0...
...commit
http://git.netsurf-browser.org/netsurf.git/commit/fbd63ceea971207f271a022...
...tree
http://git.netsurf-browser.org/netsurf.git/tree/fbd63ceea971207f271a02247...
The branch, master has been updated
via fbd63ceea971207f271a022478bd1a2a7ab4abd6 (commit)
via 52cce284382d4e9126015a4b6b9d2f6c18f4d464 (commit)
from 9178ede40bf0c330072f787ee375fc601cab9974 (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=fbd63ceea971207f271...
commit fbd63ceea971207f271a022478bd1a2a7ab4abd6
Author: Ole Loots <ole(a)monochrom.net>
Commit: Ole Loots <ole(a)monochrom.net>
Removed duplicate hotlist_init call.
diff --git a/atari/hotlist.c b/atari/hotlist.c
index 3684a9a..c25640b 100755
--- a/atari/hotlist.c
+++ b/atari/hotlist.c
@@ -157,7 +157,6 @@ void hotlist_init(void)
void hotlist_open(void)
{
- hotlist_init();
if( hl.init == false ) {
return;
}
@@ -220,8 +219,9 @@ void atari_hotlist_add_page( const char * url, const char * title )
NSTREEVIEW tv = hl.tv;
if(hl.tv == NULL )
return;
- // TODO: do no open hotlist, and remove guiwin on close...
+
hotlist_open();
+
if( hl.tv->click.x >= 0 && hl.tv->click.y >= 0 ){
hotlist_add_page_xy( url, hl.tv->click.x, hl.tv->click.y );
} else {
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=52cce284382d4e91260...
commit 52cce284382d4e9126015a4b6b9d2f6c18f4d464
Author: Ole Loots <ole(a)monochrom.net>
Commit: Ole Loots <ole(a)monochrom.net>
Added some comments
diff --git a/atari/gemtk/guiwin.c b/atari/gemtk/guiwin.c
index 0334e58..28eea4e 100644
--- a/atari/gemtk/guiwin.c
+++ b/atari/gemtk/guiwin.c
@@ -673,7 +673,6 @@ GUIWIN *gemtk_wm_find(short handle)
return(NULL);
}
-
/**
* Check's if the pointer is managed by the guiwin API.
*/
@@ -690,6 +689,9 @@ GUIWIN *gemtk_wm_validate_ptr(GUIWIN *win)
return(NULL);
}
+/**
+* Add the GUIWIN to the list of handled windows.
+*/
GUIWIN *gemtk_wm_link(GUIWIN *win)
{
/* Make sure the window is not linked: */
@@ -714,6 +716,9 @@ GUIWIN *gemtk_wm_link(GUIWIN *win)
}
}
+/**
+* Remove the GUIWIN from the list of handled windows.
+*/
GUIWIN *gemtk_wm_unlink(GUIWIN *win)
{
GUIWIN * win_val;
-----------------------------------------------------------------------
Summary of changes:
atari/gemtk/guiwin.c | 7 ++++++-
atari/hotlist.c | 4 ++--
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/atari/gemtk/guiwin.c b/atari/gemtk/guiwin.c
index 0334e58..28eea4e 100644
--- a/atari/gemtk/guiwin.c
+++ b/atari/gemtk/guiwin.c
@@ -673,7 +673,6 @@ GUIWIN *gemtk_wm_find(short handle)
return(NULL);
}
-
/**
* Check's if the pointer is managed by the guiwin API.
*/
@@ -690,6 +689,9 @@ GUIWIN *gemtk_wm_validate_ptr(GUIWIN *win)
return(NULL);
}
+/**
+* Add the GUIWIN to the list of handled windows.
+*/
GUIWIN *gemtk_wm_link(GUIWIN *win)
{
/* Make sure the window is not linked: */
@@ -714,6 +716,9 @@ GUIWIN *gemtk_wm_link(GUIWIN *win)
}
}
+/**
+* Remove the GUIWIN from the list of handled windows.
+*/
GUIWIN *gemtk_wm_unlink(GUIWIN *win)
{
GUIWIN * win_val;
diff --git a/atari/hotlist.c b/atari/hotlist.c
index 3684a9a..c25640b 100755
--- a/atari/hotlist.c
+++ b/atari/hotlist.c
@@ -157,7 +157,6 @@ void hotlist_init(void)
void hotlist_open(void)
{
- hotlist_init();
if( hl.init == false ) {
return;
}
@@ -220,8 +219,9 @@ void atari_hotlist_add_page( const char * url, const char * title )
NSTREEVIEW tv = hl.tv;
if(hl.tv == NULL )
return;
- // TODO: do no open hotlist, and remove guiwin on close...
+
hotlist_open();
+
if( hl.tv->click.x >= 0 && hl.tv->click.y >= 0 ){
hotlist_add_page_xy( url, hl.tv->click.x, hl.tv->click.y );
} else {
--
NetSurf Browser