Rename files:

src/filemanager/midnight.[ch] -> src/filemanager/filemanager.[ch].

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2020-08-19 09:33:24 +03:00
parent 1869dffd14
commit 41a35b9b8a
29 changed files with 35 additions and 35 deletions

View File

@ -45,7 +45,7 @@
#include "lib/strutil.h" /* str_replace_all_substrings() */
#include "lib/widget.h"
#include "filemanager/midnight.h"
#include "filemanager/filemanager.h"
#include "filemanager/layout.h" /* use_dash() */
#include "consaver/cons.saver.h"
#ifdef ENABLE_SUBSHELL

View File

@ -12,6 +12,7 @@ libmcfilemanager_la_SOURCES = \
ext.c ext.h \
file.c file.h \
filegui.c filegui.h \
filemanager.h filemanager.c \
filenot.c filenot.h \
fileopctx.c fileopctx.h \
find.c \
@ -19,7 +20,6 @@ libmcfilemanager_la_SOURCES = \
info.c info.h \
ioblksize.h \
layout.c layout.h \
midnight.h midnight.c \
mountlist.c mountlist.h \
panelize.c panelize.h \
panel.c panel.h \

View File

@ -45,7 +45,7 @@
#include "lib/util.h"
#include "lib/widget.h"
#include "midnight.h" /* current_panel */
#include "filemanager.h" /* current_panel */
#include "cmd.h" /* advanced_chown_cmd() */

View File

@ -76,7 +76,7 @@
#include "panel.h" /* LIST_FORMATS */
#include "tree.h"
#include "layout.h" /* for get_nth_panel_name proto */
#include "midnight.h" /* current_panel */
#include "filemanager.h" /* current_panel */
#include "boxes.h"

View File

@ -48,7 +48,7 @@
#include "src/keybind-defaults.h" /* chattr_map */
#include "midnight.h" /* current_panel */
#include "filemanager.h" /* current_panel */
#include "panel.h" /* do_file_mark() */
#include "cmd.h" /* chattr_cmd(), chattr_get_as_str() */

View File

@ -40,7 +40,7 @@
#include "lib/util.h"
#include "lib/widget.h"
#include "midnight.h" /* current_panel */
#include "filemanager.h" /* current_panel */
#include "cmd.h" /* chmod_cmd() */

View File

@ -45,7 +45,7 @@
#include "lib/widget.h"
#include "src/setup.h" /* panels_options */
#include "midnight.h" /* current_panel */
#include "filemanager.h" /* current_panel */
#include "cmd.h" /* chown_cmd() */

View File

@ -85,7 +85,7 @@
#include "hotlist.h" /* hotlist_show() */
#include "panel.h" /* WPanel */
#include "tree.h" /* tree_chdir() */
#include "midnight.h" /* change_panel() */
#include "filemanager.h" /* change_panel() */
#include "command.h" /* cmdline */
#include "layout.h" /* get_current_type() */
#include "ext.h" /* regex_command() */

View File

@ -51,7 +51,7 @@
#include "src/execute.h" /* shell_execute */
#include "src/usermenu.h" /* expand_format */
#include "midnight.h" /* current_panel */
#include "filemanager.h" /* current_panel */
#include "layout.h" /* command_prompt */
#include "tree.h" /* sync_tree() */

View File

@ -80,7 +80,7 @@
#include "filegui.h"
#include "filenot.h"
#include "tree.h"
#include "midnight.h" /* current_panel */
#include "filemanager.h" /* current_panel */
#include "layout.h" /* rotate_dash() */
#include "ioblksize.h" /* io_blksize() */

View File

@ -155,7 +155,7 @@ statfs (char const *filename, struct fs_info *buf)
#include "src/setup.h" /* verbose, safe_overwrite */
#include "midnight.h"
#include "filemanager.h"
#include "fileopctx.h" /* FILE_CONT */
#include "filegui.h"

View File

@ -8,7 +8,7 @@
Miguel de Icaza, 1994, 1995, 1996, 1997
Janne Kukonlehto, 1994, 1995
Norbert Warmuth, 1997
Andrew Borodin <aborodin@vmail.ru>, 2009, 2010, 2012, 2013
Andrew Borodin <aborodin@vmail.ru>, 2009, 2010, 2012, 2013, 2020
Slava Zanko <slavazanko@gmail.com>, 2013
This file is part of the Midnight Commander.
@ -27,7 +27,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/** \file main.c
/** \file filemanager.c
* \brief Source: main dialog (file panels) of the Midnight Commander
*/
@ -86,7 +86,7 @@
#include "src/consaver/cons.saver.h" /* show_console_contents */
#include "src/file_history.h" /* show_file_history() */
#include "midnight.h"
#include "filemanager.h"
/*** global variables ****************************************************************************/

View File

@ -1,9 +1,9 @@
/** \file midnight.h
* \brief Header: main dialog (file panel) for Midnight Commander
/** \file filemanager.h
* \brief Header: main dialog (file panels) for Midnight Commander
*/
#ifndef MC__MIDNIGHT_H
#define MC__MIDNIGHT_H
#ifndef MC__FILEMANAGER_H
#define MC__FILEMANAGER_H
#include "lib/widget.h"
@ -50,4 +50,4 @@ gboolean do_nc (void);
/*** inline functions ****************************************************************************/
#endif /* MC__MIDNIGHT_H */
#endif /* MC__FILEMANAGER_H */

