1. 09 Nov, 2001 1 commit
  2. 06 Nov, 2001 2 commits
    • Darin Adler's avatar
      Lots of files. Another GtkObject -> GObject pass. · 52b329b1
      Darin Adler authored
      	* Lots of files.
      	Another GtkObject -> GObject pass.
      52b329b1
    • Michael Meeks's avatar
      upd. bind to zoomable. · 41572cfe
      Michael Meeks authored
      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.
      41572cfe
  3. 04 Nov, 2001 1 commit
  4. 28 Oct, 2001 1 commit
  5. 15 Aug, 2001 1 commit
  6. 20 Apr, 2001 1 commit
    • Ramiro Estrugo's avatar
      Make all standard components call the eel function to stop in the debugger · e1a79e2f
      Ramiro Estrugo authored
      	* components/hardware/main.c: (main):
      	* components/help/hyperbola-main.c: (main):
      	* components/history/nautilus-history-view.c: (main):
      	* components/image-viewer/nautilus-image-view.c: (main):
      	* components/music/main.c: (main):
      	* components/notes/Makefile.am:
      	* components/notes/nautilus-notes.c: (main):
      	* components/text/main.c: (main):
      	* components/throbber/main.c: (main):
      	Make all standard components call the eel function to stop in the
      	debugger after warnings and criticals.  This also makes then spew
      	nicer messages that include the process id and program name.
      e1a79e2f
  7. 03 Apr, 2001 1 commit
    • Darin Adler's avatar
      Make file operations progress dialog always stay up for at least 1 · 58b097ec
      Darin Adler authored
      	second total so it doesn't just appear and disappear.
      
      	Preparing for a fix to the nautilus-adapter process leaking when
      	Nautilus is terminated by Ctrl-C, I cleaned up some of the code
      	inside the adapter.
      
      	Improved the warning you get when neither /etc/mnttab nor
      	/proc/mounts can be opened.
      
      	Fix bug 6888 (when I view a large image, it appears first at 100%,
      	then zoomed to fit).
      
      	Re-added part of the code to make components go away when the main
      	program that is hosting them goes away. The X-window-based
      	solution is not working as well as I had hoped, so I'm re-adding
      	the 20-second-timeout-based solution.
      
      	* components/adapter/nautilus-adapter-embed-strategy.c:
      	(nautilus_adapter_embed_strategy_initialize_class),
      	(nautilus_adapter_embed_strategy_get),
      	(nautilus_adapter_embed_strategy_emit_open_location): Change the
      	strategy new functions to use more-normal reference rules. The
      	caller no longer expects them to "use up" a reference.
      
      	* components/adapter/nautilus-adapter-control-embed-strategy.c:
      	(nautilus_adapter_control_embed_strategy_destroy),
      	(nautilus_adapter_control_embed_strategy_new): Don't keep a
      	reference to the BonoboControl around after creating the frame.
      
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	(nautilus_adapter_embeddable_embed_strategy_destroy),
      	(nautilus_adapter_embeddable_embed_strategy_new): Don't keep a
      	reference to the BonoboEmeddable around after creating the frame.
      
      	* components/image-viewer/nautilus-image-view.c: (redraw_control),
      	(scrolled_window_size_allocate_callback),
      	(control_factory_common), (init_bonobo_image_generic_factory):
      	Some name changes, and a fix so that we don't show the image first
      	at 100%, and then shrink to fit. The downside is that this might
      	be too hard-coded to the current behavior of Nautilus, but it's
      	better than flashing every time you open an image.
      
      	* components/services/trilobite/utils/.cvsignore: Ignore some
      	files in this new directory.
      
      	* libnautilus-extensions/nautilus-file-operations-progress.h:
      	* libnautilus-extensions/nautilus-file-operations-progress.c:
      	(nautilus_file_operations_progress_update), (close_callback),
      	(nautilus_file_operations_progress_destroy), (map_callback),
      	(delete_event_callback),
      	(nautilus_file_operations_progress_initialize),
      	(nautilus_file_operations_progress_initialize_class),
      	(nautilus_file_operations_progress_new),
      	(nautilus_file_operations_progress_set_total),
      	(nautilus_file_operations_progress_set_operation_string),
      	(nautilus_file_operations_progress_new_file),
      	(nautilus_file_operations_progress_clear),
      	(nautilus_file_operations_progress_update_sizes),
      	(delayed_close_callback), (nautilus_file_operations_progress_done):
      	Did a lot of code cleanups throughout the file, and added a new
      	call nautilus_file_operations_progress_done. Use this instead of
      	gtk_object_destroy so that the window can linger long enough for
      	the user to see it, if a copy was really fast.
      
      	* libnautilus-extensions/nautilus-file-operations.c:
      	(transfer_info_destroy), (parent_for_error_dialog),
      	(create_transfer_dialog), (handle_transfer_ok),
      	(handle_transfer_vfs_error): Change to use the new
      	nautilus_file_operations_progress_done call instead of
      	gtk_object_destroy when done with the progress dialog.
      
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(nautilus_icon_container_update_scroll_region): Fix indentation.
      
      	* libnautilus-extensions/nautilus-volume-monitor.c:
      	(get_current_mount_list): Replace cryptic g_return_if_fail message
      	with better-worded g_warning.
      
      	* libnautilus/nautilus-view.c: (set_frame_callback),
      	(widget_destroyed_callback),
      	(nautilus_view_construct_from_bonobo_control): Re-added code to
      	monitor the lifetime of the frame and self-destruct when the frame
      	goes away. The X-window-based solution wasn't working 100%, and
      	this solution does.
      
      	* src/nautilus-sidebar.c: (toggle_sidebar_panel),
      	(sidebar_for_each_sidebar_panel): Change object data key to use a
      	prefix that includes the word "nautilus". Tweak code that builds
      	the menu so that it always includes any panel that's displayed,
      	even if the user level says it shouldn't be there.
      58b097ec
  8. 23 Feb, 2001 1 commit
    • Ramiro Estrugo's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · f81ce3eb
      Ramiro Estrugo authored
      	* components/image-viewer/nautilus-image-view.c: (main):
      	* components/music/main.c: (create_function), (main):
      	* components/text/main.c: (create_function), (main):
      	Fix bug 6922 - Make sure components setup gettext bindings.  These
      	3 components had localized strings in them but did not setup
      	gettext.
      f81ce3eb
  9. 17 Feb, 2001 1 commit
    • Andy Hertzfeld's avatar
      fixed a bunch of problems in the image view, including making the initial · 107192d0
      Andy Hertzfeld authored
      
      	* components/image-viewer/nautilus-image-view.c:
      	(zoomable_zoom_to_fit_callback), (rezoom_control),
      	(control_size_allocate_callback), (image_fits_in_container),
      	(scrolled_window_size_allocate_callback),
      	(scrollable_control_factory):
      	fixed a bunch of problems in the image view, including making
      	the initial shrink-to-fit feature work again, made unneccessary
      	scroll bars go away by using GTK_POLICY_AUTOMATIC, improved the
      	scaling to Arlo's taste by using GDK_INTERP_BILINEAR, and tweaked
      	the scale factors, plus other clean-ups.
      
      	* src/nautilus-zoom-control.c: (create_zoom_menu_item):
      	fixed bug 6288, bogus zoom levels displayed in zoom control, by making
      	the rounding algorithm used in the menu consistent with the one
      	used in the control.
      107192d0
  10. 02 Feb, 2001 1 commit
    • Maciej Stachowiak's avatar
      reviewed by: Darin Adler <darin@eazel.com> and · 2fa1795d
      Maciej Stachowiak authored
      	             Robey Pointer  <robey@eazel.com>
      
      	Fix bugs 5528 (oaf command-line options show up in main program
      	section, not a separate section) and 5510 (descriptions of
      	OAF-specific options in --help are not translated). To do this I
      	had to change the way the oaf popt options are processed in all
      	the places that do so.
      
      	* components/adapter/main.c: (main):
      	* components/hardware/main.c: (main):
      	* components/help/hyperbola-main.c: (main):
      	* components/image-viewer/Nautilus_View_image.oaf.in:
      	* components/image-viewer/nautilus-image-view.c:
      	(init_server_factory):
      	* components/loser/content/main.c: (main):
      	* components/loser/sidebar/main.c: (main):
      	* components/mozilla/main.c: (main):
      	* components/music/main.c: (main):
      	* components/notes/nautilus-notes.c: (main):
      	* components/rpmview/main.c: (main):
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c: (main):
      	* components/services/install/nautilus-view/main.c: (main):
      	* components/services/login/nautilus-view/main.c: (main):
      	* components/services/summary/nautilus-view/main.c: (main):
      	* components/services/time/command-line/main.c: (main):
      	* components/services/time/nautilus-view/main.c: (main):
      	* components/services/trilobite/libtrilobite/trilobite-core-utils.c
      	: (trilobite_init):
      	* components/shell/shell.c:
      	* components/text/Nautilus_View_text.oaf.in:
      	* components/text/main.c: (main):
      	* components/throbber/main.c: (main):
      	* components/tree/main.c: (main):
      	* libnautilus/nautilus-view-standard-main.c:
      	(nautilus_view_standard_main_multi):
      	* src/Nautilus_shell.oaf.in:
      	* src/nautilus-main.c: (main):
      	* test/test-nautilus-mime-actions-set.c: (main):
      	* test/test-nautilus-mime-actions.c: (main): Register oaf options
      	with gnomelib_register_popt_options and move oaf_init call to
      	before gnome_init to fix the aforementioned bugs.
      2fa1795d
  11. 27 Jan, 2001 1 commit
    • Seth Nickell's avatar
      Holy piss sprinkled on this by Arik <arik@eazel.com> · b535c341
      Seth Nickell authored
      Fri Jan 26 23:58:42 2001  George Lebl <jirka@5z.com>
      
      	Holy piss sprinkled on this by Arik <arik@eazel.com>
      
      	* components/adapter/main.c (main)
      	  components/help/hyperbola-main.c (main)
      	  components/image-viewer/nautilus-image-view.c (init_server_factory)
      	  components/mozilla/main.c (main)
      	  components/music/main.c (main)
      	  components/notes/nautilus-notes.c (main)
      	  components/services/install/nautilus-view/main.c (main)
      	  components/services/inventory/main.c (main)
      	  components/services/login/nautilus-view/main.c (main)
      	  components/services/summary/nautilus-view/main.c (main)
      	  components/shell/shell.c (init_bonobo)
      	  components/text/main.c (main)
      	  components/throbber/main.c (main)
      	  components/tree/main.c (main)
      	  libnautilus/nautilus-view-standard-main.c
      	  (nautilus_view_standard_main_multi):
      	  Add gnome_client_disable_master_connection call to all out of
      	  process component main functions since they should not register
      	  with the session manager.  Fixes bug #6051
      
      2001-01-26  Seth Nickell  <seth@eazel.com>
      b535c341
  12. 25 Jan, 2001 2 commits
    • Jiri (George) Lebl's avatar
      Maciej (mjs@eazel.com) approved this, so blame him if this makes hair grow · 714a3185
      Jiri (George) Lebl authored
      Wed Jan 24 21:21:52 2001  George Lebl <jirka@5z.com>
      
      	Maciej (mjs@eazel.com) approved this, so blame him if this makes
      	hair grow on the palms of your hands or gives your dog headaches
      
      	* components/adapter/nautilus-adapter-control-embed-strategy.c
      	  (nautilus_adapter_control_embed_strategy_new): Unref the zoomable
      	  interface after a query interface.  Fixes bug #5966
      
      	* components/image-viewer/nautilus-image-view.c
      	  (control_destroy_callback): take out the FIXME.
      714a3185
    • Gene Z. Ragan's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · bf3ddeda
      Gene Z. Ragan authored
      2001-01-24  Gene Z. Ragan  <gzr@eazel.com>
      
      	reviewed by: Pavel Cisler <pavel@eazel.com>
      
      	Fixed bug 5710, Images no longer snap to size after hitting Refresh
      
      	* components/image-viewer/nautilus-image-view.c: (redraw_control),
      	(load_image_from_stream), (scrolled_window_size_allocate_callback):
      	Restore the previous zoom setting when reloading a file from a stream.
      
      	Fixed a logic flaw dealing with renaming NautilusLinks.  The icon view
      	had duplicated some logic that was present in NautilusFile.  There were
      	slight differences in the logic that lead to some confusion in determing
      	if a link could be renamed.
      
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_can_rename):
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_update_menus):
      bf3ddeda
  13. 24 Jan, 2001 1 commit
    • Mike Engber's avatar
      reviewed by: George Lebl · 1cb47ed0
      Mike Engber authored
      
      	reviewed by: George Lebl
      
      	* components/image-viewer/nautilus-image-view.c:
      	(control_destroy_callback), (control_factory_common):
      	image-view was using freed (widget) memory.
      1cb47ed0
  14. 23 Jan, 2001 1 commit
    • Maciej Stachowiak's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · 3e3deab1
      Maciej Stachowiak authored
      	Fixed bug 5943 (Throbber crashes on nautilus startup (crashing
      	Nautilus) with some themes and configurations)
      
      	* components/help/hyperbola-main.c: (main):
      	* components/image-viewer/nautilus-image-view.c:
      	(init_server_factory):
      	* components/mozilla/main.c: (main):
      	* components/music/main.c: (main):
      	* components/notes/nautilus-notes.c: (main):
      	* components/services/install/nautilus-view/main.c: (main):
      	* components/services/login/nautilus-view/main.c: (main):
      	* components/services/summary/nautilus-view/main.c: (main):
      	* components/shell/shell.c:
      	* components/text/main.c: (main):
      	* components/throbber/main.c: (main):
      	* components/tree/main.c: (main):
      	* libnautilus/nautilus-view-standard-main.c:
      	(nautilus_view_standard_main_multi):
      	* nautilus-installer/src/main.c: (main):
      	* src/nautilus-main.c: (main): Added gdk_rgb_init calls. The
      	throbber one was causing a real 100% reproducible crash for me on
      	Nautilus startup, the rest are pre-emptive.
      3e3deab1
  15. 03 Jan, 2001 1 commit
  16. 19 Dec, 2000 1 commit
    • Andy Hertzfeld's avatar
      implemented initial "zoom-to-fit" if an image is bigger than the · 2b0d6335
      Andy Hertzfeld authored
      
      	* components/image-viewer/nautilus-image-view.c:
      	(zoomable_zoom_to_fit_callback), (image_bigger_than_viewer),
      	(scrolled_window_size_allocate_callback), (control_factory_common),
      	(scrollable_control_factory):
      	implemented initial "zoom-to-fit" if an image is bigger than the
      	displayable area, as requested by Mike Boich.
      2b0d6335
  17. 15 Dec, 2000 1 commit
  18. 01 Dec, 2000 1 commit
  19. 16 Nov, 2000 1 commit
    • Martin Baulig's avatar
      reviewed by: Darin Adler <darin@eazel.com> reviewed by: Maciej Stachowiak · 00c39630
      Martin Baulig authored
      2000-10-22  Martin Baulig  <baulig@suse.de>
      
      	reviewed by: Darin Adler  <darin@eazel.com>
      	reviewed by: Maciej Stachowiak  <mjs@eazel.com>
      
      	Use the new Bonobo::Zoomable interface instead of Nautilus::Zoomable.
      
      	* libnautilus/nautilus-zoomable.[ch]: Removed.
      	* src/nautilus-zoomable-frame-corba.c: Removed.
      
      	* libnautilus/nautilus-view-component.idl
      	(ZoomLevels, ZoomLevelList, Zoomable, ZoomableFrame): Removed.
      
      	* src/nautilus-view-frame-private.h
      	(impl_Nautilus_ZoomableFrame_vepv, impl_Nautilus_ZoomableFrame__create):
      	Removed external declarations.
      
      	* src/nautilus-view-frame.h: include <bonobo/bonobo-zoomable-frame.h>.
      	(NautilusViewFrame): Removed the `zoomable' field and changed the
      	type of the `zoomable_frame' field from BonoboObject into
      	BonoboZoomableFrame.
      	(NautilusViewFrameClass): Added `zoom_parameters_changed' signal.
      
      	* src/nautilus-view-frame.c (nautilus_view_frame_destroy_client):
      	Don't release `view->zoomable' and set `view->history_frame' and
      	`view->zoomable_frame' to NULL, not to CORBA_OBJECT_NIL.
      	(nautilus_view_frame_initialize_class): Added ZOOM_PARAMETERS_CHANGED
      	signal.
      	(zoom_level_changed_callback): New static callback function; this emits
      	the ZOOM_LEVEL_CHANGED signal on the NautilusViewFrame.
      	(zoom_parameters_changed_callback): New static callback function; this
      	emits the ZOOM_PARAMETERS_CHANGED signal on the NautilusViewFrame.
      	(nautilus_view_frame_set_to_component): QI the adapted component for
      	"IDL:Bonobo/Zoomable:1.0" and - if it was found - create the
      	BonoboZoomableFrame, bind it to the BonoboZoomable and connect the
      	"zoom_level_changed" and the "zoom_parameters_changed" signals.
      	(nautilus_view_frame_is_zoomable): Return `view->zoomable_frame != NULL'.
      	(nautilus_view_frame_get_zoom_level): Check whether view->zoomable_frame
      	is not NULL and call bonobo_zoomable_frame_get_zoom_level().
      	(nautilus_view_frame_set_zoom_level): Check whether view->zoomable_frame
      	is not NULL and call bonobo_zoomable_frame_set_zoom_level().
      	(nautilus_view_frame_get_min_zoom_level): Check whether
      	view->zoomable_frame is not NULL and call
      	bonobo_zoomable_frame_get_min_zoom_level().
      	(nautilus_view_frame_get_max_zoom_level): Check whether
      	view->zoomable_frame is not NULL and call
      	bonobo_zoomable_frame_get_max_zoom_level().
      	(nautilus_view_frame_get_has_min_zoom_level): New function.
      	Check whether view->zoomable_frame is not NULL and call
      	bonobo_zoomable_frame_has_min_zoom_level().
      	(nautilus_view_frame_get_has_max_zoom_level): New function.
      	Check whether view->zoomable_frame is not NULL and call
      	bonobo_zoomable_frame_has_max_zoom_level().
      	(nautilus_view_frame_get_is_continuous): New function.
      	Check whether view->zoomable_frame is not NULL and call
      	bonobo_zoomable_frame_is_continuous().
      	(nautilus_view_frame_get_preferred_zoom_levels): If
      	view->zoomable_frame is NULL, return NULL. Otherwise
      	bonobo_zoomable_frame_get_preferred_zoom_levels() returns GList *
      	of floats which we can just return.
      	(nautilus_view_frame_zoom_in): If view->zoomable_frame is not NULL,
      	call bonobo_zoomable_frame_zoom_in().
      	(nautilus_view_frame_zoom_out): If view->zoomable_frame is not NULL,
      	call bonobo_zoomable_frame_zoom_out().
      	(nautilus_view_frame_zoom_to_fit):  If view->zoomable_frame is not
      	NULL, call bonobo_zoomable_frame_zoom_out().
      	(nautilus_view_frame_zoom_level_changed): Removed.
      
      	* src/nautilus-zoom-control.c (NautilusZoomControlDetails): Added
      	`has_min_zoom_level' and `has_max_zoom_level'.
      	(draw_zoom_control_image): Call nautilus_zoom_control_can_zoom_in/out()
      	to find out whether we can zoom.
      	(zoom_menu_callback): Likewise.
      	(nautilus_zoom_control_button_press_event): Likewise.
      	(create_zoom_menu_item): Changed the type of the `zoom_level' argument
      	from double to float.
      	(nautilus_zoom_control_set_min_zoom_level): Removed.
      	(nautilus_zoom_control_set_max_zoom_level): Removed.
      	(nautilus_zoom_control_set_preferred_zoom_levels): Removed.
      	(nautilus_zoom_control_set_parameters): New function.
      	(nautilus_zoom_control_has_min_zoom_level): New function.
      	(nautilus_zoom_control_has_max_zoom_level): New function.
      	(nautilus_zoom_control_can_zoom_in): New function.
      	(nautilus_zoom_control_can_zoom_out): New function.
      
      	* src/file-manager/fm-directory-view.c: #include
      	<bonobo/bonobo-zoomable.h> instead of
      	<libnautilus/libnautilus-zoomable.h>.
      	(FMDirectoryViewDetails): Changed the type of `zoomable' to
      	BonoboZoomable.
      	(fm_directory_view_preferred_zoom_levels): Made this an array of float,
      	not double.
      	(fm_directory_view_initialize): Create a new BonoboZoomable object here.
      	(zoomable_zoom_in_callback): The first argument is now a BonoboZoomable.
      	(zoomable_zoom_out_callback): The first argument is now a BonoboZoomable.
      	(nautilus_zoom_level_from_double): Renamed into
      	nautilus_zoom_level_from_float().
      	(zoomable_set_zoom_level_callback): The first argument is now a
      	BonoboZoomable and the second one a float.
      	(zoomable_zoom_to_fit_callback): The first argument is now a
      	BonoboZoomable.
      	(fm_directory_view_set_zoom_level): Call
      	bonobo_zoomable_report_zoom_level_changed()
      	instead of using nautilus_zoomable_set_zoom_level().
      
      	* src/nautilus-window-manage-views.c:
      	(zoom_level_changed_callback): Don't call
      	nautilus_zoom_control_set_min_zoom_level(),
      	nautilus_zoom_control_set_max_zoom_level() and
      	nautilus_zoom_control_set_preferred_zoom_levels() here.
      	Use nautilus_zoom_control_can_zoom_in/out() to find out whether we
      	can zoom in the calls to nautilus_bonobo_set_sensitive().
      	, (zoom_parameters_changed_callback): New callback function.
      	Call nautilus_zoom_control_set_parameters() and - if the zoom_level
      	is not 0.0 - zoom_level_changed_callback().
      
      	* components/adapter/nautilus-zoomable-proxy.[ch]: New files.
      
      	* components/adapter/Makefile.am (nautilus_adapter_SOURCES):
      	Added nautilus-zoomable-proxy.c and nautilus-zoomable-proxy.h.
      
      	* components/adapter/nautilus-adapter-embed-strategy.c
      	(NautilusAdapterEmbedStrategyClass): Added new virtual signal
      	`get_zoomable' which must be overridden.
      	(nautilus_adapter_embed_strategy_initialize_class): Assign it here.
      	(nautilus_adapter_embed_strategy_get_zoomable): New static function;
      	call the virtual `get_zoomable' in the derived class.
      
      	* components/adapter/nautilus-adapter-control-embed-strategy.c:
      	(nautilus_adapter_control_embed_strategy_initialize_class):
      	Assign nautilus_adapter_control_embed_strategy_get_zoomable() as
      	handler of the `get_zoomable' signal.
      	(nautilus_adapter_control_embed_strategy_new): QI the Control for
      	"IDL:Bonobo/Zoomable:1.0" and pass it to nautilus_zoomable_proxy_get()
      	if found and store the return value in strategy->details->zoomable.
      	(nautilus_adapter_control_embed_strategy_get_zoomable): New static
      	function; return strategy->details->zoomable which is set in
      	nautilus_adapter_control_embed_strategy_new().
      
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	(nautilus_adapter_embeddable_embed_strategy_initialize_class):
      	Assign nautilus_adapter_embeddable_embed_strategy_get_zoomable() as
      	handler of the `get_zoomable' signal.
      	(nautilus_adapter_embeddable_embed_strategy_new): QI the View for
      	"IDL:Bonobo/Zoomable:1.0" and pass it to nautilus_zoomable_proxy_get()
      	if found and store the return value in strategy->details->zoomable.
      	(nautilus_adapter_embeddable_embed_strategy_get_zoomable): New static
      	function; return strategy->details->zoomable which is set in
      	nautilus_adapter_embeddable_embed_strategy_new().
      
      	* components/adapter/nautilus-adapter.c: (nautilus_adapter_new):
      	Call nautilus_adapter_embed_strategy_get_zoomable(embed_strategy) and
      	bonobo_add_interface() it to the control if found.
      
      	* components/image-viewer/nautilus-image-view.c: Rewrote the Nautilus
      	image viewer to be a BonoboControl, to add zoomable support to it and
      	to merge back everything from bonobo-image-generic into it.
      00c39630
  20. 24 Oct, 2000 1 commit
    • Gene Z. Ragan's avatar
      Fixed bug 1945, Image viewer component does not display XPMs Fixed bug · a66e2b6a
      Gene Z. Ragan authored
      2000-10-23  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug 1945, Image viewer component does not display XPMs
      	Fixed bug 1964, doesn't load xpm images using the loader framework.
      
      	* components/image-viewer/nautilus-image-view.c:
      	(load_image_from_stream):
      	Fixed some leaks and call close on the loader to fix TIFF and XPM loading.
      
      	* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
      	(nautilus_gdk_pixbuf_load):
      	Now it does. Loader must be closed to cause callbacks an non-progressive
      	loaders to complete.
      
      	* components/services/install/lib/eazel-install-types.c:
      	(packagedata_fill_from_rpm_header):
      	Fixed a couple of build breaking unitilaized variable warnings.
      
      	* components/tree/nautilus-tree-view.c:
      	Updated function call to new prototype that was causing build to fail.
      a66e2b6a
  21. 20 Oct, 2000 1 commit
    • Gene Z. Ragan's avatar
      Fixed bug 2948, list view does not prelight under cursor when dragging · aac4f46c
      Gene Z. Ragan authored
      2000-10-20  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug 2948, list view does not prelight under cursor when
      	dragging files.
      
      	* libnautilus-extensions/nautilus-list.c:
      	* libnautilus-extensions/nautilus-list.h:
      	(nautilus_list_initialize), (draw_cell_pixmap), (draw_cell),
      	(nautilus_list_prelight_if_necessary),
      
      	(nautilus_list_set_drag_prelight_row):
      	New function to set drag prelight row based on mouse position.
      
      	* src/file-manager/fm-list-view.c: (fm_list_handle_dragged_items):
      
      	* components/image-viewer/nautilus-image-view.c:
      	(view_size_allocate_cb):
      	Removed some old debug code.
      aac4f46c
  22. 28 Sep, 2000 1 commit
    • Darin Adler's avatar
      Bonobo objects own themselves, so we should not do a ref/sink on them. · b1943a3c
      Darin Adler authored
      	* libnautilus-extensions/nautilus-undo-context.c:
      	(nautilus_undo_context_new): Bonobo objects own themselves, so we
      	should not do a ref/sink on them.
      	* libnautilus-extensions/nautilus-undo-manager.c:
      	(nautilus_undo_manager_new): Bonobo objects own themselves, so we
      	should not do a ref/sink on them.
      	* src/nautilus-application.c: (nautilus_application_initialize):
      	Move global preferences initialization to main with other
      	initialize calls.
      	(nautilus_application_new): Bonobo objects own themselves, so we
      	should not do a ref/sink on them.
      	(nautilus_application_destroy): Unref the undo manager to fix a
      	leak.
      	* src/nautilus-main.c: (main): Move global preferences
      	initialization to main with other initialize calls.
      
      	* nautilus.spec.in: Added "-k" to build commands so we get more
      	information about what failed when failing to build via
      	RPM. Failures are still failures, we just see more of what's
      	failing.
      
      	* components/help/converters/gnome-db2html2/sect-elements.c:
      	(sect_entry_end_element):
      	* components/help/converters/gnome-db2html2/toc-elements.c:
      	(toc_title_start_element):
      	* components/image-viewer/nautilus-image-view.c:
      	(init_server_factory):
      	* components/rpmview/nautilus-rpm-view-install.c:
      	(nautilus_rpm_view_install_package_callback),
      	(nautilus_rpm_view_uninstall_package_callback):
      	* components/services/install/command-line/eazel-alt-install-corba.
      	c: (main):
      	* components/services/install/command-line/eazel-alt-install.c:
      	(main):
      	* components/services/install/command-line/eazel-install.c:
      	(generate_new_package_list), (fetch_remote_package_list), (main):
      	* components/services/install/command-line/eazel-package-query.c:
      	(main):
      	* components/services/install/command-line/eazel-revert.c: (main):
      	* components/services/install/command-line/eazel-uninstall.c:
      	(main):
      	* components/services/install/lib/eazel-install-object.c:
      	(eazel_install_fetch_remote_package_list):
      	* components/services/install/lib/eazel-install-protocols.c:
      	(eazel_install_fetch_file), (eazel_install_fetch_package):
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	(install_new_packages), (eazel_install_download_packages),
      	(uninstall_packages), (eazel_install_start_transaction),
      	(eazel_install_add_to_rpm_set),
      	(eazel_install_check_if_related_package):
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l-view.c: (nautilus_service_install_preflight_check):
      	* components/services/install/nautilus-view/nautilus-service-instal
      	l.c: (nautilus_service_install_view_install_package_callback),
      	(nautilus_service_install_view_uninstall_package_callback):
      	* components/services/install/server/main.c: (main):
      	* components/services/summary/nautilus-view/nautilus-summary-view.c
      	: (generate_startup_form), (generate_summary_form),
      	(generate_service_entry_row):
      	* components/services/time/command-line/main.c: (main):
      	* components/services/time/service/main.c: (main):
      	* components/services/trilobite/libtrilobite/trilobite-core-utils.c
      	: (trilobite_init):
      	* components/services/trilobite/libtrilobite/trilobite-root-client.
      	c: (trilobite_root_client_initialize):
      	* components/services/trilobite/libtrilobite/trilobite-service-pass
      	wordquery.c: (trilobite_passwordquery_initialize):
      	* components/services/trilobite/libtrilobite/trilobite-service.c:
      	(trilobite_service_initialize):
      	* components/services/trilobite/sample/command-line/main.c: (main):
      	* components/services/trilobite/sample/service/main.c: (main):
      	* components/shell/shell.c:
      	* components/tree/nautilus-tree-model.c:
      	(nautilus_tree_model_monitor_add),
      	(nautilus_tree_model_root_node_file_monitor):
      	* components/tree/nautilus-tree-view.c:
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(get_filter_options_for_directory_count):
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_uri_is_local_scheme), (nautilus_handle_trailing_slashes):
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	(drag_data_received_callback):
      	* libnautilus-extensions/nautilus-icon-text-item.c: (iti_event):
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_ensure_drag_data), (nautilus_list_get_drop_action),
      	(nautilus_list_drag_data_received):
      	* libnautilus-extensions/nautilus-scalable-font.c:
      	(initialize_global_stuff_if_needed):
      	* libnautilus-extensions/nautilus-undo-signal-handlers.c:
      	(editable_register_edit_undo):
      	* src/file-manager/fm-icon-view.c:
      	(context_menu_layout_radio_item_callback):
      	* src/file-manager/nautilus-indexing-info.c:
      	(update_progress_display):
      	* src/nautilus-switchable-search-bar.c:
      	(nautilus_switchable_search_bar_set_mode):
      	Got rid of all uses of == TRUE and != TRUE, since they are dangerous.
      	Got rid of all uses of == FALSE and != FALSE, since they lead to use
      	of == TRUE and != TRUE.
      b1943a3c
  23. 23 Sep, 2000 1 commit
    • Maciej Stachowiak's avatar
      Register all the below components per display. I didn't make · dd548718
      Maciej Stachowiak authored
      	nautilus per-display yet (to avoid dealing with the locking
      	issues, etc). I also did not change the services components that
      	appear to be non-gui to operate per-display.
      
      	I believe this fixes bugs 3033 and 2237.
      
      	* components/adapter/main.c: (main):
      	* components/hardware/main.c: (main):
      	* components/help/hyperbola-main.c: (main):
      	* components/history/nautilus-history-view.c: (main):
      	* components/html/ntl-web-browser.c: (main):
      	* components/image-viewer/nautilus-image-view.c:
      	(init_bonobo_image_generic_factory):
      	* components/loser/content/main.c: (main):
      	* components/loser/sidebar/main.c: (main):
      	* components/mozilla/main.c: (main):
      	* components/music/main.c: (main):
      	* components/notes/nautilus-notes.c: (main):
      	* components/rpmview/main.c: (main):
      	* components/sample/main.c: (main):
      	* components/services/install/nautilus-view/main.c: (main):
      	* components/services/inventory/nautilus-view/main.c: (main):
      	* components/services/login/nautilus-view/main.c: (main):
      	* components/services/summary/nautilus-view/main.c: (main):
      	* components/services/time/nautilus-view/main.c: (main):
      	* components/services/trilobite/sample/service/main.c: (main):
      	* components/shell/shell.c: (shell_factory_init):
      	* components/tree/main.c: (main):
      	* components/websearch/ntl-web-search.c: (main): Register each of
      	these per-display.
      dd548718
  24. 21 Sep, 2000 1 commit
    • Gene Z. Ragan's avatar
      Fixed bug 2090, Sidebar panel shrinks when back from text or image view to · 1e2203eb
      Gene Z. Ragan authored
      2000-09-21  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug 2090, Sidebar panel shrinks when back from text
      	or image view to directory view.
      
      	* src/nautilus-sidebar.c: (make_button_box),
      	(nautilus_sidebar_update_buttons):
      	Fixed logic where button centering was being shown
      	at the wrong time, messing up spacing of sidebar panels.
      
      	* components/image-viewer/nautilus-image-view.c: (redraw_view),
      	(configure_size), (view_factory_common):
      	Fixed cases where image data might be NULL.
      1e2203eb
  25. 16 Sep, 2000 1 commit
    • Gene Z. Ragan's avatar
      Fixed bug 2194, no scrollbars in image view Fixed bug 2215, image viewer · e0cfc6e2
      Gene Z. Ragan authored
      2000-09-15  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug 2194, no scrollbars in image view
      	Fixed bug 2215, image viewer needs to erase background
      	when loading image.
      
      	I fixed these bugs by writing a new image component.  Is this bad?
      	I don't know.  What is bad is the current state of the EOG bonobo
      	component.  I don't think it is worth our time to fix it right now.
      	This component will also support the zoomable interface when
      	Maciej finishes the work there. It is doubtful the EOG bonobo
      	component would have a Nautilus specific dependency.
      
      	* components/Makefile.am:
      	* components/image-viewer/.cvsignore:
      	* components/image-viewer/Makefile.am:
      	* components/image-viewer/io-png.c: (png_write_data_fn),
      	(png_flush_fn), (image_save):
      	* components/image-viewer/io-png.h:
      	* components/image-viewer/nautilus-image-view.c:
      	(release_pixbuf_cb), (release_pixbuf), (bod_destroy_cb),
      	(get_pixbuf), (render_pixbuf), (redraw_view), (configure_size),
      	(resize_all_cb), (view_update), (save_image_to_stream),
      	(load_image_from_stream), (destroy_view),
      	(zoomable_zoom_in_callback), (zoomable_zoom_out_callback),
      	(zoomable_set_zoom_level_callback),
      	(zoomable_zoom_to_fit_callback), (drawing_area_exposed),
      	(view_size_allocate_cb), (scrolled_view_size_allocate_cb),
      	(view_factory_common), (scaled_view_factory),
      	(scrollable_view_factory), (bonobo_object_factory),
      	(init_bonobo_image_generic_factory), (init_server_factory), (main):
      	* components/image-viewer/nautilus-image-view.oafinfo:
      	* configure.in:
      
      	New files and functions.
      e0cfc6e2