diff options
author | Dave Malcolm <dmalcolm@redhat.com> | 2005-01-14 05:26:54 (GMT) |
---|---|---|
committer | David Malcolm <dave_malcolm@src.gnome.org> | 2005-01-14 05:26:54 (GMT) |
commit | 3e3ca2bb5e6206bdb5af6b097cd9b92252e7a6c2 (patch) | |
tree | cea73ecdc00fe2fe7603bc7bd01e2677cc0bea1d /shell/ev-view.h | |
parent | e7088d0b30431821a31a2a7c64b1d8e921362f0d (diff) |
new functions to help with implementation of sensitivity code Fix
2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
* shell/ev-view.h:
* shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
new functions to help with implementation of sensitivity code
* shell/ev-window.c (update_action_sensitivity): Fix sensitivity
of all actions that might require it. Fixes a crash when you
click on the Zoom actions in a window lacking a document.
Diffstat (limited to 'shell/ev-view.h')
-rw-r--r-- | shell/ev-view.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ev-view.h b/shell/ev-view.h index 0e7237d..e57371a 100644 --- a/shell/ev-view.h +++ b/shell/ev-view.h @@ -47,7 +47,9 @@ void ev_view_copy (EvView *view); void ev_view_select_all (EvView *view); /* Navigation */ +gboolean ev_view_can_go_back (EvView *view); void ev_view_go_back (EvView *view); +gboolean ev_view_can_go_forward (EvView *view); void ev_view_go_forward (EvView *view); void ev_view_go_to_link (EvView *view, EvLink *link); |