2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (update_document_mode):
Prefer presentation mode when the document
require fullscreen.
+2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
+
+ * shell/ev-window.c: (update_document_mode):
+
+ Prefer presentation mode when the document
+ require fullscreen.
+
2005-06-17 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-ui.xml:
static void
update_document_mode (EvWindow *window, EvDocumentMode mode)
{
- if (mode == EV_DOCUMENT_MODE_FULL_SCREEN) {
- ev_window_fullscreen (window);
- } else if (mode == EV_DOCUMENT_MODE_PRESENTATION) {
+ if (mode == EV_DOCUMENT_MODE_PRESENTATION) {
ev_window_run_presentation (window);
}
+ else if (mode == EV_DOCUMENT_MODE_FULL_SCREEN) {
+ ev_window_fullscreen (window);
+ }
}
static void