]> www.fi.muni.cz Git - evince.git/commit
Fix normal size zoom. Make zoom in/zoom out unsensitive when they are
authorMarco Pesenti Gritti <mpg@redhat.com>
Fri, 22 Apr 2005 09:46:25 +0000 (09:46 +0000)
committerMarco Pesenti Gritti <marco@src.gnome.org>
Fri, 22 Apr 2005 09:46:25 +0000 (09:46 +0000)
commita6e6d94bd65dd562a9e802b7a27aa71f8e4ad160
tree9894dce257ed1b04134a0dd70cf7fbb6869a67cf
parenta9a3c41262ca008c326e7a97ab0608608d144caa
Fix normal size zoom. Make zoom in/zoom out unsensitive when they are

2005-04-22  Marco Pesenti Gritti <mpg@redhat.com>

        * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
        (ev_view_zoom_out), (ev_view_zoom_normal):
        * shell/ev-view.h:
        * shell/ev-window.c: (update_action_sensitivity),
        (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
        (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
        (ev_window_cmd_view_normal_size):

        Fix normal size zoom. Make zoom in/zoom out unsensitive when
        they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
        better than oom.
ChangeLog
shell/ev-view.c
shell/ev-view.h
shell/ev-window.c