Update frontends for r13185. Enabled new functionality, where it is not logical it

can be switched off.

svn path=/trunk/netsurf/; revision=13186
This commit is contained in:
Chris Young 2011-11-27 20:09:10 +00:00
parent d169eefe59
commit 24486e342a
5 changed files with 9 additions and 9 deletions

View File

@ -807,11 +807,11 @@ BOOL ami_tree_event(struct treeview_window *twin)
break;
case GID_NEWF:
hotlist_add_folder();
hotlist_add_folder(true);
break;
case GID_NEWB:
hotlist_add_entry();
hotlist_add_entry(true);
break;
case GID_DEFAULT:

View File

@ -49,7 +49,7 @@ static void evnt_hl_toolbar( WINDOW *win, short buff[8]) {
/* handle toolbar object (index in buff[4] ) */
switch( buff[4] ) {
case TOOLBAR_HOTLIST_CREATE_FOLDER:
hotlist_add_folder();
hotlist_add_folder(true);
break;
case TOOLBAR_HOTLIST_ADD:

View File

@ -186,7 +186,7 @@ static const char *cocoa_hotlist_path( void )
- (IBAction) addFolder: (id) sender;
{
hotlist_add_folder();
hotlist_add_folder(true);
}
@end

View File

@ -200,13 +200,13 @@ MENUHANDLER(export)
MENUHANDLER(new_folder)
{
hotlist_add_folder();
hotlist_add_folder(true);
return TRUE;
}
MENUHANDLER(new_entry)
{
hotlist_add_entry();
hotlist_add_entry(true);
return TRUE;
}

View File

@ -259,7 +259,7 @@ void ro_gui_hotlist_toolbar_click(button_bar_action action)
break;
case TOOLBAR_BUTTON_CREATE:
hotlist_add_folder();
hotlist_add_folder(true);
break;
default:
@ -376,10 +376,10 @@ bool ro_gui_hotlist_menu_select(wimp_w w, wimp_i i, wimp_menu *menu,
ro_gui_dialog_open_persistent(w, dialog_saveas, true);
return true;
case TREE_NEW_FOLDER:
hotlist_add_folder();
hotlist_add_folder(true);
return true;
case TREE_NEW_LINK:
hotlist_add_entry();
hotlist_add_entry(true);
return true;
case TREE_EXPAND_ALL:
hotlist_expand_all();