+2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
+
+ * shell/ev-metadata-manager.c: (parse_value):
+ * shell/ev-view.c: (goto_xyz_link):
+
+ Correct zoom setup and metadata save broken in
+ some locales.
+
2005-12-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-view-private.h:
dbus_g_object_type_install_info (EV_TYPE_APPLICATION,
&dbus_glib_ev_application_object_info);
#endif
-#ifdef ENABLE_COMICS
- GtkFileFilter *comics_filter;
-#endif
dbus_g_connection_register_g_object (connection,
"/org/gnome/evince/Evince",
g_value_set_int (ret, atoi ((char *)value));
break;
case G_TYPE_DOUBLE:
- g_value_set_double (ret, atof ((char *)value));
+ g_value_set_double (ret, g_ascii_strtod ((char *)value, NULL));
break;
case G_TYPE_BOOLEAN:
g_value_set_boolean (ret, atoi ((char *)value));
page = ev_link_get_page (link);
ev_page_cache_get_size (view->page_cache, page, 0, 1.0, NULL, &height);
- ev_view_set_sizing_mode (view, EV_SIZING_FREE);
if (zoom != 0) {
+ ev_view_set_sizing_mode (view, EV_SIZING_FREE);
ev_view_set_zoom (view, zoom, FALSE);
}