mirror of https://github.com/MidnightCommander/mc
mcedit: rename user_menu() to edit_user_menu().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
2949eabd33
commit
6ad4f04626
|
@ -141,7 +141,7 @@ WEdit *edit_find_editor (const WDialog * h);
|
|||
gboolean edit_widget_is_editor (const Widget * w);
|
||||
gboolean edit_drop_hotkey_menu (WDialog * h, int key);
|
||||
void edit_menu_cmd (WDialog * h);
|
||||
void user_menu (WEdit * edit, const char *menu_file, int selected_entry);
|
||||
void edit_user_menu (WEdit * edit, const char *menu_file, int selected_entry);
|
||||
void edit_init_menu (WMenuBar * menubar);
|
||||
void edit_save_mode_cmd (void);
|
||||
off_t edit_move_forward3 (const WEdit * edit, off_t current, long cols, off_t upto);
|
||||
|
|
|
@ -1782,7 +1782,7 @@ edit_insert_column_from_file (WEdit * edit, int file, off_t * start_pos, off_t *
|
|||
/** User edit menu, like user menu (F2) but only in editor. */
|
||||
|
||||
void
|
||||
user_menu (WEdit * edit, const char *menu_file, int selected_entry)
|
||||
edit_user_menu (WEdit * edit, const char *menu_file, int selected_entry)
|
||||
{
|
||||
char *block_file;
|
||||
gboolean nomark;
|
||||
|
@ -3933,7 +3933,7 @@ edit_execute_cmd (WEdit * edit, long command, int char_for_insertion)
|
|||
edit_goto_matching_bracket (edit);
|
||||
break;
|
||||
case CK_UserMenu:
|
||||
user_menu (edit, NULL, -1);
|
||||
edit_user_menu (edit, NULL, -1);
|
||||
break;
|
||||
case CK_Sort:
|
||||
edit_sort_cmd (edit);
|
||||
|
|
|
@ -1947,7 +1947,7 @@ edit_block_process_cmd (WEdit * edit, int macro_number)
|
|||
|
||||
fname = g_strdup_printf ("%s.%i.sh", EDIT_HOME_MACRO_FILE, macro_number);
|
||||
macros_fname = g_build_filename (mc_config_get_data_path (), fname, (char *) NULL);
|
||||
user_menu (edit, macros_fname, 0);
|
||||
edit_user_menu (edit, macros_fname, 0);
|
||||
g_free (fname);
|
||||
g_free (macros_fname);
|
||||
edit->force |= REDRAW_COMPLETELY;
|
||||
|
|
Loading…
Reference in New Issue