]> www.fi.muni.cz Git - evince.git/blobdiff - ChangeLog
add parameters providing allocation width and height without scrollbars
[evince.git] / ChangeLog
index 42863e253af1a56bec1d3a5bd076d6a4cd4b135d..be9db9a22b08724f6c08bdd4a8cfc416d9e2d2cd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2005-02-14  Martin Kretzschmar  <martink@gnome.org>
+
+       * 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.
+
 2005-02-14  Crispin Flowerday  <gnome@flowerday.cx>
 
        * shell/ev-sidebar-thumbnails.c: Ensure that after we have