From 37db0f6f8520aeb9d5bfafa6b94e8c976ff85111 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 31 Jan 2015 13:42:40 +0000 Subject: [PATCH] Open the interface for speedbar.gadget --- amiga/gui.c | 6 ------ amiga/libs.c | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/amiga/gui.c b/amiga/gui.c index e6487ea3d..efa9fdd53 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -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, diff --git a/amiga/libs.c b/amiga/libs.c index c37774ac1..903c0f7d0 100644 --- a/amiga/libs.c +++ b/amiga/libs.c @@ -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)