mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 01:33:16 +03:00
Open the interface for speedbar.gadget
This commit is contained in:
parent
1200fedb1c
commit
37db0f6f85
@ -3134,12 +3134,6 @@ static bool ami_gui_hotlist_add(void *userdata, int level, int item, const char
|
||||
if(item > AMI_GUI_TOOLBAR_MAX) return false;
|
||||
if(is_folder == true) return false;
|
||||
|
||||
if(title) {
|
||||
tb_userdata->gw->hotlist_toolbar_lab[item] = ami_utf8_easy(title);
|
||||
} else {
|
||||
tb_userdata->gw->hotlist_toolbar_lab[item] = strdup("(untitled)");
|
||||
}
|
||||
|
||||
speed_button_node = AllocSpeedButtonNode(item,
|
||||
SBNA_Text, tb_userdata->gw->hotlist_toolbar_lab[item],
|
||||
SBNA_UserData, (void *)url,
|
||||
|
@ -254,7 +254,7 @@ bool ami_libs_open(void)
|
||||
AMINS_CLASS_OPEN("gadgets/radiobutton.gadget", 44, RadioButton, RADIOBUTTON, false)
|
||||
AMINS_CLASS_OPEN("gadgets/scroller.gadget", 44, Scroller, SCROLLER, false)
|
||||
AMINS_CLASS_OPEN("gadgets/space.gadget", 44, Space, SPACE, false)
|
||||
AMINS_CLASS_OPEN("gadgets/speedbar.gadget", 44, SpeedBar, SPEEDBAR, false)
|
||||
AMINS_CLASS_OPEN("gadgets/speedbar.gadget", 44, SpeedBar, SPEEDBAR, true)
|
||||
AMINS_CLASS_OPEN("gadgets/string.gadget", 44, String, STRING, false)
|
||||
AMINS_CLASS_OPEN("window.class", 44, Window, WINDOW, false)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user