mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
(dlg_set_bottom_widget): rename to widget_set_bottom.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
d200893347
commit
599361b3fc
@ -1132,12 +1132,11 @@ widget_select (Widget * w)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
dlg_set_bottom_widget (void *w)
|
widget_set_bottom (Widget * w)
|
||||||
{
|
{
|
||||||
Widget *widget = WIDGET (w);
|
WDialog *h = w->owner;
|
||||||
WDialog *h = widget->owner;
|
|
||||||
|
|
||||||
dlg_reorder_widgets (g_list_find (h->widgets, widget), FALSE);
|
dlg_reorder_widgets (g_list_find (h->widgets, w), FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------------------------------- */
|
||||||
|
@ -148,7 +148,7 @@ void dlg_stop (WDialog * h);
|
|||||||
|
|
||||||
/* Widget selection */
|
/* Widget selection */
|
||||||
void widget_select (Widget * w);
|
void widget_select (Widget * w);
|
||||||
void dlg_set_bottom_widget (void *w);
|
void widget_set_bottom (void *w);
|
||||||
void dlg_select_prev_widget (WDialog * h);
|
void dlg_select_prev_widget (WDialog * h);
|
||||||
void dlg_select_next_widget (WDialog * h);
|
void dlg_select_next_widget (WDialog * h);
|
||||||
gboolean dlg_focus (WDialog * h);
|
gboolean dlg_focus (WDialog * h);
|
||||||
|
@ -312,7 +312,7 @@ menubar_finish (WMenuBar * menubar)
|
|||||||
|
|
||||||
/* Move the menubar to the bottom so that widgets displayed on top of
|
/* Move the menubar to the bottom so that widgets displayed on top of
|
||||||
* an "invisible" menubar get the first chance to respond to mouse events. */
|
* an "invisible" menubar get the first chance to respond to mouse events. */
|
||||||
dlg_set_bottom_widget (w);
|
widget_set_bottom (w);
|
||||||
|
|
||||||
dlg_select_by_id (w->owner, menubar->previous_widget);
|
dlg_select_by_id (w->owner, menubar->previous_widget);
|
||||||
do_refresh ();
|
do_refresh ();
|
||||||
|
Loading…
Reference in New Issue
Block a user