[arch-commits] Commit in pdfmod/repos/community-any (9 files)
Balló György
bgyorgy at archlinux.org
Sun Sep 2 18:26:14 UTC 2018
Date: Sunday, September 2, 2018 @ 18:26:14
Author: bgyorgy
Revision: 376076
archrelease: copy trunk to community-any
Added:
pdfmod/repos/community-any/Drop-gconf-dependency.patch
(from rev 376075, pdfmod/trunk/Drop-gconf-dependency.patch)
pdfmod/repos/community-any/LICENSE-PDFsharp
(from rev 376075, pdfmod/trunk/LICENSE-PDFsharp)
pdfmod/repos/community-any/PKGBUILD
(from rev 376075, pdfmod/trunk/PKGBUILD)
pdfmod/repos/community-any/fix-build.patch
(from rev 376075, pdfmod/trunk/fix-build.patch)
pdfmod/repos/community-any/pdfmod-mono-2.10.patch
(from rev 376075, pdfmod/trunk/pdfmod-mono-2.10.patch)
Deleted:
pdfmod/repos/community-any/LICENSE-PDFsharp
pdfmod/repos/community-any/PKGBUILD
pdfmod/repos/community-any/fix-build.patch
pdfmod/repos/community-any/pdfmod-mono-2.10.patch
-----------------------------+
Drop-gconf-dependency.patch | 227 ++++++++++++++++++++++++++++++++++++++++++
LICENSE-PDFsharp | 48 ++++----
PKGBUILD | 108 ++++++++++---------
pdfmod-mono-2.10.patch | 50 ++++-----
4 files changed, 334 insertions(+), 99 deletions(-)
Copied: pdfmod/repos/community-any/Drop-gconf-dependency.patch (from rev 376075, pdfmod/trunk/Drop-gconf-dependency.patch)
===================================================================
--- Drop-gconf-dependency.patch (rev 0)
+++ Drop-gconf-dependency.patch 2018-09-02 18:26:14 UTC (rev 376076)
@@ -0,0 +1,227 @@
+From: Jeremy Bicha <jbicha at ubuntu.com>
+Date: Sat, 23 Dec 2017 02:22:44 -0500
+Subject: Drop gconf dependency
+
+Revert 3647e8bd20533f317c8fa0deac29e89fec0512f2
+"Remember show_toolbar and last_open folder in gconf"
+
+Similarly, undo gconf support for Bookmarks feature
+---
+ configure.ac | 1 -
+ src/Makefile.am | 2 --
+ src/PdfMod/Core/Client.cs | 2 --
+ src/PdfMod/Core/Configuration.cs | 65 ----------------------------------------
+ src/PdfMod/Gui/Actions.cs | 17 +++--------
+ src/PdfMod/Gui/BookmarkView.cs | 2 --
+ src/PdfMod/Gui/Client.cs | 3 --
+ 7 files changed, 4 insertions(+), 88 deletions(-)
+ delete mode 100644 src/PdfMod/Core/Configuration.cs
+
+diff --git a/configure.ac b/configure.ac
+index e3b4570..6438aa0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -108,7 +108,6 @@ AM_GLIB_GNU_GETTEXT
+ dnl package checks, common for all configs
+ PKG_CHECK_MODULES([GTK_SHARP_20], [gtk-sharp-2.0])
+ PKG_CHECK_MODULES([GLIB_SHARP_20], [glib-sharp-2.0])
+-PKG_CHECK_MODULES([GCONF_SHARP_20], [gconf-sharp-2.0])
+
+ dnl package checks, per config
+ PKG_CHECK_MODULES(HYENA, hyena >= 0.5)
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 9eb4c74..a3ead39 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -29,7 +29,6 @@ all: $(ASSEMBLY) $(PROGRAMFILES) $(BINARIES)
+ FILES = \
+ PdfMod/Core/AssemblyInfo.cs \
+ PdfMod/Core/Client.cs \
+- PdfMod/Core/Configuration.cs \
+ PdfMod/Core/Defines.cs \
+ PdfMod/Gui/Actions.cs \
+ PdfMod/Gui/BookmarkView.cs \
+@@ -63,7 +62,6 @@ EXTRAS = \
+ REFERENCES = \
+ Mono.Cairo \
+ Mono.Posix \
+- -pkg:gconf-sharp-2.0 \
+ -pkg:glib-sharp-2.0 \
+ -pkg:gtk-sharp-2.0 \
+ -pkg:hyena \
+diff --git a/src/PdfMod/Core/Client.cs b/src/PdfMod/Core/Client.cs
+index e8d4d11..fac4c75 100644
+--- a/src/PdfMod/Core/Client.cs
++++ b/src/PdfMod/Core/Client.cs
+@@ -32,13 +32,11 @@ namespace PdfMod.Core
+ static readonly string CacheDir = Path.Combine (XdgBaseDirectorySpec.GetUserDirectory ("XDG_CACHE_HOME", ".cache"), "pdfmod");
+
+ public Document Document { get; protected set; }
+- public static Configuration Configuration { get; private set; }
+
+ public event EventHandler DocumentLoaded;
+
+ static Client ()
+ {
+- Configuration = new Configuration ();
+ InitCache ();
+ }
+
+diff --git a/src/PdfMod/Core/Configuration.cs b/src/PdfMod/Core/Configuration.cs
+deleted file mode 100644
+index 817b9f4..0000000
+--- a/src/PdfMod/Core/Configuration.cs
++++ /dev/null
+@@ -1,65 +0,0 @@
+-// Copyright (C) 2009-2010 Novell, Inc.
+-//
+-// This program is free software; you can redistribute it and/or
+-// modify it under the terms of the GNU General Public License
+-// as published by the Free Software Foundation; either version 2
+-// of the License, or (at your option) any later version.
+-//
+-// This program is distributed in the hope that it will be useful,
+-// but WITHOUT ANY WARRANTY; without even the implied warranty of
+-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-// GNU General Public License for more details.
+-//
+-// You should have received a copy of the GNU General Public License
+-// along with this program; if not, write to the Free Software
+-// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+-
+-using System;
+-
+-namespace PdfMod.Core
+-{
+- public class Configuration
+- {
+- GConf.Client client = new GConf.Client ();
+- string ns = "/apps/pdfmod/";
+-
+- public Configuration()
+- {
+- }
+-
+- T Get<T> (string key, T fallback)
+- {
+- try {
+- return (T) client.Get (ns + key);
+- } catch {
+- return fallback;
+- }
+- }
+-
+- void Set<T> (string key, T val)
+- {
+- client.Set (ns + key, val);
+- }
+-
+- public bool ShowToolbar {
+- get { return Get<bool> ("show_toolbar", true); }
+- set { Set<bool> ("show_toolbar", value); }
+- }
+-
+- public bool ShowBookmarks {
+- get { return Get<bool> ("show_bookmarks", false); }
+- set { Set<bool> ("show_bookmarks", value); }
+- }
+-
+- public string LastOpenFolder {
+- get { return Get<string> ("last_folder", System.Environment.GetFolderPath (System.Environment.SpecialFolder.Desktop)); }
+- set {
+- if (value != null && value.StartsWith ("file:/") && !value.StartsWith ("file://")) {
+- value = "file://" + value.Substring (6);
+- }
+-
+- Set<string> ("last_folder", value);
+- }
+- }
+- }
+-}
+diff --git a/src/PdfMod/Gui/Actions.cs b/src/PdfMod/Gui/Actions.cs
+index 3fc452b..9651a36 100644
+--- a/src/PdfMod/Gui/Actions.cs
++++ b/src/PdfMod/Gui/Actions.cs
+@@ -110,8 +110,8 @@ namespace PdfMod.Gui
+ AddImportant (
+ new ToggleActionEntry ("Properties", Stock.Properties, null, "<alt>Return", Catalog.GetString ("View and edit the title, keywords, and more for this document"), OnProperties, false),
+ new ToggleActionEntry ("ZoomFit", Stock.ZoomFit, null, "<control>0", null, OnZoomFit, true),
+- new ToggleActionEntry ("ViewToolbar", null, Catalog.GetString ("Toolbar"), null, null, OnViewToolbar, Client.Configuration.ShowToolbar),
+- new ToggleActionEntry ("ViewBookmarks", null, Catalog.GetString ("Bookmarks"), "F9", null, OnViewBookmarks, Client.Configuration.ShowBookmarks),
++ new ToggleActionEntry ("ViewToolbar", null, Catalog.GetString ("Toolbar"), null, null, OnViewToolbar, true),
++ new ToggleActionEntry ("ViewBookmarks", null, Catalog.GetString ("Bookmarks"), "F9", null, OnViewBookmarks, false),
+ new ToggleActionEntry ("FullScreenView", null, Catalog.GetString ("Fullscreen"), "F11", null, OnFullScreenView, false)
+ );
+
+@@ -230,12 +230,6 @@ namespace PdfMod.Gui
+ chooser.SelectMultiple = true;
+ chooser.AddButton (Stock.Open, ResponseType.Ok);
+
+- if (app.Document != null) {
+- chooser.SetCurrentFolder (System.IO.Path.GetDirectoryName (app.Document.SuggestedSavePath));
+- } else {
+- chooser.SetCurrentFolder (Client.Configuration.LastOpenFolder);
+- }
+-
+ var response = chooser.Run ();
+ var filenames = chooser.Filenames;
+ chooser.Destroy ();
+@@ -266,7 +260,6 @@ namespace PdfMod.Gui
+ chooser.DoOverwriteConfirmation = true;
+ chooser.CurrentName = System.IO.Path.GetFileName (app.Document.SuggestedSavePath);
+ chooser.AddButton (Stock.SaveAs, ResponseType.Ok);
+- chooser.SetCurrentFolder (System.IO.Path.GetDirectoryName (app.Document.SuggestedSavePath));
+
+ var response = chooser.Run ();
+ string filename = chooser.Filename;
+@@ -462,14 +455,12 @@ namespace PdfMod.Gui
+
+ void OnViewToolbar (object o, EventArgs args)
+ {
+- bool show = (this["ViewToolbar"] as ToggleAction).Active;
+- Client.Configuration.ShowToolbar = app.HeaderToolbar.Visible = show;
++ app.HeaderToolbar.Visible = (this["ViewToolbar"] as ToggleAction).Active;
+ }
+
+ void OnViewBookmarks (object o, EventArgs args)
+ {
+- bool show = (this["ViewBookmarks"] as ToggleAction).Active;
+- Client.Configuration.ShowBookmarks = app.BookmarkView.Visible = show;
++ app.BookmarkView.Visible = (this["ViewBookmarks"] as ToggleAction).Active;
+ if (app.BookmarkView.Visible) {
+ app.BookmarkView.GrabFocus ();
+ }
+diff --git a/src/PdfMod/Gui/BookmarkView.cs b/src/PdfMod/Gui/BookmarkView.cs
+index 00303cd..29f9d16 100644
+--- a/src/PdfMod/Gui/BookmarkView.cs
++++ b/src/PdfMod/Gui/BookmarkView.cs
+@@ -69,8 +69,6 @@ namespace PdfMod.Gui
+ model.Clear ();
+ AddOutlineCollection (document, document.Pdf.Outlines, TreeIter.Zero);
+ UpdateActions ();
+-
+- Visible = Client.Configuration.ShowBookmarks;
+ }
+
+ // Bookmark action handlers
+diff --git a/src/PdfMod/Gui/Client.cs b/src/PdfMod/Gui/Client.cs
+index d7a408b..a614dcb 100644
+--- a/src/PdfMod/Gui/Client.cs
++++ b/src/PdfMod/Gui/Client.cs
+@@ -125,8 +125,6 @@ namespace PdfMod.Gui
+ HeaderToolbar.ShowArrow = false;
+ HeaderToolbar.ToolbarStyle = ToolbarStyle.Icons;
+ HeaderToolbar.Tooltips = true;
+- HeaderToolbar.NoShowAll = true;
+- HeaderToolbar.Visible = Configuration.ShowToolbar;
+
+ // BookmarksView
+ BookmarkView = new BookmarkView (this);
+@@ -272,7 +270,6 @@ namespace PdfMod.Gui
+ path = System.IO.Path.GetFullPath (path);
+ }
+
+- Configuration.LastOpenFolder = System.IO.Path.GetDirectoryName (suggestedFilename ?? path);
+ status_label.Text = Catalog.GetString ("Loading document...");
+
+ ThreadAssist.SpawnFromMain (delegate {
Deleted: LICENSE-PDFsharp
===================================================================
--- LICENSE-PDFsharp 2018-09-02 18:26:07 UTC (rev 376075)
+++ LICENSE-PDFsharp 2018-09-02 18:26:14 UTC (rev 376076)
@@ -1,24 +0,0 @@
-PDFSharp is a MIT/X11 licensed project.
-
-Copyright (c) 2005-2012 empira Software GmbH, Cologne (Germany)
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
Copied: pdfmod/repos/community-any/LICENSE-PDFsharp (from rev 376075, pdfmod/trunk/LICENSE-PDFsharp)
===================================================================
--- LICENSE-PDFsharp (rev 0)
+++ LICENSE-PDFsharp 2018-09-02 18:26:14 UTC (rev 376076)
@@ -0,0 +1,24 @@
+PDFSharp is a MIT/X11 licensed project.
+
+Copyright (c) 2005-2012 empira Software GmbH, Cologne (Germany)
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-02 18:26:07 UTC (rev 376075)
+++ PKGBUILD 2018-09-02 18:26:14 UTC (rev 376076)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Claudio Riva <firetux83 at gmail.com>
-
-pkgname=pdfmod
-pkgver=0.9.1
-pkgrel=8
-pkgdesc="Simple application for modifying PDF written in C Sharp"
-arch=('any')
-url="https://wiki.gnome.org/Apps/PdfMod"
-license=('GPL' 'MIT')
-depends=('gconf-sharp' 'poppler-glib' 'desktop-file-utils')
-makedepends=('hyena' 'poppler-sharp' 'intltool' 'gnome-doc-utils' 'dos2unix')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
- pdfmod-mono-2.10.patch
- fix-build.patch
- LICENSE-PDFsharp)
-sha256sums=('eb7c987514a053106ddf03f26544766c751c801d87762909b36415d46bc425c9'
- 'f606f29f881f7171b43fed97aab58c1e1f5b78aa96e33d1c43e2526736651acd'
- 'd2ef10804b87ad843d0897cc784c95b6700583896fab95dd0646f5c79fdd0413'
- '5d2b6e1a9e5582f9c5d129f222ff01ca6ce3dfa4a5c1f5c41ba827fe0fbeb4bd')
-
-prepare() {
- cd $pkgname-$pkgver
-
- # Some files are distributed in DOS format
- find . -type f -exec dos2unix -q '{}' \;
-
- # https://bugzilla.gnome.org/show_bug.cgi?id=644516
- patch -Np1 -i "$srcdir/pdfmod-mono-2.10.patch"
-
- # Workaround for build error (FS#39501)
- patch -Np1 -i "$srcdir/fix-build.patch"
-
- # Fix build
- sed -i 's/gmcs/mcs/' configure{,.ac}
-}
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --disable-scrollkeeper
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir/" install
- install -Dm644 "$srcdir/LICENSE-PDFsharp" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-PDFsharp"
-}
Copied: pdfmod/repos/community-any/PKGBUILD (from rev 376075, pdfmod/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-09-02 18:26:14 UTC (rev 376076)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Claudio Riva <firetux83 at gmail.com>
+
+pkgname=pdfmod
+pkgver=0.9.1
+pkgrel=9
+pkgdesc="Simple application for modifying PDF written in C Sharp"
+arch=('any')
+url="https://wiki.gnome.org/Apps/PdfMod"
+license=('GPL' 'MIT')
+depends=('gtk-sharp-2' 'poppler-glib')
+makedepends=('hyena' 'poppler-sharp' 'intltool' 'gnome-doc-utils' 'dos2unix')
+source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
+ pdfmod-mono-2.10.patch
+ fix-build.patch
+ Drop-gconf-dependency.patch
+ LICENSE-PDFsharp)
+sha256sums=('eb7c987514a053106ddf03f26544766c751c801d87762909b36415d46bc425c9'
+ 'f606f29f881f7171b43fed97aab58c1e1f5b78aa96e33d1c43e2526736651acd'
+ 'd2ef10804b87ad843d0897cc784c95b6700583896fab95dd0646f5c79fdd0413'
+ '6a235f93ce7321cbe2e7f20094ece0659fb4648602e84a4824a0fb527be90914'
+ '5d2b6e1a9e5582f9c5d129f222ff01ca6ce3dfa4a5c1f5c41ba827fe0fbeb4bd')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # Some files are distributed in DOS format
+ find . -type f -exec dos2unix -q '{}' \;
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=644516
+ patch -Np1 -i ../pdfmod-mono-2.10.patch
+
+ # Workaround for build error (FS#39501)
+ patch -Np1 -i ../fix-build.patch
+
+ # Remove deprecated GConf dependency
+ patch -Np1 -i ../Drop-gconf-dependency.patch
+
+ # Fix build
+ sed -i 's/gmcs/mcs/' configure{,.ac}
+ sed -i 's|pkglib_SCRIPTS|monolibdir = $(pkglibdir)/\nmonolib_DATA|' Makefile.include
+
+ autoreconf -fi
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-scrollkeeper
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir/" install
+ install -Dm644 "$srcdir/LICENSE-PDFsharp" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-PDFsharp"
+}
Deleted: fix-build.patch
===================================================================
(Binary files differ)
Copied: pdfmod/repos/community-any/fix-build.patch (from rev 376075, pdfmod/trunk/fix-build.patch)
===================================================================
(Binary files differ)
Deleted: pdfmod-mono-2.10.patch
===================================================================
--- pdfmod-mono-2.10.patch 2018-09-02 18:26:07 UTC (rev 376075)
+++ pdfmod-mono-2.10.patch 2018-09-02 18:26:14 UTC (rev 376076)
@@ -1,25 +0,0 @@
-From a29cfe7f8f31ce003fa3e307d54d86a2a8e8cf19 Mon Sep 17 00:00:00 2001
-From: Nuno Araujo <nuno.araujo at russo79.com>
-Date: Mon, 21 Mar 2011 04:10:52 +0000
-Subject: Fix compilation under Mono 2.10 (bgo#644516)
-
-Force use of the overloaded implicit operator of Hyena.Gui.DragDropList
-to solve mono 2.10 compilation problems.
-
-Signed-off-by: Alexander Kojevnikov <alexander at kojevnikov.com>
----
-diff --git a/src/PdfMod/Gui/DocumentIconView.cs b/src/PdfMod/Gui/DocumentIconView.cs
-index 5796c72..386d662 100644
---- a/src/PdfMod/Gui/DocumentIconView.cs
-+++ b/src/PdfMod/Gui/DocumentIconView.cs
-@@ -319,7 +319,7 @@ namespace PdfMod.Gui
- 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 ();
---
-cgit v0.9.0.2
Copied: pdfmod/repos/community-any/pdfmod-mono-2.10.patch (from rev 376075, pdfmod/trunk/pdfmod-mono-2.10.patch)
===================================================================
--- pdfmod-mono-2.10.patch (rev 0)
+++ pdfmod-mono-2.10.patch 2018-09-02 18:26:14 UTC (rev 376076)
@@ -0,0 +1,25 @@
+From a29cfe7f8f31ce003fa3e307d54d86a2a8e8cf19 Mon Sep 17 00:00:00 2001
+From: Nuno Araujo <nuno.araujo at russo79.com>
+Date: Mon, 21 Mar 2011 04:10:52 +0000
+Subject: Fix compilation under Mono 2.10 (bgo#644516)
+
+Force use of the overloaded implicit operator of Hyena.Gui.DragDropList
+to solve mono 2.10 compilation problems.
+
+Signed-off-by: Alexander Kojevnikov <alexander at kojevnikov.com>
+---
+diff --git a/src/PdfMod/Gui/DocumentIconView.cs b/src/PdfMod/Gui/DocumentIconView.cs
+index 5796c72..386d662 100644
+--- a/src/PdfMod/Gui/DocumentIconView.cs
++++ b/src/PdfMod/Gui/DocumentIconView.cs
+@@ -319,7 +319,7 @@ namespace PdfMod.Gui
+ 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 ();
+--
+cgit v0.9.0.2
More information about the arch-commits
mailing list