summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-11-29 22:44:30 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-11-29 22:44:30 +0000
commit61872ab3a493d60ede0e5ca2221b4c5c94708171 (patch)
treed4d31aa61818b7ce6844d6330cbd41d5970439a4 /amiga/gui.c
parent23dc635e1a2386d52779384d6117f020376142f7 (diff)
downloadnetsurf-61872ab3a493d60ede0e5ca2221b4c5c94708171.tar.gz
netsurf-61872ab3a493d60ede0e5ca2221b4c5c94708171.tar.bz2
Debug
Diffstat (limited to 'amiga/gui.c')
-rwxr-xr-xamiga/gui.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 93ee08282..7482b4b71 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -1206,6 +1206,7 @@ void ami_handle_msg(void)
struct browser_window *closedbw;
struct timeval curtime;
static int drag_x_move = 0, drag_y_move = 0;
+ char *url;
if(IsMinListEmpty(window_list))
{
@@ -1601,11 +1602,13 @@ void ami_handle_msg(void)
break;
case GID_HOTLIST:
- GetAttrs(gwin->objects[GID_HOTLIST],
- SPEEDBAR_SelectedNode, &tabnode, TAG_DONE);
- GetSpeedButtonNodeAttrs(tabnode, SBNA_UserData, (ULONG *)&storage, TAG_DONE);
-
- browser_window_go(gwin->bw, (char *)storage, NULL, true);
+ GetAttr(SPEEDBAR_SelectedNode,
+ (Object *)gwin->objects[GID_HOTLIST],
+ (ULONG *)&tabnode);
+ printf("%lx %d\n", tabnode, code);
+ GetSpeedButtonNodeAttrs(tabnode, SBNA_UserData, (ULONG *)&url, TAG_DONE);
+ printf("%s\n", url);
+ browser_window_go(gwin->bw, url, NULL, true);
break;
case GID_HOME: