mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
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:
parent
f4a5f85ecf
commit
0dad671321
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user