Re: [Nautilus-list] two keynav/a11y patches



On 24 Apr 2002, Dave Camp wrote:

> It zoomed to whatever level was passed in.  The attached patch snaps to
> the closest preferred zoom level. 
> 
> The attached patch also changes the zoom code to use floats rather than
> doubles throughout nautilus, to match the bonobo-zoomable interface.

Looks fine to commit.
Change the
+#define NUM_ACTIONS ((int)(sizeof (nautilus_zoom_control_accessible_action_names) / sizeof (nautilus_zoom_control_accessible_action_names[0])))
to use G_N_ELEMENTS() though.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an otherworldly overambitious barbarian with no name. She's a 
chain-smoking punk angel with a flame-thrower. They fight crime! 





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