mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 07:19:37 +03:00
[project @ 2006-01-07 00:29:54 by rjw]
Fix toolbar editing for trees (hotlist, global history). svn path=/import/netsurf/; revision=2001
This commit is contained in:
parent
e5af440223
commit
dd8fe80152
@ -25,6 +25,7 @@
|
||||
#include "oslib/wimp.h"
|
||||
#include "oslib/wimpextend.h"
|
||||
#include "oslib/wimpspriteop.h"
|
||||
#include "netsurf/riscos/dialog.h"
|
||||
#include "netsurf/riscos/gui.h"
|
||||
#include "netsurf/riscos/menus.h"
|
||||
#include "netsurf/riscos/options.h"
|
||||
@ -1773,6 +1774,8 @@ void ro_gui_theme_toggle_edit(struct toolbar *toolbar) {
|
||||
LOG(("Unable to create toolbar editor"));
|
||||
return;
|
||||
}
|
||||
ro_gui_wimp_event_set_user_data(toolbar->editor->toolbar_handle,
|
||||
ro_gui_wimp_event_get_user_data(toolbar->toolbar_handle));
|
||||
ro_gui_theme_update_toolbar(toolbar->descriptor, toolbar);
|
||||
switch (toolbar->type) {
|
||||
case THEME_BROWSER_TOOLBAR:
|
||||
|
Loading…
Reference in New Issue
Block a user