diff --git a/edit/ChangeLog b/edit/ChangeLog index c7c671f4e..775983151 100644 --- a/edit/ChangeLog +++ b/edit/ChangeLog @@ -1,3 +1,9 @@ +2005-02-08 Roland Illig + + * editdraw.c: Renamed redraw_labels to buttonbar_redraw. + * editwidget.c: Likewise. Renamed define_label_data to + buttonbar_set_label_data. + 2005-02-08 Roland Illig * edit.h: Reformatted #definitions. diff --git a/edit/editdraw.c b/edit/editdraw.c index 48dfe91bd..76f35a72e 100644 --- a/edit/editdraw.c +++ b/edit/editdraw.c @@ -29,7 +29,7 @@ #include "../src/color.h" /* EDITOR_NORMAL_COLOR */ #include "../src/tty.h" /* attrset() */ -#include "../src/widget.h" /* redraw_labels() */ +#include "../src/widget.h" /* buttonbar_redraw() */ #include "../src/key.h" /* is_idle() */ #include "../src/charsets.h" @@ -468,7 +468,7 @@ edit_render (WEdit * edit, int page, int row_start, int col_start, int row_end, edit->force |= REDRAW_PAGE | REDRAW_IN_BOUNDS; if (edit->force & REDRAW_COMPLETELY) - redraw_labels (edit->widget.parent); + buttonbar_redraw (edit->widget.parent); render_edit_text (edit, row_start, col_start, row_end, col_end); /* * edit->force != 0 means a key was pending and the redraw diff --git a/edit/editwidget.c b/edit/editwidget.c index d630a08a6..d82e267ca 100644 --- a/edit/editwidget.c +++ b/edit/editwidget.c @@ -28,7 +28,7 @@ #include "edit-widget.h" #include "../src/tty.h" /* LINES */ -#include "../src/widget.h" /* redraw_labels() */ +#include "../src/widget.h" /* buttonbar_redraw() */ #include "../src/menu.h" /* menubar_new() */ #include "../src/key.h" /* is_idle() */ @@ -227,7 +227,7 @@ edit_file (const char *_file, int line) static void edit_my_define (Dlg_head * h, int idx, const char *text, void (*fn) (WEdit *), WEdit * edit) { - define_label_data (h, idx, text, (buttonbarfn) fn, edit); + buttonbar_set_label_data (h, idx, text, (buttonbarfn) fn, edit); } @@ -299,7 +299,7 @@ edit_labels (WEdit *edit) edit_my_define (h, 9, _("PullDn"), edit_menu_cmd, edit); edit_my_define (h, 10, _("Quit"), cmd_F10, edit); - redraw_labels (h); + buttonbar_redraw (h); } void edit_update_screen (WEdit * e)