From 8b83456c02fbdc738bc25b244633eb27522b9119 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 15 Aug 2013 19:19:24 +0100 Subject: 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. --- gtk/hotlist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk/hotlist.c') 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); -- cgit v1.2.3