summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChidambar Zinnoury <chidambar.zinnoury@zefla.fr>2016-07-04 22:42:12 +0200
committerChidambar Zinnoury <chidambar.zinnoury@zefla.fr>2016-07-04 22:42:12 +0200
commitf2bb08ba121efb27ede3a943de237331d727af1e (patch)
tree16d79dbfac16f08fa3f7fb09b28417fe803f7b9c
parent886efbfc292cc067aa9268c28559b60d8afa6b83 (diff)
elementary config: Use SI units.
-rw-r--r--src/bin/elementary/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/elementary/config.c b/src/bin/elementary/config.c
index 6c95cffe6a..31e0529975 100644
--- a/src/bin/elementary/config.c
+++ b/src/bin/elementary/config.c
@@ -4080,7 +4080,7 @@ _status_config_caches(Evas_Object *win,
4080 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, 0.0); 4080 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, 0.0);
4081 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5); 4081 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5);
4082 elm_slider_span_size_set(sl, 120); 4082 elm_slider_span_size_set(sl, 120);
4083 elm_slider_unit_format_set(sl, "%1.1f MB"); 4083 elm_slider_unit_format_set(sl, "%1.1f MiB");
4084 elm_slider_indicator_format_set(sl, "%1.1f"); 4084 elm_slider_indicator_format_set(sl, "%1.1f");
4085 elm_slider_min_max_set(sl, 0.0, 4.0); 4085 elm_slider_min_max_set(sl, 0.0, 4.0);
4086 elm_slider_value_set(sl, (double)elm_config_cache_font_cache_size_get() / 1024.0); 4086 elm_slider_value_set(sl, (double)elm_config_cache_font_cache_size_get() / 1024.0);
@@ -4104,7 +4104,7 @@ _status_config_caches(Evas_Object *win,
4104 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, 0.0); 4104 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, 0.0);
4105 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5); 4105 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5);
4106 elm_slider_span_size_set(sl, 120); 4106 elm_slider_span_size_set(sl, 120);
4107 elm_slider_unit_format_set(sl, "%1.0f MB"); 4107 elm_slider_unit_format_set(sl, "%1.0f MiB");
4108 elm_slider_indicator_format_set(sl, "%1.0f"); 4108 elm_slider_indicator_format_set(sl, "%1.0f");
4109 elm_slider_min_max_set(sl, 0, 32); 4109 elm_slider_min_max_set(sl, 0, 32);
4110 elm_slider_value_set(sl, (double)elm_config_cache_image_cache_size_get() / 1024.0); 4110 elm_slider_value_set(sl, (double)elm_config_cache_image_cache_size_get() / 1024.0);