mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Minor fix -mig
This commit is contained in:
parent
3b2ad8a238
commit
b4dadfbecd
@ -1,5 +1,8 @@
|
||||
1998-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gscreen.c (x_panel_update_marks): Do only set the marks if the
|
||||
widget has been created
|
||||
|
||||
* glayout.c (assign_other): Keep track of all of the opened
|
||||
panels. We were never removing them from the containers list.
|
||||
This fixes a number of problems.
|
||||
|
@ -109,6 +109,9 @@ x_panel_update_marks (WPanel *panel)
|
||||
int ff = panel->dir_history->next ? 1 : 0;
|
||||
int bf = panel->dir_history->prev ? 1 : 0;
|
||||
|
||||
if (!panel->fwd_b)
|
||||
return;
|
||||
|
||||
gtk_widget_set_sensitive (panel->fwd_b, ff);
|
||||
gtk_widget_set_sensitive (panel->back_b, bf);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user