Commit 41572cfe authored by Michael Meeks's avatar Michael Meeks Committed by Michael Meeks
Browse files

upd. bind to zoomable.

2001-11-06  Michael Meeks  <michael@ximian.com>

	* src/nautilus-view-frame.c
	(create_corba_objects): upd. bind to zoomable.

	* components/image-viewer/nautilus-image-view.c
	(zoomable_set_zoom_level_callback): upd. for bonobo.

	* src/file-manager/fm-directory-view.c
	(fm_directory_view_set_zoom_level): ditto.

	* components/text/nautilus-text-view.c
	(nautilus_text_view_zoom_to_level): ditto.
parent d625b657
2001-11-06 Michael Meeks <michael@ximian.com>
* src/nautilus-view-frame.c
(create_corba_objects): upd. bind to zoomable.
* components/image-viewer/nautilus-image-view.c
(zoomable_set_zoom_level_callback): upd. for bonobo.
* src/file-manager/fm-directory-view.c
(fm_directory_view_set_zoom_level): ditto.
* components/text/nautilus-text-view.c
(nautilus_text_view_zoom_to_level): ditto.
2001-11-06 Michael Meeks <michael@ximian.com>
* configure.in: update bonobo requirement to 1.106.0
......
......@@ -430,8 +430,8 @@ zoomable_set_zoom_level_callback (BonoboZoomable *zoomable, float new_zoom_level
control_update (bod);
bonobo_zoomable_report_zoom_level_changed (bod->zoomable,
new_zoom_level);
bonobo_zoomable_report_zoom_level_changed (
bod->zoomable, new_zoom_level, NULL);
}
static void
......
......@@ -808,8 +808,9 @@ nautilus_text_view_zoom_to_level (NautilusTextView *text_view, int zoom_index)
if (pinned_zoom_index != text_view->details->zoom_index) {
text_view->details->zoom_index = pinned_zoom_index;
bonobo_zoomable_report_zoom_level_changed (text_view->details->zoomable,
text_view_preferred_zoom_levels[pinned_zoom_index]);
bonobo_zoomable_report_zoom_level_changed (
text_view->details->zoomable,
text_view_preferred_zoom_levels[pinned_zoom_index], NULL);
nautilus_text_view_update_font (text_view);
}
}
......
......@@ -2492,7 +2492,8 @@ fm_directory_view_set_zoom_level (FMDirectoryView *view, int zoom_level)
new_zoom_level = (float) nautilus_get_icon_size_for_zoom_level (zoom_level)
/ NAUTILUS_ICON_SIZE_STANDARD;
bonobo_zoomable_report_zoom_level_changed (view->details->zoomable, new_zoom_level);
bonobo_zoomable_report_zoom_level_changed (
view->details->zoomable, new_zoom_level, NULL);
}
/**
......
......@@ -675,7 +675,8 @@ create_corba_objects (NautilusViewFrame *view)
&& !CORBA_Object_is_nil (zoomable, &ev)
&& ev._major == CORBA_NO_EXCEPTION) {
view->details->zoomable_frame = bonobo_zoomable_frame_new ();
bonobo_zoomable_frame_bind_to_zoomable (view->details->zoomable_frame, zoomable);
bonobo_zoomable_frame_bind_to_zoomable (
view->details->zoomable_frame, zoomable, NULL);
bonobo_object_release_unref (zoomable, NULL);
}
......
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