summaryrefslogtreecommitdiff
path: root/gtk/gtk_gui.c
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2006-07-25 20:55:10 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2006-07-25 20:55:10 +0000
commit546efe6d6c2e9a8481c545988389962ac3e14459 (patch)
treeaa3143220324efa08d7ad973632d1d32af8762fa /gtk/gtk_gui.c
parent000f7502ba5ff036883c6484ca36594fc9ffb469 (diff)
downloadnetsurf-546efe6d6c2e9a8481c545988389962ac3e14459.tar.gz
netsurf-546efe6d6c2e9a8481c545988389962ac3e14459.tar.bz2
Initial work on URL completion in nsgtk. Some problems still exist.
1. It works without the code that should be required to make it do so. Boggle. 2. It appears to include the URLs to images and other resources as well as pages 3. Although you can highlight a completion with the cursor keys, pressing enter on one doesn't work - you need to click on it with the mouse. svn path=/trunk/netsurf/; revision=2795
Diffstat (limited to 'gtk/gtk_gui.c')
-rw-r--r--gtk/gtk_gui.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtk_gui.c b/gtk/gtk_gui.c
index 164e83dc5..925cd1789 100644
--- a/gtk/gtk_gui.c
+++ b/gtk/gtk_gui.c
@@ -28,6 +28,7 @@
#include "netsurf/desktop/options.h"
#include "netsurf/gtk/gtk_gui.h"
#include "netsurf/gtk/gtk_options.h"
+#include "netsurf/gtk/gtk_completion.h"
#include "netsurf/render/box.h"
#include "netsurf/render/form.h"
#include "netsurf/render/html.h"
@@ -111,6 +112,8 @@ void gui_init(int argc, char** argv)
glade_xml_signal_autoconnect(gladeWindows);
+ nsgtk_completion_init();
+
find_resource(buf, "Choices", "Choices");
LOG(("Using '%s' as Choices file", buf));
options_file_location = strdup(buf);