View File

@ -54,7 +54,7 @@
#include "dir.h"
#include "cmd.h" /* find_cmd(), view_file_at_line() */
#include "midnight.h" /* current_panel */
#include "filemanager.h" /* current_panel */
#include "boxes.h"
#include "panelize.h"

View File

@ -59,7 +59,7 @@
#include "src/setup.h" /* For profile_bname */
#include "src/history.h"
#include "midnight.h" /* current_panel */
#include "filemanager.h" /* current_panel */
#include "command.h" /* cmdline */
#include "hotlist.h"

View File

@ -50,7 +50,7 @@
#include "src/setup.h" /* panels_options */
#include "midnight.h" /* the_menubar */
#include "filemanager.h" /* the_menubar */
#include "layout.h"
#include "mountlist.h"
#ifdef ENABLE_EXT2FS_ATTR

View File

@ -60,7 +60,7 @@
#endif
#include "command.h"
#include "midnight.h"
#include "filemanager.h"
#include "tree.h"
/* Needed for the extern declarations of integer parameters */
#include "dir.h"

View File

@ -74,7 +74,7 @@
#include "layout.h" /* Most layout variables are here */
#include "cmd.h"
#include "command.h" /* cmdline */
#include "midnight.h"
#include "filemanager.h"
#include "mountlist.h" /* my_statfs */
#include "panel.h"

View File

@ -50,7 +50,7 @@
#include "src/history.h"
#include "dir.h"
#include "midnight.h" /* current_panel */
#include "filemanager.h" /* current_panel */
#include "layout.h" /* rotate_dash() */
#include "panel.h" /* WPanel */

View File

@ -60,7 +60,7 @@
#include "src/history.h"
#include "dir.h"
#include "midnight.h" /* the_menubar */
#include "filemanager.h" /* the_menubar */
#include "file.h" /* copy_dir_dir(), move_dir_dir(), erase_dir() */
#include "layout.h" /* command_prompt */
#include "treestore.h"

View File

@ -56,7 +56,7 @@
#include "lib/util.h"
#include "lib/vfs/vfs.h" /* vfs_init(), vfs_shut() */
#include "filemanager/midnight.h" /* current_panel */
#include "filemanager/filemanager.h"
#include "filemanager/treestore.h" /* tree_store_save */
#include "filemanager/layout.h"
#include "filemanager/ext.h" /* flush_extension_file() */

View File

@ -54,7 +54,7 @@
#endif
#include "filemanager/dir.h"
#include "filemanager/midnight.h"
#include "filemanager/filemanager.h"
#include "filemanager/tree.h" /* xtree_mode */
#include "filemanager/hotlist.h" /* load/save/done hotlist */
#include "filemanager/panelize.h" /* load/save/done panelize */

View File

@ -34,7 +34,7 @@
#include "lib/vfs/vfs.h" /* vfs_get_raw_current_dir() */
#include "src/setup.h" /* quit */
#include "src/filemanager/midnight.h" /* current_panel */
#include "src/filemanager/filemanager.h" /* current_panel */
#include "src/consaver/cons.saver.h" /* handle_console() */
#include "internal.h"

View File

@ -54,7 +54,7 @@
#include "src/history.h"
#include "src/filemanager/dir.h"
#include "src/filemanager/midnight.h"
#include "src/filemanager/filemanager.h"
#include "src/filemanager/layout.h"
#include "usermenu.h"

View File

@ -61,7 +61,7 @@
#include "lib/mcconfig.h" /* mc_config_history_get() */
#include "src/filemanager/layout.h"
#include "src/filemanager/midnight.h" /* current_panel */
#include "src/filemanager/filemanager.h" /* current_panel */
#include "src/filemanager/ext.h" /* regex_command_for() */
#include "src/history.h"

View File

@ -44,7 +44,7 @@
#include "lib/widget.h"
#include "src/filemanager/layout.h"
#include "src/filemanager/midnight.h" /* the_menubar */
#include "src/filemanager/filemanager.h" /* the_menubar */
#include "internal.h"

View File

@ -32,7 +32,7 @@
#include "lib/vfs/path.h"
#include "src/filemanager/layout.h"
#include "src/filemanager/midnight.h"
#include "src/filemanager/filemanager.h"
#include "src/filemanager/tree.h"
#ifdef ENABLE_SUBSHELL
#include "src/subshell/subshell.h"

View File

@ -29,7 +29,7 @@
#include "src/vfs/local/local.c"
#include "src/filemanager/midnight.c"
#include "src/filemanager/filemanager.c"
#include "src/filemanager/ext.c"

View File

@ -31,7 +31,7 @@
#include "lib/strutil.h"
#include "lib/util.h"
#include "src/filemanager/midnight.h"
#include "src/filemanager/filemanager.h"
/* --------------------------------------------------------------------------------------------- */