summaryrefslogtreecommitdiff
path: root/src/nautilus-properties-window.c
diff options
context:
space:
mode:
authorCarlos Soriano <carlos.sorian89@gmail.com>2015-01-16 15:01:11 +0100
committerCarlos Soriano <csoriano@gnome.org>2015-01-24 02:06:02 +0100
commit1968379a2e2dc7e601a0379856c05da5ed04d01d (patch)
treef3a7df3ffdd8842e7842ee9c80bbf1f28054adf4 /src/nautilus-properties-window.c
parent2712afbaae42631e67669b38b2bd9d54e9f8fdab (diff)
downloadnautilus-1968379a2e2dc7e601a0379856c05da5ed04d01d.tar.gz
nautilus-icon-info: rework zoom levels
Following a design request and preparing to the port to popovers of nautilus, we want to use only 3 zoom levels for each kind of view, so the slider makes sense. Also, following design guidelines, the new zoom levels sizes for icon view are 64, 96, 128, with default to 96 and 16, 32, 48 for list view, 32 being the default
Diffstat (limited to 'src/nautilus-properties-window.c')
-rw-r--r--src/nautilus-properties-window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index 1412bcfd8..4ad4d8b4d 100644
--- a/src/nautilus-properties-window.c
+++ b/src/nautilus-properties-window.c
@@ -366,11 +366,11 @@ get_image_for_properties_window (NautilusPropertiesWindow *window,
file = NAUTILUS_FILE (l->data);
if (!icon) {
- icon = nautilus_file_get_icon (file, NAUTILUS_ICON_SIZE_STANDARD, icon_scale,
+ icon = nautilus_file_get_icon (file, NAUTILUS_CANVAS_ICON_SIZE_SMALL, icon_scale,
NAUTILUS_FILE_ICON_FLAGS_USE_THUMBNAILS |
NAUTILUS_FILE_ICON_FLAGS_IGNORE_VISITING);
} else {
- new_icon = nautilus_file_get_icon (file, NAUTILUS_ICON_SIZE_STANDARD, icon_scale,
+ new_icon = nautilus_file_get_icon (file, NAUTILUS_CANVAS_ICON_SIZE_SMALL, icon_scale,
NAUTILUS_FILE_ICON_FLAGS_USE_THUMBNAILS |
NAUTILUS_FILE_ICON_FLAGS_IGNORE_VISITING);
if (!new_icon || new_icon != icon) {
@@ -385,7 +385,7 @@ get_image_for_properties_window (NautilusPropertiesWindow *window,
if (!icon) {
icon = nautilus_icon_info_lookup_from_name ("text-x-generic",
- NAUTILUS_ICON_SIZE_STANDARD,
+ NAUTILUS_CANVAS_ICON_SIZE_STANDARD,
icon_scale);
}
@@ -394,7 +394,7 @@ get_image_for_properties_window (NautilusPropertiesWindow *window,
}
if (icon_pixbuf != NULL) {
- *icon_pixbuf = nautilus_icon_info_get_pixbuf_at_size (icon, NAUTILUS_ICON_SIZE_STANDARD);
+ *icon_pixbuf = nautilus_icon_info_get_pixbuf_at_size (icon, NAUTILUS_CANVAS_ICON_SIZE_SMALL);
}
g_object_unref (icon);