summaryrefslogtreecommitdiff
path: root/pcr/font-manager/2017.06.patch
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-21 11:54:49 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-21 11:54:49 +0100
commitdfcadab0ceae4d8144a6ea1968ad8e22d6035ed1 (patch)
tree5793e426ffc3ae28bb810d8e6b9fd2cbf9097a82 /pcr/font-manager/2017.06.patch
parent0f53aeb2acf73985536487bb3838262ba2779694 (diff)
downloadabslibre-dfcadab0ceae4d8144a6ea1968ad8e22d6035ed1.tar.gz
abslibre-dfcadab0ceae4d8144a6ea1968ad8e22d6035ed1.tar.bz2
abslibre-dfcadab0ceae4d8144a6ea1968ad8e22d6035ed1.zip
pcr/font-manager: updated to 0.7.3
Diffstat (limited to 'pcr/font-manager/2017.06.patch')
-rw-r--r--pcr/font-manager/2017.06.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/pcr/font-manager/2017.06.patch b/pcr/font-manager/2017.06.patch
new file mode 100644
index 000000000..15444aaa6
--- /dev/null
+++ b/pcr/font-manager/2017.06.patch
@@ -0,0 +1,44 @@
+--- lib/UX/Models/CollectionModel.vala 2017-06-29 16:17:28.997795458 +0800
++++ lib/UX/Models/CollectionModel.vala 2017-06-29 16:17:22.227415589 +0800
+@@ -104,7 +104,7 @@
+ return sorted;
+ }
+
+- void insert_children (Gee.ArrayList <Filter> groups, Gtk.TreeIter parent) {
++ void insert_children (Gee.ArrayList <Collection> groups, Gtk.TreeIter parent) {
+ var sorted = sort_groups(groups);
+ foreach(var child in sorted) {
+ Gtk.TreeIter _iter;
+--- src/font-manager/State.vala 2017-06-29 16:42:40.268868810 +0800
++++ src/font-manager/State.vala 2017-06-29 16:42:55.579554795 +0800
+@@ -25,8 +25,8 @@
+
+ public class State : Object {
+
+- internal static const int DEFAULT_WIDTH = 700;
+- internal static const int DEFAULT_HEIGHT = 480;
++ internal const int DEFAULT_WIDTH = 700;
++ internal const int DEFAULT_HEIGHT = 480;
+
+ public Settings? settings { get; set; default = null; }
+ public weak MainWindow? main_window { get; set; default = null; }
+--- src/font-manager/Compare.vala 2017-06-29 16:43:14.080385035 +0800
++++ src/font-manager/Compare.vala 2017-06-29 16:43:31.427831486 +0800
+@@ -280,9 +280,17 @@
+ * the iter was always being set to null after calling remove.
+ */
+ string iter_as_string = store.get_string_from_iter(iter);
++#if VALA_0_36
++ store.remove(ref iter);
++#else
+ store.remove(iter);
++#endif
+ store.get_iter_from_string(out iter, iter_as_string);
++#if VALA_0_36
++ bool still_valid = store.remove(ref iter);
++#else
+ bool still_valid = store.remove(iter);
++#endif
+ /* Set the cursor to a remaining row instead of having the cursor disappear.
+ * This allows for easy deletion of multiple previews by hitting the remove
+ * button repeatedly.