1998-05-18 Federico Mena Quintero <federico@nuclecu.unam.mx>

* gscreen.c (x_select_item): Test for full icon visibility instead
	of partial visibility only.
This commit is contained in:
Miguel de Icaza 1998-05-19 04:02:33 +00:00
parent f4a5f85ecf
commit 0dad671321
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
1998-05-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (x_select_item): Test for full icon visibility instead
of partial visibility only.
1998-05-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gscreen.c (create_popup_submenu): Use continue, not break on

View File

@ -316,7 +316,7 @@ x_select_item (WPanel *panel)
gnome_icon_list_select_icon (list, panel->selected);
if (list->icon_rows){
if (!gnome_icon_list_icon_is_visible (list, panel->selected))
if (gnome_icon_list_icon_is_visible (list, panel->selected) != GTK_VISIBILITY_FULL)
gnome_icon_list_moveto (list, panel->selected, 0.5);
}
} else {

View File

@ -36,7 +36,7 @@ set_window_text (GtkWidget *window, GdkImlibImage *im, char *text)
GdkGC *p_gc, *m_gc;
int width, height;
ti = gnome_icon_layout_text (window->style->font, text, SNAP_X);
ti = gnome_icon_layout_text (window->style->font, text, " /-_.", SNAP_X, FALSE);
width = MAX (ti->width, im->rgb_width);
height = im->rgb_height + SPACING + ti->height;