summaryrefslogtreecommitdiff
path: root/gtk/hotlist.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-08-15 19:19:24 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-08-16 08:25:25 +0100
commit8b83456c02fbdc738bc25b244633eb27522b9119 (patch)
treef2e8cd27124c055376a875e83b794103e53731c0 /gtk/hotlist.c
parentee7df2761f95359b9ad67812dd48286740036710 (diff)
downloadnetsurf-8b83456c02fbdc738bc25b244633eb27522b9119.tar.gz
netsurf-8b83456c02fbdc738bc25b244633eb27522b9119.tar.bz2
Beginnings of new hotlist module, implemented with new treeview.
Currently it can only open, display and launch entries in an existing hotlist file. TODO: - Generate defualt hotlist when file not found. - Add hotlist saving. - Allow adding to hotlist. - Allow hotlist editing. - Allow hotlist nodes to be moved by dragging. - Allow hotlist visit data to be updated.
Diffstat (limited to 'gtk/hotlist.c')
-rw-r--r--gtk/hotlist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/hotlist.c b/gtk/hotlist.c
index 834699a1d..8a1c81570 100644
--- a/gtk/hotlist.c
+++ b/gtk/hotlist.c
@@ -121,6 +121,7 @@ bool nsgtk_hotlist_init(const char *glade_file_location)
"hotlistDrawingArea"));
+ tree_hotlist_path = nsoption_charp(hotlist_path);
hotlist_window = nsgtk_treeview_create(hotlist_old_get_tree_flags(), window,
scrolled, drawing_area);
@@ -132,7 +133,7 @@ bool nsgtk_hotlist_init(const char *glade_file_location)
CONNECT(window, "delete_event", gtk_widget_hide_on_delete, NULL);
CONNECT(window, "hide", nsgtk_tree_window_hide, hotlist_window);
-
+
hotlist_old_initialise(nsgtk_treeview_get_tree(hotlist_window),
nsoption_charp(hotlist_path),
tree_directory_icon_name);