[pdfmod] Fix some zoom inconsistencies
- From: Gabriel Burt <gburt src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pdfmod] Fix some zoom inconsistencies
- Date: Tue, 11 Aug 2009 15:50:05 +0000 (UTC)
commit 30600dad716fbc1d8278a750b9265c3a2d5243c3
Author: Igor Vatavuk <jaybee444 gmail com>
Date: Tue Aug 11 08:47:03 2009 -0700
Fix some zoom inconsistencies
src/PdfMod/PdfMod/PdfIconView.cs | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/PdfMod/PdfMod/PdfIconView.cs b/src/PdfMod/PdfMod/PdfIconView.cs
index 001de0b..06df713 100644
--- a/src/PdfMod/PdfMod/PdfIconView.cs
+++ b/src/PdfMod/PdfMod/PdfIconView.cs
@@ -450,6 +450,9 @@ namespace PdfMod
if (document == null)
return;
+ if ((app.GlobalActions["ZoomFit"] as ToggleAction).Active == false)
+ return;
+
zoom_manually_set = false;
// Try to fit all pages into the view, with a minimum size
var n = (double)document.Count;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]