summaryrefslogtreecommitdiff
path: root/platform/winrt/gsview/MainWindow.xaml.cs
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2014-01-13 19:42:35 -0800
committerMichael Vrhel <michael.vrhel@artifex.com>2014-09-09 16:39:29 -0700
commit6caf1b523606ce3b282d0dfa45da455867d84429 (patch)
tree019af6fc44b38123cd4ef84dc29bc263a7f2f00b /platform/winrt/gsview/MainWindow.xaml.cs
parentbeb0d0c8d438bcf2f793e48112c008c59aed9bab (diff)
downloadmupdf-6caf1b523606ce3b282d0dfa45da455867d84429.tar.xz
Update of a few minor project related items for gsview
Diffstat (limited to 'platform/winrt/gsview/MainWindow.xaml.cs')
-rw-r--r--platform/winrt/gsview/MainWindow.xaml.cs17
1 files changed, 9 insertions, 8 deletions
diff --git a/platform/winrt/gsview/MainWindow.xaml.cs b/platform/winrt/gsview/MainWindow.xaml.cs
index a4f66afc..1e23d84e 100644
--- a/platform/winrt/gsview/MainWindow.xaml.cs
+++ b/platform/winrt/gsview/MainWindow.xaml.cs
@@ -17,7 +17,6 @@ using mupdfwinrt;
using System.Threading.Tasks;
using System.Runtime.InteropServices.WindowsRuntime;
-
enum AppBar_t
{
TEXT_SEARCH,
@@ -181,15 +180,17 @@ namespace gsview
var index = filename.LastIndexOfAny(anyOf);
string extension = filename.Substring(index + 1);
- int result = await mu_doc.OpenFileAsync(filename, extension);
+ int result = mu_doc.OpenFileName(filename, extension);
+
+ //int result = await mu_doc.OpenFileAsync(filename, extension);
/* Check if we need password */
- if (mu_doc.RequiresPassword())
- {
+ //if (mu_doc.RequiresPassword())
+ //{
//SetView(view_t.VIEW_PASSWORD);
- return;
- }
- else
- InitialRender();
+ // return;
+ //}
+ //else
+ // InitialRender();
}
}
}