summaryrefslogtreecommitdiff
path: root/apps/plugins/text_editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/text_editor.c')
-rw-r--r--apps/plugins/text_editor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c
index 780516e896..75bbccf820 100644
--- a/apps/plugins/text_editor.c
+++ b/apps/plugins/text_editor.c
@@ -202,7 +202,7 @@ void save_changes(int overwrite)
202 202
203void setup_lists(struct gui_synclist *lists, int sel) 203void setup_lists(struct gui_synclist *lists, int sel)
204{ 204{
205 rb->gui_synclist_init(lists,list_get_name_cb,0, false, 1); 205 rb->gui_synclist_init(lists,list_get_name_cb,0, false, 1, NULL);
206 rb->gui_synclist_set_icon_callback(lists,NULL); 206 rb->gui_synclist_set_icon_callback(lists,NULL);
207 rb->gui_synclist_set_nb_items(lists,line_count); 207 rb->gui_synclist_set_nb_items(lists,line_count);
208 rb->gui_synclist_limit_scroll(lists,true); 208 rb->gui_synclist_limit_scroll(lists,true);
@@ -222,7 +222,7 @@ int do_item_menu(int cur_sel, char* copy_buffer)
222 "Insert Above", "Insert Below", 222 "Insert Above", "Insert Below",
223 "Concat To Above", "Save"); 223 "Concat To Above", "Save");
224 224
225 switch (rb->do_menu(&menu, NULL)) 225 switch (rb->do_menu(&menu, NULL, NULL, false))
226 { 226 {
227 case 0: /* cut */ 227 case 0: /* cut */
228 rb->strcpy(copy_buffer,&buffer[do_action(ACTION_GET,0,cur_sel)]); 228 rb->strcpy(copy_buffer,&buffer[do_action(ACTION_GET,0,cur_sel)]);
@@ -400,7 +400,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
400 { 400 {
401 MENUITEM_STRINGLIST(menu, "Edit What?", NULL, 401 MENUITEM_STRINGLIST(menu, "Edit What?", NULL,
402 "Extension", "Color",); 402 "Extension", "Color",);
403 switch (rb->do_menu(&menu, NULL)) 403 switch (rb->do_menu(&menu, NULL, NULL, false))
404 { 404 {
405 case 0: 405 case 0:
406 edit_text = true; 406 edit_text = true;
@@ -468,7 +468,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
468 "Show Playback Menu", "Save Changes", 468 "Show Playback Menu", "Save Changes",
469 "Save As...", "Save and Exit", 469 "Save As...", "Save and Exit",
470 "Ignore Changes and Exit"); 470 "Ignore Changes and Exit");
471 switch (rb->do_menu(&menu, NULL)) 471 switch (rb->do_menu(&menu, NULL, NULL, false))
472 { 472 {
473 case 0: 473 case 0:
474 break; 474 break;