mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-10 21:42:00 +03:00
* screen.c (Xtry_to_select): Make static, rename to
do_try_to_select().
This commit is contained in:
parent
e5140f37d4
commit
dc9869db9e
@ -1,5 +1,8 @@
|
|||||||
2002-11-10 Pavel Roskin <proski@gnu.org>
|
2002-11-10 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* screen.c (Xtry_to_select): Make static, rename to
|
||||||
|
do_try_to_select().
|
||||||
|
|
||||||
* screen.c (chdir_other_panel): Change behavior of Alt-O -
|
* screen.c (chdir_other_panel): Change behavior of Alt-O -
|
||||||
change the other panel to the current directory, put it to the
|
change the other panel to the current directory, put it to the
|
||||||
listing mode if needed. Based on a patch from PLD Linux
|
listing mode if needed. Based on a patch from PLD Linux
|
||||||
|
@ -125,7 +125,6 @@ WPanel *panel_new (const char *panel_name);
|
|||||||
void panel_set_size (WPanel *panel, int x1, int y1, int x2, int y2);
|
void panel_set_size (WPanel *panel, int x1, int y1, int x2, int y2);
|
||||||
void paint_paint (WPanel *panel);
|
void paint_paint (WPanel *panel);
|
||||||
void panel_refresh (WPanel *panel);
|
void panel_refresh (WPanel *panel);
|
||||||
void Xtry_to_select (WPanel *panel, char *name);
|
|
||||||
void panel_clean_dir (WPanel *panel);
|
void panel_clean_dir (WPanel *panel);
|
||||||
|
|
||||||
extern int torben_fj_mode;
|
extern int torben_fj_mode;
|
||||||
|
@ -772,8 +772,8 @@ do_select (WPanel *panel, int i)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static inline void
|
||||||
Xtry_to_select (WPanel *panel, char *name)
|
do_try_to_select (WPanel *panel, char *name)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
char *subdir;
|
char *subdir;
|
||||||
@ -806,7 +806,7 @@ Xtry_to_select (WPanel *panel, char *name)
|
|||||||
void
|
void
|
||||||
try_to_select (WPanel *panel, char *name)
|
try_to_select (WPanel *panel, char *name)
|
||||||
{
|
{
|
||||||
Xtry_to_select (panel, name);
|
do_try_to_select (panel, name);
|
||||||
select_item (panel);
|
select_item (panel);
|
||||||
display_mini_info (panel);
|
display_mini_info (panel);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user