Commit 1be2f583 authored by Christian Neumair's avatar Christian Neumair Committed by Christian Neumair

Slightly change zoom level algorithm to display "66%" instead of "67%".

2008-06-11  Christian Neumair  <cneumair@gnome.org>

	* src/nautilus-file-management-properties.glade:
	* src/nautilus-zoom-control.c (nautilus_zoom_control_redraw):
	Slightly change zoom level algorithm to display "66%" instead of
	"67%". This looks more consistent with the "33%" label for a .3 zoom
	level. Also change preferences dialog accordingly: rename "75%" to
	"66%", and "25%" to "33%". Fixes #485965.

svn path=/trunk/; revision=14256
parent 41a08e56
2008-06-11 Christian Neumair <cneumair@gnome.org>
* src/nautilus-file-management-properties.glade:
* src/nautilus-zoom-control.c (nautilus_zoom_control_redraw):
Slightly change zoom level algorithm to display "66%" instead of
"67%". This looks more consistent with the "33%" label for a .3 zoom
level. Also change preferences dialog accordingly: rename "75%" to
"66%", and "25%" to "33%". Fixes #485965.
2008-06-11 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-file.c (update_info_internal),
......
......@@ -382,9 +382,9 @@ By Emblems</property>
<child>
<widget class="GtkComboBox" id="icon_view_zoom_combobox">
<property name="visible">True</property>
<property name="items" translatable="yes">25%
<property name="items" translatable="yes">33%
50%
75%
66%
100%
150%
200%
......@@ -544,9 +544,9 @@ By Emblems</property>
<child>
<widget class="GtkComboBox" id="compact_view_zoom_combobox">
<property name="visible">True</property>
<property name="items" translatable="yes">25%
<property name="items" translatable="yes">33%
50%
75%
66%
100%
150%
200%
......@@ -687,9 +687,9 @@ By Emblems</property>
<child>
<widget class="GtkComboBox" id="list_view_zoom_combobox">
<property name="visible">True</property>
<property name="items" translatable="yes">25%
<property name="items" translatable="yes">33%
50%
75%
66%
100%
150%
200%
......
......@@ -370,7 +370,7 @@ nautilus_zoom_control_redraw (NautilusZoomControl *zoom_control)
gtk_widget_set_sensitive (zoom_control->details->zoom_out,
nautilus_zoom_control_can_zoom_out (zoom_control));
percent = floor ((100.0 * nautilus_get_relative_icon_size_for_zoom_level (zoom_control->details->zoom_level)) + .5);
percent = floor ((100.0 * nautilus_get_relative_icon_size_for_zoom_level (zoom_control->details->zoom_level)) + .2);
num_str = g_strdup_printf ("%d%%", percent);
gtk_label_set_text (GTK_LABEL (zoom_control->details->zoom_label), num_str);
g_free (num_str);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment