summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2014-01-05 17:33:08 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2014-01-05 17:37:21 +0000
commitf97c1fc605caf49b73a11f960dc9a6c869e97abe (patch)
tree63371dac17fbe1e67bc3363d049a947ba64d0450
parent692d4a328c7ba7cbf13c66c5da67ac1e9bb323b2 (diff)
downloadnetsurf-f97c1fc605caf49b73a11f960dc9a6c869e97abe.tar.gz
netsurf-f97c1fc605caf49b73a11f960dc9a6c869e97abe.tar.bz2
Add some more frontend stubs and fix up some others
-rw-r--r--cocoa/gui.m1
-rw-r--r--framebuffer/gui.c7
-rw-r--r--monkey/browser.c2
-rw-r--r--windows/gui.c7
4 files changed, 16 insertions, 1 deletions
diff --git a/cocoa/gui.m b/cocoa/gui.m
index 449b52c82..72f64bf04 100644
--- a/cocoa/gui.m
+++ b/cocoa/gui.m
@@ -32,6 +32,7 @@
#import "desktop/textinput.h"
#import "desktop/401login.h"
#import "utils/utils.h"
+#import "utils/log.h"
#import "image/ico.h"
#import "content/fetchers/resource.h"
diff --git a/framebuffer/gui.c b/framebuffer/gui.c
index b4bb3ef43..08cb31318 100644
--- a/framebuffer/gui.c
+++ b/framebuffer/gui.c
@@ -1988,6 +1988,13 @@ gui_cert_verify(nsurl *url,
cb(false, cbpw);
}
+void gui_file_gadget_open(struct gui_window *g, hlcache_handle *hl,
+ struct form_control *gadget)
+{
+ LOG(("File open dialog rquest for %p/%p", g, gadget));
+ /* browser_window_set_gadget_filename(bw, gadget, "filename"); */
+}
+
/*
* Local Variables:
* c-basic-offset:8
diff --git a/monkey/browser.c b/monkey/browser.c
index 5cd18359a..73549f36a 100644
--- a/monkey/browser.c
+++ b/monkey/browser.c
@@ -390,7 +390,7 @@ gui_window_save_link(struct gui_window *g, const char *url,
g->win_num, url, title);
}
-void gui_file_gadget_open(struct gui_browser *g, hlcache_handle *hl,
+void gui_file_gadget_open(struct gui_window *g, hlcache_handle *hl,
struct form_control *gadget)
{
LOG(("File open dialog rquest for %p/%p", g, gadget));
diff --git a/windows/gui.c b/windows/gui.c
index 767f6812e..e20369a65 100644
--- a/windows/gui.c
+++ b/windows/gui.c
@@ -73,6 +73,13 @@ static const char windowclassname_main[] = "nswsmainwindow";
static struct nsws_pointers nsws_pointer;
+void gui_file_gadget_open(struct gui_window *g, hlcache_handle *hl,
+ struct form_control *gadget)
+{
+ LOG(("File open dialog rquest for %p/%p", g, gadget));
+ /* browser_window_set_gadget_filename(bw, gadget, "filename"); */
+}
+
void gui_poll(bool active)
{
MSG Msg; /* message from system */