From e9ffd7b5401b32979ea83bc56da4592e80f8ce3e Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 16 Jun 2005 16:40:40 +0000 Subject: Add a get_orientation api. Improve set_orientation. 2005-06-16 Marco Pesenti Gritti * backend/ev-document.c: (ev_document_get_orientation): * backend/ev-document.h: * pdf/ev-poppler.cc: * ps/ps-document.c: (ps_document_get_orientation), (ps_document_set_orientation), (ps_document_document_iface_init): Add a get_orientation api. Improve set_orientation. * data/evince-ui.xml: * shell/ev-view.c: (ev_view_set_orientation), (ev_view_rotate_right), (ev_view_rotate_left): * shell/ev-view.h: * shell/ev-window.c: (ev_window_cmd_edit_rotate_left), (ev_window_cmd_edit_rotate_right): Better ui for changing document orientation --- (limited to 'shell/ev-view.h') diff --git a/shell/ev-view.h b/shell/ev-view.h index 2244ae0..05b2542 100644 --- a/shell/ev-view.h +++ b/shell/ev-view.h @@ -90,8 +90,8 @@ void ev_view_set_zoom_for_size (EvView *view, int height, int vsb_width, int hsb_height); -void ev_view_set_orientation (EvView *view, - EvOrientation orientation); +void ev_view_rotate_left (EvView *view); +void ev_view_rotate_right (EvView *view); /* Find */ gboolean ev_view_can_find_next (EvView *view); -- cgit v0.9.1