* screen.c (user_file_menu_cmd): Move ...

* cmd.c: ... here.
* cmd.h: Remove unused declarations.
This commit is contained in:
Pavel Roskin 2003-10-24 18:57:43 +00:00
parent 9c72f81a21
commit 7a5015a5d1
4 changed files with 10 additions and 6 deletions

View File

@ -1,5 +1,9 @@
2003-10-24 Pavel Roskin <proski@gnu.org>
* screen.c (user_file_menu_cmd): Move ...
* cmd.c: ... here.
* cmd.h: Remove unused declarations.
* chmod.c (stat_file): Eliminate. Use mc_stat().
* chmod.h: Remove unneded code.
* chown.h: Likewise.

View File

@ -1048,6 +1048,12 @@ void help_cmd (void)
interactive_display (NULL, "[main]");
}
void
user_file_menu_cmd (void)
{
user_menu_cmd (NULL);
}
/* partly taken from dcigettext.c, returns "" for default locale */
/* value should be freed by calling function g_free() */
char *guess_message_value (void)

View File

@ -27,10 +27,8 @@ void reselect_vfs (void);
void mkdir_cmd (void);
void delete_cmd (void);
void find_cmd (void);
void tree_mode_cmd (void);
void filter_cmd (void);
void reread_cmd (void);
void tree_view_cmd (void);
void ext_cmd (void);
void edit_mc_menu_cmd (void);
void edit_user_menu_cmd (void);

View File

@ -2157,10 +2157,6 @@ panel_key (WPanel *panel, int key)
return MSG_NOT_HANDLED;
}
void user_file_menu_cmd (void) {
user_menu_cmd (NULL);
}
static cb_ret_t
panel_callback (WPanel *panel, widget_msg_t msg, int parm)
{