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:
Miguel de Icaza 1998-03-14 00:20:17 +00:00
parent c90b068d58
commit 347f04ec92
3 changed files with 6 additions and 2 deletions

View File

@ -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 :-)

View File

@ -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);
}

View File

@ -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;