mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
1998-03-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (x_select_item): Make it use GTK_VISIBILITY_FULL instead of a plain boolean value. * gwidget.c (x_listbox_select_nth): Likewise.
This commit is contained in:
parent
c90b068d58
commit
347f04ec92
@ -1,5 +1,9 @@
|
||||
1998-03-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gscreen.c (x_select_item): Make it use GTK_VISIBILITY_FULL
|
||||
instead of a plain boolean value.
|
||||
* gwidget.c (x_listbox_select_nth): Likewise.
|
||||
|
||||
* gscreen.c (filter_items): New global variable full of filters.
|
||||
Please, someone fill in the regexp parts, as I was too lazy to do
|
||||
them :-)
|
||||
|
@ -191,7 +191,7 @@ x_select_item (WPanel *panel)
|
||||
|
||||
gtk_clist_select_row (clist, panel->selected, 0);
|
||||
|
||||
if (!gtk_clist_row_is_visible (clist, panel->selected)){
|
||||
if (gtk_clist_row_is_visible (clist, panel->selected) != GTK_VISIBILITY_FULL){
|
||||
printf ("No fue visible %d\n", panel->selected);
|
||||
gtk_clist_moveto (clist, panel->selected, 0, 0.5, 0.0);
|
||||
}
|
||||
|
@ -267,7 +267,7 @@ x_listbox_select_nth (WListbox *l, int nth)
|
||||
clist = GTK_CLIST (l->widget.wdata);
|
||||
|
||||
gtk_clist_select_row (clist, nth, 0);
|
||||
if (!gtk_clist_row_is_visible (clist, nth))
|
||||
if (gtk_clist_row_is_visible (clist, nth) != GTK_VISIBILITY_FULL)
|
||||
gtk_clist_moveto (clist, nth, 0, 0.5, 0.0);
|
||||
|
||||
inside = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user