From f676e62d0e35b0f568ff14cd3ca8930507721e22 Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Sun, 30 Jan 2011 22:19:46 +0000 Subject: Implemented Search Dialog svn path=/trunk/netsurf/; revision=11547 --- atari/global_evnt.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'atari/global_evnt.c') diff --git a/atari/global_evnt.c b/atari/global_evnt.c index 95dbdba6d..ea623492b 100755 --- a/atari/global_evnt.c +++ b/atari/global_evnt.c @@ -43,6 +43,7 @@ #include "atari/global_evnt.h" #include "atari/browser_win.h" #include "atari/res/netsurf.rsh" +#include "atari/search.h" extern const char * cfg_homepage_url; extern struct gui_window *input_window; @@ -140,6 +141,8 @@ static void __CDECL menu_paste(WINDOW *win, int item, int title, void *data) static void __CDECL menu_find(WINDOW *win, int item, int title, void *data) { LOG(("%s", __FUNCTION__)); + if( input_window != NULL ) + open_browser_search( input_window ); } static void __CDECL menu_choices(WINDOW *win, int item, int title, void *data) @@ -765,5 +768,4 @@ void snd_redraw( short x, short y, short w, short h) gw = gw->next; } return; -} - +} \ No newline at end of file -- cgit v1.2.3