[pdfmod] Make SaveAs not require unsaved changes (bgo#628449)



commit 0557a4ed6073b8a8424ba04a17d407dbc279bf4e
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Tue Aug 31 16:16:29 2010 -0500

    Make SaveAs not require unsaved changes (bgo#628449)

 src/PdfMod/Gui/Actions.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/PdfMod/Gui/Actions.cs b/src/PdfMod/Gui/Actions.cs
index a110455..a38f14d 100644
--- a/src/PdfMod/Gui/Actions.cs
+++ b/src/PdfMod/Gui/Actions.cs
@@ -178,7 +178,7 @@ namespace PdfMod.Gui
                 ? Catalog.GetString ("_Redo")
                 : String.Format (Catalog.GetString ("Redo {0}"), redo.Description);
 
-            UpdateActions (true, have_doc && app.Document.HasUnsavedChanges, "Save", "SaveAs");
+            UpdateAction ("Save", true, have_doc && app.Document.HasUnsavedChanges);
             UpdateAction ("ZoomIn", true, have_doc && app.IconView.CanZoomIn);
             UpdateAction ("ZoomOut", true, have_doc && app.IconView.CanZoomOut);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]