Re: [patch] fix bug #97486 (In single click mode, underlining items is irritating)



On 4 Nov 2002, Jan Arne Petersen wrote:

> On Mon, 2002-11-04 at 17:09, Alexander Larsson wrote:
> 
> Hi,
> 
> > > this patch fixes bug #97486. There are no longer underlined icons, but
> > > there is a hand cursor in single click mode.
> > > 
> > @@ -1443,8 +1426,13 @@
> >                         icon_item->details->is_prelit = FALSE;
> >                         icon_item->details->is_active = 0;                      
> >                         icon_item->details->is_highlighted_for_drop = FALSE;
> > -                       update_label_layouts (icon_item);
> >                         eel_canvas_item_request_update (item);
> > +
> > +                       /* show default cursor */
> > +                       cursor = gdk_cursor_new_for_display (gdk_display_get_default(),
> > +                                                            GDK_LEFT_PTR);
> > +                       gdk_window_set_cursor (((GdkEventAny *)event)->window, cursor);
> > +                       gdk_cursor_unref (cursor);
> >                 }
> >                 return TRUE;
> > 
> > Set the window cursor to NULL instead here.
> 
> Ok. Updated patch attached.

Looks good to commit. But remove the parts that are just whitespace 
changes, and add a ChangeLog entry.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a benighted flyboy card sharp looking for a cure to the poison coursing 
through his veins. She's a supernatural snooty college professor from 
aristocratic European stock. They fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]