1. 04 Jan, 2002 5 commits
    • Dave Camp's avatar
      Renamed from nautilus_get_modified_bonobo_zoomable_epv and changed to · ae4d6027
      Dave Camp authored
      2002-01-04  Dave Camp  <dave@ximian.com>
      
      	* components/adapter/nautilus-zoomable-proxy.c
      	(nautilus_zoomable_prozy_init_epv): Renamed from
      	nautilus_get_modified_bonobo_zoomable_epv and changed to
      	initialize a passed in epv rather than allocating a new one.
      	(nautilus_zoomable_proxy_destroy):
      	(nautilus_zoomable_proxy_finalize):
      	(nautilus_zoomable_proxy_class_init):
      	(nautilus_zoomable_proxy_get):
      	(nautilus_zoomable_proxy_get_type): Derive from BonoboObject rather
      	than BonoboZoomable, as this object fully implements the Zoomable
      	interface.
      
      	* components/adapter/nautilus-adapter.c (nautilus_adapter_new):
      	Replaced gtk_signal_connect_object with g_signal_connect_swapped,
      	cast callbacks to G_CALLBACK, and use a weak reference rather than
      	a "destroy" handler.
      	(nautilus_adapter_activate_callback): Pass NULL as the opt_ev
      	parameter to bonobo_control_get_remote_ui_container().
      
      	* components/adapter/nautilus-adapter-stream-load-strategy.c
      	(nautilus_adapter_stream_load_strategy_load_location): The
      	bonobo-stream-vfs code was moved to the VFS moniker in gnome-vfs,
      	so use it here.
      
      	* components/adapter/nautilus-adapter-load-strategy.c
      	(nautilus_adapter_load_strategy_class_init): replaced
      	eel_marshal_VOID__DOUBLE with g_cclosure_marshal_VOID__DOUBLE.
      	(nautilus_adapter_load_strategy_get): Disabled the progressive
      	data sink code using GNOME2_CONVERSION_COMPLETE.
      
      	* components/adapter/nautilus-adapter-factory-server.c (nautilus_adapter_factory_server_class_init):
      	(nautilus_adapter_factory_server_init):
      	(nautilus_adapter_factory_server_finalize):
      	(adapter_object_destroyed):
      	(impl_Nautilus_ComponentAdapterFactory_create_adapter):
      	(nautilus_adapter_factory_server_get_type): Changed to the new
      	style of deriving from BonoboObject.
      	(impl_Nautilus_ComponentAdapterFactory_create_adapter): Use a weak
      	reference to the adapter view rather than connecting to "destroy".
      
      	* components/adapter/nautilus-adapter-embed-strategy.c (nautilus_adapter_embed_strategy_class_init): Fixed the argument type lists for the
      	activate and open_location signals.
      	(nautilus_adapter_embed_strategy_get): Disable use of the embeddable
      	embed strategy using GNOME2_CONVERSION_COMPLETE.
      
      	* components/adapter/nautilus-adapter-control-embed-strategy.c
      	(nautilus_adapter_control_embed_strategy_new): Pass NULL for the
      	opt_ev parameter of bonobo_control_frame_bind_to_control().
      
      	* components/adapter/main.c (main): Replaced initialization
      	functions with bonobo_ui_init, and put an #ifdef
      	GNOME2_CONVERSION_COMPLETE around
      	gnome_client_disable_master_connect().
      	(adapter_factory_make_object): Use a weak reference rather than a
      	destroy signal handler.
      	(adapter_factory_object_weak_notify): Moved here from
      	adapter_factory_object_destroy, use bonobo_main_quit() rather than
      	gtk_main_quit().
      
      	* components/adapter/Makefile.am: Removed
      	nautilus-adapter-progressive-load-strategy.[ch], and moved
      	nautilus-adapter-embeddable-embed-strategy.[ch] out of the build,
      	removed bonobo-stream-vfs.[ch] replaced
      	NAUTILUS_PRIVATE_CFLAGS/LIBS with COMPONENT_CFLAGS/LIBS.
      
      	* src/nautilus-component-adapter-factory.c: Removed
      	no-longer-necessary #if GNOME2_CONVERSION_COMPLETE lines.
      	(activate_factory): Replaced BonoboObjectClient code with a call to
      	bonobo_get_object().
      ae4d6027
    • Frédéric Crozat's avatar
      Add esound cflags to CORE_CFLAGS, Call GNOME_COMMON_INIT to correctly · 4ef5d92e
      Frédéric Crozat authored
      * configure.in: Add esound cflags to CORE_CFLAGS,
        Call GNOME_COMMON_INIT to correctly initialize
        AC_LOCAL flags
      4ef5d92e
    • Anders Carlsson's avatar
      Update to matched changed return value from nautilus_program_chooser_new · 995efcdf
      Anders Carlsson authored
      2002-01-04  Anders Carlsson  <andersca@gnu.org>
      
      	* libnautilus-private/nautilus-program-choosing.c:
      	Update to matched changed return value from
      	nautilus_program_chooser_new ().
      
      	* libnautilus-private/nautilus-program-chooser.h:
      	* libnautilus-private/nautilus-program-chooser.c:
      	Port to GtkTreeView, and make NautilusProgramChooser
      	into a real object.
      
      	* components/Makefile.am: Re-enable the music
      	view.
      
      	* components/music/nautilus-music-view.c: Port to
      	GtkTreeView and GNOME2.
      995efcdf
    • Andy Hertzfeld's avatar
      made remote sound previewing work by using gnome-vfs to read from the · eaca3673
      Andy Hertzfeld authored
      
      	* src/file-manager/fm-icon-view.c: (play_file), (preview_audio),
      	made remote sound previewing work by using gnome-vfs to read from
      	the remote source and feeding the data to the sound player via popen.
      
      	* (should_preview_sound):
      	removed code that disabled remote sound previewing even if the
      	preference was set
      eaca3673
    • Darin Adler's avatar
      Remove some smooth-font related stuff to get rid of the dependency on · ad4d0191
      Darin Adler authored
      	* libnautilus-private/nautilus-global-preferences.c:
      	(nautilus_global_preferences_init):
      	Remove some smooth-font related stuff to get rid of the
      	dependency on EelFontManager.
      
      	* TODO: Quick update.
      ad4d0191
  2. 03 Jan, 2002 10 commits
    • Darin Adler's avatar
      Don't use the eel_eat function. · 1cb7f70f
      Darin Adler authored
      	* test/test.c: (test_text_caption_get_text_as_int):
      	Don't use the eel_eat function.
      1cb7f70f
    • Darin Adler's avatar
      Turn on test subdirectory. · 3eec4d53
      Darin Adler authored
      	* Makefile.am: Turn on test subdirectory.
      	* test/test.c: (test_init), (test_label_new):
      	* test/test.h:
      	Build without using EelLabel.
      
      	* src/nautilus-sidebar-title.c: Remove unused header include.
      3eec4d53
    • Darin Adler's avatar
      Updated. · baa64012
      Darin Adler authored
      	* TODO: Updated.
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(create_label_layout): Use eel_pango_layout_set_underline.
      
      	* components/music/nautilus-music-view.c:
      	Don't include EelList.
      baa64012
    • Darin Adler's avatar
      Use GnomeCanvasRect instead of EelCanvasRect. We can redo the · 33a7797c
      Darin Adler authored
      	* libnautilus-private/nautilus-icon-container.c:
      	(start_rubberbanding):
      	Use GnomeCanvasRect instead of EelCanvasRect. We can redo the
      	EelCanvasRect optimization if we want to, but it should really
      	be put into libgnomecanvas.
      
      	* components/music/common.c:
      	* components/music/nautilus-music-view.c:
      	* libnautilus-private/nautilus-customization-data.c:
      	* libnautilus-private/nautilus-desktop-file-loader.c:
      	* libnautilus-private/nautilus-directory-async.c:
      	* libnautilus-private/nautilus-directory.c:
      	* libnautilus-private/nautilus-file.c:
      	* src/file-manager/fm-desktop-icon-view.c:
      	* src/file-manager/fm-icon-view.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-sidebar-title.c:
      	* src/nautilus-window.c:
      	Remove lots of unneeded includes, including all cases of
      	including the locale-sensitive <ctype.h>.
      33a7797c
    • Darin Adler's avatar
      Remove some help sidebar panel remnants. · 3ae61117
      Darin Adler authored
      	* libnautilus-private/nautilus-global-preferences.c:
      	(nautilus_global_preferences_init):
      	* libnautilus-private/nautilus-sidebar-functions.c:
      	(sidebar_panel_make_preference_key):
      	* libnautilus-private/nautilus-sidebar-functions.h:
      	Remove some help sidebar panel remnants.
      3ae61117
    • Michael Meeks's avatar
      fix build. · 6b5cf550
      Michael Meeks authored
      6b5cf550
    • John Fleck's avatar
      //bugzilla.gnome.org/show_bug.cgi?id=47433 · dff43991
      John Fleck authored
      
      2002-01-03  John Fleck <jfleck@inkstain.net>
      
      	* help/nautilus-quick-reference/C/index.html
      	removing duplicate width tags, fixing
      	http://bugzilla.gnome.org/show_bug.cgi?id=47433
      dff43991
    • Darin Adler's avatar
      Explicitly depend on librsvg instead of getting it through eel. · 277c0261
      Darin Adler authored
      	* configure.in:
      	Explicitly depend on librsvg instead of getting it through eel.
      277c0261
    • Anders Carlsson's avatar
      Fix warnings by putting #ifdef GNOME2_CONVERSION_COMPLETE around unused · 3aaa9809
      Anders Carlsson authored
      2002-01-03  Anders Carlsson  <andersca@gnu.org>
      
      	* src/nautilus-component-adapter-factory.c: Fix warnings by
      	putting #ifdef GNOME2_CONVERSION_COMPLETE around unused functions
      	and variables.
      3aaa9809
    • Darin Adler's avatar
      Port from EelLabel to GtkLabel. · fa2a9d00
      Darin Adler authored
      	* components/hardware/nautilus-hardware-view.c:
      	(update_uptime_text), (setup_overview_form):
      	* components/music/nautilus-music-view.c:
      	* src/file-manager/nautilus-indexing-info.c:
      	(update_progress_display):
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_init), (labeled_image_configure),
      	(labeled_image_new), (make_category),
      	(property_browser_category_button_new),
      	(nautilus_property_browser_update_contents):
      	* test/test.h:
      	* src/nautilus-shell.c:
      	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init):
      	Port from EelLabel to GtkLabel.
      
      	* components/news/nautilus-news.c: (do_destroy),
      	(draw_rss_logo_image), (draw_rss_title), (draw_rss_items),
      	(nautilus_news_set_title), (free_channel),
      	(empty_message_size_allocate), (set_up_main_widgets),
      	(make_news_view):
      	* libnautilus-private/nautilus-icon-private.h:
      	* src/nautilus-sidebar-tabs.c:
      	(nautilus_sidebar_tabs_load_theme_data),
      	(nautilus_sidebar_tabs_init), (nautilus_sidebar_tabs_destroy),
      	(draw_one_tab_plain), (draw_one_tab_themed), (get_tab_width),
      	(nautilus_sidebar_tabs_add_view):
      	Port to Pango text instead of Eel text.
      
      	* libnautilus-private/nautilus-customization-data.c:
      	(add_reset_text):
      	* libnautilus-private/nautilus-icon-factory.c:
      	(embedded_text_font_changed_callback), (embed_text):
      	* src/nautilus-about.c: (draw_aa_string), (draw_author_list),
      	(nautilus_about_draw_info), (nautilus_about_update_authors):
      	Disable Eel text and ifdef with GNOME2_CONVERSION_COMPLETE.
      
      	* libnautilus-private/nautilus-global-preferences.h:
      	* libnautilus-private/nautilus-global-preferences.c:
      	Turn off font-related preferences. Maybe delete later or
      	convert for Pango fonts.
      
      	* libnautilus-private/nautilus-icon-canvas-item.h:
      	* libnautilus-private/nautilus-icon-container.h:
      	Remove eel-scalable-font.h includes.
      
      	* src/nautilus-component-adapter-factory.c:
      	(nautilus_component_adapter_factory_create_adapter):
      	Disable the adapter because it was causing problems.
      fa2a9d00
  3. 02 Jan, 2002 2 commits
  4. 26 Dec, 2001 1 commit
  5. 21 Dec, 2001 2 commits
    • Yuri Syrota's avatar
      Updated Ukrainian Translation · c9f75eb2
      Yuri Syrota authored
      c9f75eb2
    • Michael Meeks's avatar
      fix strcmp style for Darin. · b14ecf32
      Michael Meeks authored
      2001-12-18  Michael Meeks  <michael@ximian.com>
      
      	* components/hardware/nautilus-hardware-view.c
      	(setup_overview_form): fix strcmp style for Darin.
      
      	* components/music/fileinfo.c (find_genre_id),
      	(file_info_http): ditto.
      
      	* libnautilus-private/nautilus-customization-data.c
      	(nautilus_customization_data_get_next_element_for_display),
      	(nautilus_customization_data_new): ditto.
      
      	* src/nautilus-property-browser.c
      	(nautilus_property_browser_drag_data_get),
      	(make_category_link, make_drag_image): ditto.
      
      	* libnautilus-private/nautilus-volume-monitor.c
      	(option_list_has_option): ditto.
      
      2001-12-17  Michael Meeks  <michael@ximian.com>
      
      	* src/file-manager/fm-directory-view.c
      	(fm_directory_view_init): set mask.
      
      	* src/nautilus-view-frame.c
      	(create_corba_objects): set ambient property bag.
      	(create_ambient_properties),
      	(nautilus_view_frame_get_prop): impl.
      	(nautilus_view_frame_title_changed),
      	(nautilus_view_frame_selection_changed),
      	(send_history): re-implement to fire event instead.
      
      	* components/history/nautilus-history-view.c
      	(nautilus_history_view_instance_init): set mask.
      	(history_changed_callback, update_history): constify.
      
      	* libnautilus/nautilus-view.c
      	(impl_Nautilus_View_title_changed),
      	(impl_Nautilus_View_history_changed): kill.
      	(impl_Nautilus_View_selection_changed): kill.
      	(nautilus_view_construct_from_bonobo_control):
      	connect to set_frame.
      	(nautilus_view_set_frame_callback): impl.
      	(nautilus_view_dispose): impl. to unset the frame
      	(nautilus_view_class_init): upd signals, epv & hook
      	dispose.
      	(nautilus_view_frame_property_changed_callback): impl.
      	(nautilus_view_get_ambient_properties): impl.
      	(nautilus_view_set_listener_mask): impl.
      
      	* libnautilus/nautilus-view-component.idl: remove
      	title_changed and history_changed - use a propert
      	and the more flexible listener interface.
      b14ecf32
  6. 19 Dec, 2001 1 commit
  7. 18 Dec, 2001 1 commit
    • Darin Adler's avatar
      Do text drawing with Pango for the anti-aliased case. Remove all use of · 0e61a2dc
      Darin Adler authored
      	* libnautilus-private/nautilus-icon-canvas-item.h:
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_init),
      	(nautilus_icon_canvas_item_finalize),
      	(nautilus_icon_canvas_item_invalidate_label_size),
      	(nautilus_icon_canvas_item_set_arg),
      	(nautilus_icon_canvas_item_get_arg), (draw_or_measure_label_text),
      	(measure_label_text), (create_label_layout), (get_label_layout),
      	(draw_label_layout), (draw_or_measure_label_text_aa),
      	(draw_label_text_aa), (nautilus_icon_canvas_item_class_init):
      	Do text drawing with Pango for the anti-aliased case. Remove all
      	use of the non-Pango Eel anti-aliased text drawing code.
      
      	* libnautilus-private/nautilus-icon-container.h:
      	* libnautilus-private/nautilus-icon-container.c: (finalize),
      	(nautilus_icon_container_init),
      	(nautilus_icon_container_update_icon),
      	(nautilus_icon_container_set_label_font_for_zoom_level):
      	* src/file-manager/fm-icon-view.c: (create_icon_container),
      	(fm_icon_view_init):
      	Remove the smooth-font stuff. We're going to use a single font
      	once we change everything to use Pango.
      
      	* icons/Makefile.am: Remove help-system icons.
      	* icons/hyperbola-*: Remove help-system icons.
      0e61a2dc
  8. 17 Dec, 2001 1 commit
  9. 16 Dec, 2001 1 commit
  10. 15 Dec, 2001 1 commit
  11. 14 Dec, 2001 3 commits
  12. 13 Dec, 2001 1 commit
    • Darin Adler's avatar
      Deleted help component as it is not slated to be part of Gnome 2. · 22ac93ef
      Darin Adler authored
      	* components/Makefile.am:
      	* components/help/*:
      	* nautilus.spec.in:
      	Deleted help component as it is not slated to be part of Gnome 2.
      
      	* RENAMING: No need to rename hyperbola if it's gone.
      
      	* configure.in: Removed ScrollKeeper check. Took a cut at making
      	the medusa check use pkg-config, it's probably messed up but at
      	least we won't define HAVE_MEDUSA if we see the Gnome 1 medusa.
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_init),
      	(nautilus_icon_canvas_item_finalize),
      	(nautilus_icon_canvas_item_set_arg),
      	(nautilus_icon_canvas_item_get_arg),
      	(draw_or_measure_label_text_aa), (draw_label_text_aa),
      	(nautilus_icon_canvas_item_class_init):
      	Quick cut at porting to Pango from Eel font code. It's all under
      	ifdef USE_EEL_TEXT because it's not working well yet. At the moment
      	the text looks bad, and it's very slow, and it's not centered.
      
      	* libnautilus-private/nautilus-icon-factory.c: (embed_text):
      	Baby steps at doing the port to Pango here too.
      
              * src/file-manager/fm-directory-view.c: (real_update_menus):
              Add a check for NULL that seems required. This change was
              suggested by the backtrace in bug 66809, but it's not clear
              if this really fixes anything. (Rolled from stable branch.)
      
      	* src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list):
      	Fix code that passed a path instead of a URI when creating a
              desktop file. (Rolled from stable branch.)
      
      	* TODO: Minor updates.
      22ac93ef
  13. 12 Dec, 2001 2 commits
    • Michael Meeks's avatar
      fix container ref leak. · 612ed122
      Michael Meeks authored
      2001-12-12  Michael Meeks  <michael@ximian.com>
      
      	* src/file-manager/fm-icon-view.c
      	(fm_icon_view_merge_menus): fix container ref leak.
      
      	* src/file-manager/fm-search-list-view.c
      	(real_merge_menus): ditto.
      
      	* src/file-manager/fm-desktop-icon-view.c
      	(fm_desktop_icon_view_destroy): more guards.
      	(real_merge_menus): fix container ref leak.
      612ed122
    • Michael Meeks's avatar
      protect vs. double destroy. · f9769d4c
      Michael Meeks authored
      2001-12-12  Michael Meeks  <michael@ximian.com>
      
      	* src/nautilus-window.c (nautilus_window_destroy):
      	protect vs. double destroy.
      
      	* src/nautilus-window-manage-views.c (disconnect_view):
      	start macro definitions on the first line.
      
      	* src/nautilus-sidebar.c (nautilus_sidebar_destroy):
      	protect vs. double destroy.
      
      	* src/nautilus-sidebar-tabs.c
      	(nautilus_sidebar_tabs_destroy): protect vs. double destroy
      	and theoretical re-enterancy hazard.
      
      	* src/nautilus-sidebar-title.c
      	(nautilus_sidebar_title_destroy): protect vs. double
      	destroys.
      
      	* src/nautilus-application.c (create_object): re-enable
      	list view.
      
      	* src/file-manager/fm-list-view.c: re-enable.
      f9769d4c
  14. 11 Dec, 2001 1 commit
    • Laszlo Peter's avatar
      s/__FUNCTION__/G_GNUC_FUNCTION/ · 57b74638
      Laszlo Peter authored
      2001-12-11  Laszlo Peter  <laca@ireland.sun.com>
      
              * libnautilus-private/nautilus-authn-manager.c:
              s/__FUNCTION__/G_GNUC_FUNCTION/
      
              * libnautilus-private/nautilus-directory-background.c: get rid of
              _gdk_display_name
      
              * libnautilus-private/nautilus-volume-monitor.c
              (nautilus_volume_get_device_type): remove "const" to match the
              prototype.
      57b74638
  15. 10 Dec, 2001 3 commits
  16. 09 Dec, 2001 1 commit
    • Darin Adler's avatar
      Do fix based on patch from Martin Wehner <mwehner@tfh-berlin.de> to · 0df7aba6
      Darin Adler authored
      	* libnautilus-private/nautilus-file-operations.c:
      	(handle_transfer_ok): Do fix based on patch from Martin Wehner
      	<mwehner@tfh-berlin.de> to prevent cancel of emptying trash or
      	deleting from core dumping.
      
      	* Makefile.am:
      	* configure.in:
      	* docs/.cvsignore:
      	* docs/Makefile.am:
      	Add files in the docs directory to tarball.
      
      	* libnautilus/nautilus-view-standard-main.c:
      	(nautilus_view_standard_main_multi): Whitespace tweak.
      0df7aba6
  17. 08 Dec, 2001 4 commits
    • Anders Carlsson's avatar
      Remove conflict markers · d58fa91a
      Anders Carlsson authored
      d58fa91a
    • Anders Carlsson's avatar
      Update for new bonobo property bag API. · 1ab16a8b
      Anders Carlsson authored
      2001-12-08  Anders Carlsson  <andersca@gnu.org>
      
      	* components/throbber/nautilus-throbber.c:
      	(nautilus_throbber_instance_init):
      	* src/nautilus-window.c: (nautilus_window_allow_stop):
      	Update for new bonobo property bag API.
      1ab16a8b
    • Michael Meeks's avatar
      unroll control creation, connect to "activate" signal handler not map / · 84204ad0
      Michael Meeks authored
      2001-12-08  Michael Meeks  <michael@ximian.com>
      
      	* components/tree/nautilus-tree-view.c
      	(nautilus_tree_view_init): unroll control creation,
      	connect to "activate" signal handler not map / unmap
      	on no-window widget GtkScrolledWindow.
      	(tree_map_callback, tree_unmap_callback): kill.
      	(tree_activate_callback): impl.
      
      	* components/tree/libmain.c
      	(BonoboActivation_Plugin_info) ->
      	(Bonobo_Plugin_info).
      
      	* components/tree/Makefile.am: setup ldflags
      	correctly, and a LIBADD so we can activate it
      	independantly.
      
      	* components/throbber/main.c (main): fix for
      	bonobo-activation-server race condition.
      
      	* libnautilus-private/nautilus-marshal.list:
      	add VOID:STRING,STRING
      84204ad0
    • Michael Meeks's avatar
      if we were already registered - due to a beautifuly inefficient activation · a0f24894
      Michael Meeks authored
      2001-12-06  Michael Meeks  <michael@ximian.com>
      
      	* libnautilus/nautilus-view-standard-main.c
      	(nautilus_view_standard_main_multi): if we were
      	already registered - due to a beautifuly inefficient
      	activation server race - just quit.
      a0f24894