diff options
author | Ole Loots <ole@monochrom.net> | 2011-01-30 22:19:46 +0000 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2011-01-30 22:19:46 +0000 |
commit | f676e62d0e35b0f568ff14cd3ca8930507721e22 (patch) | |
tree | b3408bfe89101f082f7fc4976ee8a13943e51e06 /atari/global_evnt.c | |
parent | 54e72d1618ab8279d9c14cf3db7e00f2801c272d (diff) | |
download | netsurf-f676e62d0e35b0f568ff14cd3ca8930507721e22.tar.gz netsurf-f676e62d0e35b0f568ff14cd3ca8930507721e22.tar.bz2 |
Implemented Search Dialog
svn path=/trunk/netsurf/; revision=11547
Diffstat (limited to 'atari/global_evnt.c')
-rwxr-xr-x | atari/global_evnt.c | 6 |
1 files changed, 4 insertions, 2 deletions
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 |