summaryrefslogtreecommitdiff
path: root/print/pdfmod/files/patch-src_PdfMod_Gui_DocumentIconView.cs
diff options
context:
space:
mode:
Diffstat (limited to 'print/pdfmod/files/patch-src_PdfMod_Gui_DocumentIconView.cs')
-rw-r--r--print/pdfmod/files/patch-src_PdfMod_Gui_DocumentIconView.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/print/pdfmod/files/patch-src_PdfMod_Gui_DocumentIconView.cs b/print/pdfmod/files/patch-src_PdfMod_Gui_DocumentIconView.cs
new file mode 100644
index 000000000000..a048f3a6e6fa
--- /dev/null
+++ b/print/pdfmod/files/patch-src_PdfMod_Gui_DocumentIconView.cs
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- src/PdfMod/Gui/DocumentIconView.cs.orig
++++ src/PdfMod/Gui/DocumentIconView.cs
+@@ -319,7 +319,7 @@
+ if (to_index < 0)
+ return;
+
+- var pages = args.SelectionData.Data as Hyena.Gui.DragDropList<Page>;
++ Hyena.Gui.DragDropList<Page> pages = args.SelectionData;
+ to_index -= pages.Count (p => p.Index < to_index);
+ var action = new MoveAction (document, pages, to_index);
+ action.Do ();