diff --git a/gnome/ChangeLog b/gnome/ChangeLog index c8cc017ff..976eb695f 100644 --- a/gnome/ChangeLog +++ b/gnome/ChangeLog @@ -1,3 +1,7 @@ +1998-11-03 Federico Mena Quintero + + * gdesktop.c (select_icon): Raise the icon when it is selected. + 1998-11-02 Federico Mena Quintero * gdesktop.c (select_range): Doh. Fix dii -> ldii typo. Also, diff --git a/gnome/gdesktop.c b/gnome/gdesktop.c index 4b18fe88a..caa7b0ccf 100644 --- a/gnome/gdesktop.c +++ b/gnome/gdesktop.c @@ -255,7 +255,7 @@ select_range (struct desktop_icon_info *dii, int sel) max_vdii = dii; } - /* Select! */ + /* Select all the icons in the rectangle */ for (u = min_u; u <= max_u; u++) for (v = min_v; v <= max_v; v++) @@ -296,6 +296,9 @@ select_icon (struct desktop_icon_info *dii, GdkEventButton *event) } last_selected_icon = dii; + + if (dii->selected) + gdk_window_raise (dii->dicon->window); } else select_range (dii, TRUE); }