CVSROOT:        /cvs/gnome
Module name:    evince
Changes by:     martink 05/02/15 03:26:23

Modified files:
        .              : ChangeLog 
        shell          : ev-view.c ev-view.h ev-window.c 

Log message:
* shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
parameters providing allocation width and height without
scrollbars and width of a possible vertical scrollbar. With this
additional information the functions can work as
intended. Unfortunately they're not idempotent. We should
transform these commands to toggles. Fixes Bug #164976
Initial patch by Stephane Loeuillet, then heavily modified.

* shell/ev-view.h: update prototypes.

* shell/ev-window.c (ev_window_cmd_view_best_fit)
(ev_window_cmd_view_page_width): provide EvView fit functions with
all the information they need. Formulas to calculate this
information taken from GtkScrolledWindow.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=evince&who=martink&date=explicit&mindate=2005-02-15%2003:25&maxdate=2005-02-15%2003:27

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to