mirror of https://github.com/MidnightCommander/mc
merged in: 155_want_widgets_METUX
This commit is contained in:
commit
f516d1c1d1
|
@ -1,3 +1,10 @@
|
|||
|
||||
2009-01-09 Enrico Weigelt, metux ITS <weigelt@metux.de>
|
||||
|
||||
* main.c, main.h, main-widgets.h, filegui.c, layout.c, screen.c:
|
||||
moved main widget declarations into main-widgets.h and
|
||||
removed the WANT_WIDGETS symbol
|
||||
|
||||
2009-01-05 Slava Zanko
|
||||
* main.c (main): remove compatibility_move_mc_files stuff.
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
#include "dialog.h" /* do_refresh() */
|
||||
#include "color.h" /* dialog_colors */
|
||||
#include "widget.h" /* WLabel */
|
||||
#define WANT_WIDGETS
|
||||
#include "main-widgets.h"
|
||||
#include "main.h" /* the_hint */
|
||||
#include "wtools.h" /* QuickDialog */
|
||||
#include "panel.h" /* current_panel */
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
#include "command.h"
|
||||
#include "profile.h" /* For sync_profiles() */
|
||||
#include "mouse.h"
|
||||
#define WANT_WIDGETS
|
||||
#include "main-widgets.h"
|
||||
#include "main.h"
|
||||
#include "subshell.h" /* For use_subshell and resize_subshell() */
|
||||
#include "tree.h"
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
#ifndef MC_MAIN_WIDGETS_H
|
||||
#define MC_MAIN_WIDGETS_H
|
||||
|
||||
#include "widget.h"
|
||||
#include "dialog.h"
|
||||
|
||||
extern WButtonBar *the_bar;
|
||||
extern WLabel *the_prompt;
|
||||
extern WLabel *the_hint;
|
||||
extern Dlg_head *midnight_dlg;
|
||||
|
||||
extern struct WMenu *the_menubar;
|
||||
|
||||
#endif
|
|
@ -116,15 +116,6 @@ char *get_mc_lib_dir (void);
|
|||
int maybe_cd (int move_up_dir);
|
||||
void do_possible_cd (const char *dir);
|
||||
|
||||
#ifdef WANT_WIDGETS
|
||||
extern WButtonBar *the_bar;
|
||||
extern WLabel *the_prompt;
|
||||
extern WLabel *the_hint;
|
||||
extern Dlg_head *midnight_dlg;
|
||||
|
||||
extern struct WMenu *the_menubar;
|
||||
#endif /* WANT_WIDGETS */
|
||||
|
||||
void done_menu (void);
|
||||
void init_menu (void);
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
#include "execute.h"
|
||||
#include "widget.h"
|
||||
#include "menu.h" /* menubar_visible */
|
||||
#define WANT_WIDGETS
|
||||
#include "main-widgets.h"
|
||||
#include "main.h" /* the_menubar */
|
||||
#include "unixcompat.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue