diff options
Diffstat (limited to 'main/gnome-disk-utility/exp2.patch')
-rw-r--r-- | main/gnome-disk-utility/exp2.patch | 16 |
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 000000000..449980362 --- /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); + } + + |