diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-19 12:31:08 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-19 12:31:08 +0000 |
| commit | 489e86dea5684dcddeec609fe5c4e82fa254f0b2 (patch) | |
| tree | bdc47950f5a6e9d5e9b969207309faf6480b3993 /testing/gnome-disk-utility/exp2.patch | |
| parent | 0228b724aeb99b7997afd34cfe62fcdb4b8bb177 (diff) | |
| download | aports-489e86dea5684dcddeec609fe5c4e82fa254f0b2.tar.bz2 aports-489e86dea5684dcddeec609fe5c4e82fa254f0b2.tar.xz | |
testing/gnome-disk-utility: new aport
GNOME libraries and applications for dealing with storage devices
http://www.gnome.org
Diffstat (limited to 'testing/gnome-disk-utility/exp2.patch')
| -rw-r--r-- | testing/gnome-disk-utility/exp2.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/gnome-disk-utility/exp2.patch b/testing/gnome-disk-utility/exp2.patch new file mode 100644 index 000000000..449980362 --- /dev/null +++ b/testing/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); + } + + |
