diff options
author | Jonathan Blandford <jrb@redhat.com> | 2005-08-26 04:25:42 (GMT) |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2005-08-26 04:25:42 (GMT) |
commit | 08f59cdd977b86d17d0a9c70a56b2bfd7f6741a2 (patch) | |
tree | 83c5b6692bfb4ec0948514095aadb28afb102ee4 /shell/ev-view.c | |
parent | 2eecd9167f17b9b0506675a9dc05dff487779afa (diff) |
catch another gtk+-2.8ism Make work with gtk+-2.6 Release 0.4.0
Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com>
* configure.ac: catch another gtk+-2.8ism
* shell/main.c: Make work with gtk+-2.6
* NEWS: Release 0.4.0
Diffstat (limited to 'shell/ev-view.c')
-rw-r--r-- | shell/ev-view.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/shell/ev-view.c b/shell/ev-view.c index a59b64a..05d3954 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -2456,7 +2456,10 @@ ev_view_set_rotation (EvView *view, int rotation) ev_pixbuf_cache_clear (view->pixbuf_cache); gtk_widget_queue_resize (GTK_WIDGET (view)); } - + + if (rotation != 0) + clear_selection (view); + g_object_notify (G_OBJECT (view), "rotation"); } @@ -3215,6 +3218,10 @@ ev_view_select_all (EvView *view) { int n_pages, i; + /* Disable selection on rotated pages for the 0.4.0 series */ + if (view->rotation != 0) + return; + clear_selection (view); n_pages = ev_page_cache_get_n_pages (view->page_cache); |