diff options
author | tnn <tnn@pkgsrc.org> | 2009-05-20 12:00:17 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2009-05-20 12:00:17 +0000 |
commit | 7ea734354fcf0e8a3f5b38ac538187a2377c439e (patch) | |
tree | 9ec6c244fa1a7c63215da05686b9f13953da9869 /graphics/inkscape/patches/patch-aj | |
parent | 10aaf042cf837c04cd6fcd0511a57ed7dd93d43f (diff) | |
download | pkgsrc-7ea734354fcf0e8a3f5b38ac538187a2377c439e.tar.gz |
patch-a[h-j]: cherry-pick a few revisions from the upcoming inkscape-0.47
to fix the bug where the colors slider doesn't move past value 245 when
using GTK>=2.14.0.
Also include desktopdb.mk as told by pkglint. Bump PKGREVISION.
Diffstat (limited to 'graphics/inkscape/patches/patch-aj')
-rw-r--r-- | graphics/inkscape/patches/patch-aj | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/inkscape/patches/patch-aj b/graphics/inkscape/patches/patch-aj new file mode 100644 index 00000000000..b5620e7db45 --- /dev/null +++ b/graphics/inkscape/patches/patch-aj @@ -0,0 +1,22 @@ +$NetBSD: patch-aj,v 1.1 2009/05/20 12:00:17 tnn Exp $ + +--- src/dialogs/stroke-style.cpp.orig 2008-03-11 05:19:51.000000000 +0100 ++++ src/dialogs/stroke-style.cpp +@@ -1098,7 +1098,7 @@ sp_stroke_style_line_widget_new(void) + // with it, the two remaining calls of stroke_average_width, allowing us to get rid of that + // function in desktop-style. + +- a = gtk_adjustment_new(1.0, 0.0, 1000.0, 0.1, 10.0, 10.0); ++ a = gtk_adjustment_new(1.0, 0.0, 1000.0, 0.1, 10.0, 0.0); + gtk_object_set_data(GTK_OBJECT(spw), "width", a); + sb = gtk_spin_button_new(GTK_ADJUSTMENT(a), 0.1, 3); + gtk_tooltips_set_tip(tt, sb, _("Stroke width"), NULL); +@@ -1167,7 +1167,7 @@ sp_stroke_style_line_widget_new(void) + + hb = spw_hbox(t, 3, 1, i); + +- a = gtk_adjustment_new(4.0, 0.0, 100.0, 0.1, 10.0, 10.0); ++ a = gtk_adjustment_new(4.0, 0.0, 100.0, 0.1, 10.0, 0.0); + gtk_object_set_data(GTK_OBJECT(spw), "miterlimit", a); + + sb = gtk_spin_button_new(GTK_ADJUSTMENT(a), 0.1, 2); |