aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-disk-utility/exp2.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-12 14:15:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-12 14:20:13 +0000
commit1412412db33b81d994c94efb7ac8bb892cd4fe2e (patch)
tree92b6d941de37331dcdefcc339da6abb829b540a2 /main/gnome-disk-utility/exp2.patch
parent553d41ec2ec5275790e98ddc324904cdb8d93c25 (diff)
downloadaports-1412412db33b81d994c94efb7ac8bb892cd4fe2e.tar.bz2
aports-1412412db33b81d994c94efb7ac8bb892cd4fe2e.tar.xz
main/gnome-disk-utility: moved from testing
Diffstat (limited to 'main/gnome-disk-utility/exp2.patch')
-rw-r--r--main/gnome-disk-utility/exp2.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/main/gnome-disk-utility/exp2.patch b/main/gnome-disk-utility/exp2.patch
new file mode 100644
index 0000000000..4499803628
--- /dev/null
+++ b/main/gnome-disk-utility/exp2.patch
@@ -0,0 +1,16 @@
+--- ./src/gdu-gtk/gdu-size-widget.c.orig
++++ ./src/gdu-gtk/gdu-size-widget.c
+@@ -564,11 +564,11 @@
+
+ shown_extent = extent / unit_factor;
+
+- increment = (exp10 (floor (log10 (shown_extent))) / 10.0) * unit_factor;
++ increment = (exp2 (floor (log2 (shown_extent))) / 2.0) * unit_factor;
+
+ gtk_range_set_increments (GTK_RANGE (widget->priv->hscale),
+ increment,
+- increment * 10.0);
++ increment * 2.0);
+ }
+
+