Add new gui entry point for file open dialogue requests
This commit is contained in:
parent
1bd4a34a27
commit
d8ad3b8e78
|
@ -5137,3 +5137,11 @@ void ami_gui_splash_close(Object *win_obj)
|
|||
{
|
||||
if(win_obj) DisposeObject(win_obj);
|
||||
}
|
||||
|
||||
void gui_file_gadget_open(struct browser_window *bw, hlcache_handle *hl,
|
||||
struct form_control *gadget)
|
||||
{
|
||||
LOG(("File open dialog rquest for %p/%p", bw, gadget));
|
||||
/* browser_window_set_gadget_filename(bw, gadget, "filename"); */
|
||||
}
|
||||
|
||||
|
|
|
@ -1098,6 +1098,13 @@ static void gui_init2(int argc, char** argv)
|
|||
toolbar_init();
|
||||
}
|
||||
|
||||
void gui_file_gadget_open(struct browser_window *bw, hlcache_handle *hl,
|
||||
struct form_control *gadget)
|
||||
{
|
||||
LOG(("File open dialog rquest for %p/%p", bw, gadget));
|
||||
/* browser_window_set_gadget_filename(bw, gadget, "filename"); */
|
||||
}
|
||||
|
||||
/* #define WITH_DBG_LOGFILE 1 */
|
||||
/** Entry point from OS.
|
||||
*
|
||||
|
|
|
@ -1164,3 +1164,11 @@ bool path_add_part(char *path, int length, const char *newpart)
|
|||
|
||||
return true;
|
||||
}
|
||||
|
||||
void gui_file_gadget_open(struct browser_window *bw, hlcache_handle *hl,
|
||||
struct form_control *gadget)
|
||||
{
|
||||
LOG(("File open dialog rquest for %p/%p", bw, gadget));
|
||||
/* browser_window_set_gadget_filename(bw, gadget, "filename"); */
|
||||
}
|
||||
|
||||
|
|
|
@ -324,3 +324,10 @@ void gui_401login_open(nsurl *url, const char *realm,
|
|||
cb( false, cbpw );
|
||||
}
|
||||
|
||||
void gui_file_gadget_open(struct browser_window *bw, hlcache_handle *hl,
|
||||
struct form_control *gadget)
|
||||
{
|
||||
LOG(("File open dialog rquest for %p/%p", bw, gadget));
|
||||
/* browser_window_set_gadget_filename(bw, gadget, "filename"); */
|
||||
}
|
||||
|
||||
|
|
|
@ -116,7 +116,8 @@ void gui_drag_save_selection(struct gui_window *g, const char *selection);
|
|||
void gui_start_selection(struct gui_window *g);
|
||||
void gui_clear_selection(struct gui_window *g);
|
||||
|
||||
|
||||
void gui_file_gadget_open(struct browser_window *bw, hlcache_handle *hl,
|
||||
struct form_control *gadget);
|
||||
|
||||
/**
|
||||
* Core asks front end for clipboard contents.
|
||||
|
|
|
@ -681,9 +681,12 @@ void gui_quit(void)
|
|||
gtk_fetch_filetype_fin();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void gui_file_gadget_open(struct browser_window *bw, hlcache_handle *hl,
|
||||
struct form_control *gadget)
|
||||
{
|
||||
LOG(("File open dialog rquest for %p/%p", bw, gadget));
|
||||
/* browser_window_set_gadget_filename(bw, gadget, "plinth"); */
|
||||
}
|
||||
|
||||
static void nsgtk_select_menu_clicked(GtkCheckMenuItem *checkmenuitem,
|
||||
gpointer user_data)
|
||||
|
|
|
@ -390,6 +390,13 @@ gui_window_save_link(struct gui_window *g, const char *url,
|
|||
g->win_num, url, title);
|
||||
}
|
||||
|
||||
void gui_file_gadget_open(struct browser_window *bw, hlcache_handle *hl,
|
||||
struct form_control *gadget)
|
||||
{
|
||||
LOG(("File open dialog rquest for %p/%p", bw, gadget));
|
||||
/* browser_window_set_gadget_filename(bw, gadget, "filename"); */
|
||||
}
|
||||
|
||||
|
||||
/**** Handlers ****/
|
||||
|
||||
|
|
|
@ -2423,3 +2423,11 @@ bool path_add_part(char *path, int length, const char *newpart)
|
|||
|
||||
return true;
|
||||
}
|
||||
|
||||
void gui_file_gadget_open(struct browser_window *bw, hlcache_handle *hl,
|
||||
struct form_control *gadget)
|
||||
{
|
||||
LOG(("File open dialog rquest for %p/%p", bw, gadget));
|
||||
/* browser_window_set_gadget_filename(bw, gadget, "filename"); */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue