diff options
author | Ole Loots <ole@monochrom.net> | 2012-06-19 23:04:38 +0000 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2012-06-19 23:04:38 +0000 |
commit | cd45e1f44720a563d9b7e9b9bc7ea2b410444d3f (patch) | |
tree | 7b1faf1d89cbbe1519943f792650ca1d97bd24da /atari/global_evnt.c | |
parent | 1f3d249c157cf731bc723f865c3721f684a408a5 (diff) | |
download | netsurf-cd45e1f44720a563d9b7e9b9bc7ea2b410444d3f.tar.gz netsurf-cd45e1f44720a563d9b7e9b9bc7ea2b410444d3f.tar.bz2 |
First attempt to implement the global history treeview. There is something wrong with the redraw ( the treeview area of the windo isn't redrawn, also it looks like the treeview content size isn't set )
svn path=/trunk/netsurf/; revision=13973
Diffstat (limited to 'atari/global_evnt.c')
-rwxr-xr-x | atari/global_evnt.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/atari/global_evnt.c b/atari/global_evnt.c index 535fe066c..24e65b511 100755 --- a/atari/global_evnt.c +++ b/atari/global_evnt.c @@ -41,7 +41,8 @@ #include "atari/browser_win.h"
#include "atari/toolbar.h"
#include "atari/browser.h"
-#include "atari/hotlist.h"
+#include "atari/hotlist.h" +#include "atari/history.h"
#include "atari/misc.h"
#include "atari/global_evnt.h"
#include "atari/browser_win.h"
@@ -321,10 +322,7 @@ static void __CDECL menu_lhistory(WINDOW *win, int item, int title, void *data) static void __CDECL menu_ghistory(WINDOW *win, int item, int title, void *data)
{
LOG(("%s", __FUNCTION__));
- char buf[PATH_MAX];
- strcpy((char*)&buf, "file://");
- strncat((char*)&buf, nsoption_charp(url_file), PATH_MAX - (strlen("file://")+1) );
- browser_window_create((char*)&buf, 0, 0, true, false);
+ global_history_open();
}
static void __CDECL menu_add_bookmark(WINDOW *win, int item, int title, void *data)
|