[pdfmod] When loading a file, adds it to the recent documents list.
- From: Gabriel Burt <gburt src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pdfmod] When loading a file, adds it to the recent documents list.
- Date: Mon, 24 Aug 2009 17:01:56 +0000 (UTC)
commit b35512d06c12b7c7da821d3dbc7d9258c33aa2f9
Author: Robert Dyer <psybers gmail com>
Date: Fri Aug 21 16:41:55 2009 -0500
When loading a file, adds it to the recent documents list.
Signed-off-by: Gabriel Burt <gabriel burt gmail com>
src/PdfMod/Gui/Client.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/PdfMod/Gui/Client.cs b/src/PdfMod/Gui/Client.cs
index d957739..217e84f 100644
--- a/src/PdfMod/Gui/Client.cs
+++ b/src/PdfMod/Gui/Client.cs
@@ -245,6 +245,7 @@ namespace PdfMod.Gui
ThreadAssist.ProxyToMain (delegate {
IconView.SetDocument (Document);
+ RecentManager.Default.AddItem (Document.Uri);
Document.Changed += UpdateForDocument;
UpdateForDocument ();
OnDocumentLoaded ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]