Open the interface for speedbar.gadget

This commit is contained in:
Chris Young 2015-01-31 13:42:40 +00:00
parent 1200fedb1c
commit 37db0f6f85
2 changed files with 1 additions and 7 deletions

View File

@ -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,

View File

@ -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)