[nautilus/wip/gaction_] canvas-view-container: change icon captions logic
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/gaction_] canvas-view-container: change icon captions logic
- Date: Wed, 21 Jan 2015 18:46:26 +0000 (UTC)
commit 92b4605845a919636a0bcbbc5db30cead934b14e
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Jan 21 07:25:08 2015 -0800
canvas-view-container: change icon captions logic
We now can show one caption at small zoom, two at normal and three at
maximum zoom. The default is to show no captions.
src/nautilus-canvas-view-container.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-canvas-view-container.c b/src/nautilus-canvas-view-container.c
index fdee2ad..5c717f6 100644
--- a/src/nautilus-canvas-view-container.c
+++ b/src/nautilus-canvas-view-container.c
@@ -206,8 +206,8 @@ nautilus_canvas_view_container_get_icon_text_attribute_names (NautilusCanvasCont
int piece_count;
const int pieces_by_level[] = {
- 3, /* NAUTILUS_ZOOM_LEVEL_SMALL */
- 3, /* NAUTILUS_ZOOM_LEVEL_STANDARD */
+ 1, /* NAUTILUS_ZOOM_LEVEL_SMALL */
+ 2, /* NAUTILUS_ZOOM_LEVEL_STANDARD */
3, /* NAUTILUS_ZOOM_LEVEL_LARGE */
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]