Re: swapping button click in Evince?



Hi Wouter,

 >> 
 >> /* View menu */
 >> +	ev_window_set_action_sensitive (ev_window, "ViewDragMode", has_pages);

 Wouter> This might be the line causing "need to click twice" bug you mentioned
 Wouter> before.

Doesn't this enable it only? 

 >> +        { "ViewDragMode", NULL, N_("Dra_g Mode"), NULL,
 >> +          N_("Toggle drag mode") ,
 >> +	  G_CALLBACK (ev_window_cmd_drag_mode), TRUE },

 Wouter> Are you sure this is correct?

MMm, I think so, but I am no GTK+ expert. Identifier for the option
(matching XML data), text for the menu, and explanation. Then name of
callback.

It seems to work for me,

-- 
--
Daniel M. German                  
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .


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