1. 19 Feb, 2002 1 commit
    • Michael Meeks's avatar
      setup both the rgba and GdkColor variants. (update_label_color): upd. · b99fa350
      Michael Meeks authored
      2002-02-17  Michael Meeks  <michael@ximian.com>
      
      	* libnautilus-private/nautilus-icon-container.c
      	(nautilus_icon_container_theme_changed): setup both
      	the rgba and GdkColor variants.
      	(update_label_color): upd. color handling.
      	(alloc_colors): allocate the colors on realize
      
      2002-02-15  Michael Meeks  <michael@ximian.com>
      
      	* libnautilus-private/nautilus-icon-container.c
      	(nautilus_icon_container_get_label_color): return
      	the colors we need, grab them from the style's text
      	information though.
      
      2002-02-14  Michael Meeks  <michael@ximian.com>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c
      	(nautilus_icon_canvas_item_get_property),
      	(nautilus_icon_canvas_item_set_property): port to
      	properties.
      	(draw_or_measure_label_text): update color handling,
      	could we re-use the gc here ?
      	(draw_stretch_handles): upd gc unref.
      	(nautilus_icon_canvas_item_class_init): upd.
      
      	* libnautilus-private/nautilus-theme.c
      	(nautilus_pixmap_file_may_be_local),
      	(nautilus_theme_install_user_theme),
      	(nautilus_theme_make_preview_pixbuf),
      	(theme_get_property),
      	(load_theme_document): upd. file tests.
      
      	* libnautilus-private/nautilus-monitor.c
      	(get_event_uri): use g_build_filename.
      
      	* libnautilus-private/nautilus-find-icon-image.c
      	(get_user_emblem_path, make_full_icon_path),
      	(make_full_icon_path): upd. file test.
      
      	* libnautilus-private/nautilus-file-utilities.c
      	(nautilus_pixmap_file),
      	(nautilus_get_data_file_path),
      	(nautilus_get_user_directory),
      	(nautilus_get_desktop_directory): upd. file tests.
      
      	* libnautilus-private/nautilus-directory-metafile.c
      	(nautilus_directory_get_boolean_file_metadata): use
      	strcasecmp not ascii_strdown to save yet more malloc
      	locking penalty.
      
      	* libnautilus-private/nautilus-directory-background.c
      	(nautilus_file_background_receive_root_window_changes),
      	(desktop_background_destroyed_callback): upd. root
      	window macro.
      	(nautilus_connect_background_to_file_metadata),
      	(initialize_background_from_settings),
      	(image_loading_done_callback): upd g_signal bits.
      
      	* libnautilus-private/nautilus-volume-monitor.c
      	(nautilus_volume_monitor_class_init): upd file test.
      
      	* libnautilus-private/nautilus-undo-signal-handlers.c
      	(nautilus_undo_tear_down_nautilus_entry_for_undo): upd.
      
      	* libnautilus-private/nautilus-undo-manager.c
      	(nautilus_undo_manager_class_init): upd. signal bits.
      
      	* libnautilus-private/nautilus-trash-monitor.c
      	(nautilus_trash_monitor_class_init): g_cclosureize.
      	(nautilus_trash_monitor_init): g_signal upds.
      
      	* libnautilus-private/nautilus-trash-file.c
      	(trash_destroy, nautilus_trash_file_init),
      	(remove_real_file): upd. g_signal bits.
      
      	* libnautilus-private/nautilus-trash-directory.c
      	(nautilus_trash_directory_init): upd. signal connect.
      	(trash_destroy): upd. signal bits.
      
      	* libnautilus-private/nautilus-program-choosing.c
      	(get_xalf_prefix): upd. find_program_in_path.
      
      	* libnautilus-private/nautilus-program-chooser.c
      	(nautilus_program_chooser_init): upd. window policy
      
      	* libnautilus-private/nautilus-merged-directory.c
      	(merged_remove_real_directory): upd. g_signal.
      	(nautilus_merged_directory_class_init): upd. g_closure
      
      	* libnautilus-private/nautilus-link-desktop-file.c
      	(nautilus_link_desktop_file_get_link_icon_from_desktop):
      	upd. pixmap location.
      
      	* libnautilus-private/nautilus-icon-factory.c
      	(nautilus_icon_factory_class_init): upd. marshallers
      	(is_theme_in_user_directory): upd. file test.
      
      	* libnautilus-private/nautilus-icon-dnd.c
      	(auto_scroll_timeout_callback): do a queue_draw_area
      	instead of a widget_draw.
      
      	* libnautilus-private/nautilus-icon-container.c
      	(nautilus_icon_container_init),
      	(set_pending_icon_to_reveal): g_signal updates.
      	(nautilus_icon_container_new): remove visual
      	push/pop.
      
      	* libnautilus-private/nautilus-file.c
      	(nautilus_file_fit_date_as_string): upd. julian date get.
      	(nautilus_file_class_init): upd. marshallers.
      
      	* libnautilus-private/nautilus-file-operations.c
      	(extract_and_ellipsize_file_name_for_dialog): use
      	get_basename.
      	(nautilus_file_operations_copy_move): use gtk stock.
      
      
      	* libnautilus-private/nautilus-file-operations-progress.c
      	(nautilus_file_operations_progress_update): use
      	progress_bar_set_fraction.
      	(nautilus_file_operations_progress_init): prune
      	progress setup - these are the defaults.
      
      	* libnautilus-private/nautilus-entry.c
      	(nautilus_entry_key_press): upd select_region.
      
      	* libnautilus-private/nautilus-drag-window.c
      	(get_ancestor_blocked_by): upd type_is_a.
      
      	* libnautilus-private/nautilus-dnd.c
      	(nautilus_drag_finalize),
      	(nautilus_drag_init): g_object ref upd.
      
      	* libnautilus-private/nautilus-directory.c
      	(nautilus_directory_class_init): marshaller upd..
      	(nautilus_directory_schedule_metadata_remove),
      	(nautilus_directory_schedule_metadata_copy),
      	(nautilus_directory_schedule_metadata_move):
      	basename upd.
      
      	* libnautilus-private/nautilus-directory-background.c
      	(desktop_background_realized): g_signal upd.
      	(theme_image_path_to_uri): file test upd.
      	(image_loading_done_callback): object unref on gc & pixmap.
      	(background_changed_callback): g_signal upd.
      
      	* libnautilus-private/nautilus-bookmark.c
      	(nautilus_bookmark_disconnect_file): g_signal upd.
      	(nautilus_bookmark_uri_known_not_to_exist): upd
      	file test.
      
      	* libnautilus-private/nautilus-authn-manager.c
      	(authentication_dialog_button_clicked): use
      	GTK_RESPONSE_OK
      
      	* libnautilus-private/Makefile.am: add deprc.
      	CFLAGS.
      
      	* libnautilus/Makefile.am: ditto.
      
      	* configure.in (DISABLE_DEPRECATED_CFLAGS): add.
      
      2002-02-13  Michael Meeks  <michael@ximian.com>
      
      	* libnautilus-private/nautilus-icon-dnd.c
      	(nautilus_icon_container_free_drag_data):
      	re-enterancy protection.
      b99fa350
  2. 17 Feb, 2002 1 commit
  3. 13 Feb, 2002 1 commit
    • David Emory Watson's avatar
      Allow submenus to have pixbufs. · 0fa8919f
      David Emory Watson authored
      * libnautilus-private/nautilus-bonobo-extensions.c:
      (nautilus_bonobo_add_submenu): Allow submenus to have pixbufs.
      
      * libnautilus-private/nautilus-bonobo-extensions.h: Add pixbuf argument
      to prototype for nautilus_bonobo_add_submenu ()
      
      * src/nautilus-window-menus.c:
      (create_menu_item_from_node): Make reference to
      nautilus_bonobo_add_submenu conform to new prototype.
      
      * src/file-manager/fm-directory-view.c
      (add_submenu): Make reference to nautilus_bonobo_add_submenu conform to
      new prototype and remove FIXME.
      0fa8919f
  4. 12 Feb, 2002 1 commit
    • Darin Adler's avatar
      Require at least libxml 2.4.7, since that's the version where xmlFree and · 0d571733
      Darin Adler authored
      	* configure.in: Require at least libxml 2.4.7, since that's
      	the version where xmlFree and friends were moved out of
      	<libxml/xmlmemory.h>.
      
      	* components/news/nautilus-news.c:
      	* components/text/nautilus-text-view.c:
      	* libnautilus-private/nautilus-customization-data.c:
      	* libnautilus-private/nautilus-directory-async.c:
      	* libnautilus-private/nautilus-find-icon-image.c:
      	* libnautilus-private/nautilus-link-desktop-file.c:
      	* libnautilus-private/nautilus-link-historical.c:
      	* libnautilus-private/nautilus-link.c:
      	* libnautilus-private/nautilus-metafile.c:
      	* libnautilus-private/nautilus-theme.c:
      	* libnautilus-private/nautilus-volume-monitor.c:
      	* src/nautilus-bookmark-list.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-window-menus.c:
      	Remove unneeded include of <libxml/xmlmemory.h>.
      
      	* components/tree/nautilus-tree-model.c: (get_node_uri): New,
      	used only for logging ref. counts.
      	(decrement_ref_count): New.
      	(abandon_node_ref_count): New.
      	(abandon_dummy_row_ref_count): New.
      	(report_dummy_row_inserted): Do nothing if the parent is not yet
      	in the inserted state.
      	(report_dummy_row_deleted): Make it abandon any lingering ref
      	count that's still in the dummy row.
      	(report_node_inserted): Make it report that the dummy node is
      	inserted if the node starts with a dummy child. Also, set the new
      	inserted state so we know this node is live.
      	(report_node_contents_changed): Do nothing if the node is not
      	yet in the inserted state.
      	(report_node_has_child_toggled): Do nothing if the node is not yet
      	in the inserted state.
      	(report_dummy_row_contents_changed): Do nothing if the parent is
      	not yet in the inserted state.
      	(stop_monitoring_directory): Set done_loading to FALSE so we'll get
      	a dummy node for directories we are not monitoring.
      	(destroy_node_without_reporting): Abandon any ref count left in the
      	node. Also set the inserted state to FALSE before destroying children.
      	(destroy_node): Report if the parent gains a dummy node as a result
      	of destroying this node.
      	(update_node_without_reporting): Don't clear done_loading any more,
      	since stop_monitoring_directory does it now.
      	(reparent_node): Abandon any ref count that's still in the node
      	before reparenting it.
      	(schedule_destroy_unneeded_children): New.
      	(last_child_unref): Use new schedule_destroy_unneeded_children
      	function so we cna share code with the new abandon ref count functions.
      	(nautilus_tree_model_ref_node), (nautilus_tree_model_unref_node): Add
      	some logging for debugging purposes.
      
      	* components/tree/nautilus-tree-view.c: (compare_rows): Sort function
      	to use when GtkTreeModelSort works.
      	(create_tree): Hook up sort function.
      0d571733
  5. 10 Feb, 2002 1 commit
  6. 07 Feb, 2002 1 commit
    • Darin Adler's avatar
      eel_signal_connect_while_alive -> g_object_add_weak_pointer. · e91afc85
      Darin Adler authored
      	* components/throbber/nautilus-throbber.c:
      	(nautilus_throbber_instance_init): eel_signal_connect_while_alive
      	-> g_object_add_weak_pointer.
      	(nautilus_throbber_finalize), (nautilus_throbber_class_init):
      	Switch to finalize instead of destroy.
      
      	* components/tree/nautilus-tree-expansion-state.c: Remove.
      	* components/tree/nautilus-tree-expansion-state.h: Remove.
      	* components/tree/nautilus-tree-node-private.h: Remove.
      	* components/tree/nautilus-tree-node.c: Remove.
      	* components/tree/nautilus-tree-node.h: Remove.
      
      	* components/tree/nautilus-tree-model.h:
      	* components/tree/nautilus-tree-model.c:
      	Rewrite, based on Anders's first cut.
      
      	* components/tree/nautilus-tree-view.h: Tweaks.
      	* components/tree/nautilus-tree-view.c: (create_tree): Get rid of
      	the header.
      	(nautilus_tree_view_finalize), (nautilus_tree_view_class_init):
      	Added a missing finalize so that we don't leak.
      
      	* libnautilus-private/nautilus-directory.h:
      	* libnautilus-private/nautilus-directory.c:
      	(nautilus_directory_get_for_file): New.
      
      	* libnautilus-private/nautilus-file.h:
      	* libnautilus-private/nautilus-file.c:
      	(finalize): Change to finalize from destroy.
      	(nautilus_file_get_parent): Make public, simplify implementation
      	by using nautilus_directory_get_corresponding_file.
      
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_init):
      	* src/nautilus-sidebar.c: (nautilus_sidebar_update_buttons):
      	* src/nautilus-view-frame.c: (nautilus_view_frame_init),
      	(attach_view):
      	* src/nautilus-window-menus.c:
      	(nautilus_window_initialize_bookmarks_menu),
      	(nautilus_window_initialize_go_menu):
      	Use g_signal_connect-object instead of eel_signal_connect_while_alive.
      e91afc85
  7. 05 Feb, 2002 1 commit
    • Darin Adler's avatar
      Remove. Remove. Remove. Remove. Remove. · 61fe873c
      Darin Adler authored
      	* components/tree/nautilus-tree-change-queue.c: Remove.
      	* components/tree/nautilus-tree-change-queue.h: Remove.
      	* components/tree/nautilus-tree-view-dnd.c: Remove.
      	* components/tree/nautilus-tree-view-dnd.h: Remove.
      	* components/tree/nautilus-tree-view-private.h: Remove.
      
      	* libnautilus-private/Makefile.am:
      	* libnautilus-private/nautilus-dnd.c:
      	* libnautilus-private/nautilus-dnd.h:
      	Move eel-dnd.[ch] back into Nautilus, because it currently is
      	completely file-manager-specific.
      
      	* libnautilus-private/nautilus-file-dnd.c:
      	* libnautilus-private/nautilus-file-dnd.h:
      	* libnautilus-private/nautilus-icon-dnd.c:
      	* libnautilus-private/nautilus-icon-dnd.h:
      	* src/file-manager/fm-icon-view.c:
      	* src/file-manager/fm-list-view.c:
      	Change to use eel-dnd.[ch] in their new location in Nautilus.
      
      	* src/file-manager/fm-directory-view.c: Add included needed due
      	to include changes.
      61fe873c
  8. 01 Feb, 2002 1 commit
    • Dave Camp's avatar
      Increased GNOME_UI_REQUIRED to 1.110.1 · 1d2b0af9
      Dave Camp authored
      2002-02-01  Dave Camp  <dave@ximian.com>
      
      	* configure.in: Increased GNOME_UI_REQUIRED to 1.110.1
      
      	* libnautilus-private/nautilus-icon-container.c:
      	(nautilus_icon_container_class_init): Use
      	nautilus_marshal_VOID__POINTER_STRING instead of
      	nautilus_marshal_VOID__POINTER_POINTER for the icon_text_changed
      	signal.
      	(handle_focus_out_event): Return FALSE.
      	(nautilus_icon_container_start_renaming_selected_item),
      	(end_renaming_mode): Use GnomeIconTextItem instead of
      	NautilusIconTextItem.  This includes changing how the size was
      	calculated, as NautilusIconTextItem expected a center point and
      	maximum width, and GnomeIconTextItem expects a bounding box.
      
      	* libnautilus-private/nautilus-icon-private.h: Use
      	GnomeIconTextItem instead of NautilusIconTextItem for
      	rename_widget.
      	* libnautilus-private/nautilus-marshal.list: Added
      	VOID:POINTER,STRING.
      	* src/file-manager/fm-icon-view.c: (renaming_icon_callback):
      	Temporarily #ifed out the
      	nautilus_clipboard_set_up_editable_in_control for the renaming
      	editable.
      1d2b0af9
  9. 30 Jan, 2002 2 commits
    • Darin Adler's avatar
      Bump eel version required. · 68c54c31
      Darin Adler authored
      	* configure.in: Bump eel version required.
      
      	* libnautilus-private/nautilus-icon-container.c:
      	(rubberband_timeout_callback), (start_rubberbanding),
      	(update_stretch_at_idle), (motion_notify_event):
      	* libnautilus-private/nautilus-icon-dnd.c: (icon_get_data_binder),
      	(nautilus_icon_container_position_shadow),
      	(receive_dropped_keyword),
      	(nautilus_icon_container_find_drop_target),
      	(nautilus_icon_container_receive_dropped_icons),
      	(nautilus_icon_container_get_drop_action),
      	(nautilus_icon_dnd_update_drop_target), (nautilus_icon_dnd_init),
      	(nautilus_icon_dnd_begin_drag):
      	Use new eel functions that eliminate the funky interaction between
      	the new GtkLayout and GnomeCanvas. Basically, all the functions
      	that deal with window coordinates are getting bin_window
      	coordinates instead. This should really be fixed in GnomeCanvas.
      68c54c31
    • Zbigniew Chyla's avatar
      DO NOT mark empty strings for translation. · 110ba62d
      Zbigniew Chyla authored
      2002-01-30  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* libnautilus-private/nautilus-authn-manager.c
      	(construct_password_dialog):
      	DO NOT mark empty strings for translation.
      110ba62d
  10. 29 Jan, 2002 1 commit
    • Darin Adler's avatar
      Remove smooth mode and unused font and font size machinery. · 0ba9c077
      Darin Adler authored
      	* components/tree/nautilus-tree-view.c: (create_tree),
      	(nautilus_tree_view_destroy):
      	* libnautilus-private/nautilus-directory.c:
      	(add_preferences_callbacks):
      	* libnautilus-private/nautilus-global-preferences.c:
      	* libnautilus-private/nautilus-global-preferences.h:
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(measure_label_text), (nautilus_icon_canvas_item_render),
      	(nautilus_icon_canvas_item_set_show_stretch_handles):
      	* libnautilus-private/nautilus-icon-container.c:
      	(start_rubberbanding), (finalize), (nautilus_icon_container_init),
      	(nautilus_icon_container_update_icon),
      	(nautilus_icon_container_theme_changed):
      	* libnautilus-private/nautilus-icon-container.h:
      	* libnautilus-private/nautilus-icon-private.h:
      	* src/file-manager/fm-directory-view.c: (fm_directory_view_init),
      	(fm_directory_view_finalize):
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-icon-view.c:
      	(fm_icon_view_update_icon_container_font_size_table),
      	(create_icon_container), (fm_icon_view_class_init):
      	Remove smooth mode and unused font and font size machinery.
      
      	* test/.cvsignore: Remove test-nautilus-smooth-graphics.
      	* test/Makefile.am: Remove test-nautilus-smooth-graphics.
      	* test/test-nautilus-smooth-graphics.c: Remove.
      
      	* src/nautilus-preferences-dialog.c:
      	(dialog_delete_event_callback), (dialog_button_response_callback),
      	(preferences_dialog_create): Fix bug where we'd lose the
      	preferences dialog if you closed it with a delete_event.
      0ba9c077
  11. 28 Jan, 2002 4 commits
    • Darin Adler's avatar
      Changed the system(3) call to launch application from command. Instead use · 39c3dcc0
      Darin Adler authored
      	* libnautilus-private/nautilus-program-choosing.c
      	(nautilus_launch_application_from_command): Changed the system(3) call to
      	launch application from command. Instead use eel_gnome_shell_execute.
      
      	* src/file-manager/fm-directory-view.c (activate_callback):
      	Now use newly public NautilusDesktopFile class & nautilus_desktop_file_launch
      	to launch the corresponding command.
      
      	* libnautilus-private/nautilus-desktop-file-loader.c:
      	* libnautilus-private/nautilus-desktop-file-loader.h:
      	Made the NautilusDesktopFile class public. The struct has been moved
      	from the source to the header. The nautilus_desktop_file_new method
      	is not static any more.
      
      	* libnautilus-private/nautilus-desktop-file-loader.c
      	(nautilus_desktop_file_launch):
      	Add the locale name taken from the desktop file to display it
      	through xalf (launch feedback).
      39c3dcc0
    • Gediminas Paulauskas's avatar
      use g_list_copy instead of eel version use gtk_window_present instead of · e8b66e76
      Gediminas Paulauskas authored
      2002-01-28  Gediminas Paulauskas <menesis@delfi.lt>
      
      	* libnautilus-private/nautilus-directory.c,
      	libnautilus-private/nautilus-icon-container.c: use g_list_copy
      	instead of eel version
      	* src/nautilus-preferences-dialog.c,
      	src/nautilus-property-browser.c,
      	src/nautilus-window-manage-views.c,
      	src/nautilus-window-menus.c,
      	src/file-manager/fm-properties-window.c: use gtk_window_present
      	instead of eel version.
      e8b66e76
    • Seth Nickell's avatar
      Add a function for moving preference values (if they exist) from their old · 6b37d572
      Seth Nickell authored
      2002-01-28  Seth Nickell  <snickell@stanford.edu>
      
      	* libnautilus-private/nautilus-global-preferences.c:
      	(import_old_preferences_if_needed),
      	(nautilus_global_preferences_init):
      
      	Add a function for moving preference values (if they exist)
      	from their old location to their new location, if it
      	hasn't already been done.
      
      	* libnautilus-private/nautilus-global-preferences.h:
      
      	Change the location/name of THEME, SHOW_HIDDEN_FILES and
      	SHOW_BACKUP_FILES so other file viewers in GNOME can smoothly
      	access them.
      6b37d572
    • Anders Carlsson's avatar
      Fix build. · ba30345e
      Anders Carlsson authored
      2002-01-28  Anders Carlsson  <andersca@gnu.org>
      
      	* libnautilus-private/nautilus-entry.c: Fix build.
      
      Thanks to zilch for reporting this.
      ba30345e
  12. 27 Jan, 2002 3 commits
    • Anders Carlsson's avatar
      Remove gmc link support and calls to gnome_set_metadata. · e4f7a87b
      Anders Carlsson authored
      2002-01-28  Anders Carlsson  <andersca@gnu.org>
      
      	* libnautilus-private/nautilus-file.c:
      	* libnautilus-private/nautilus-file.h:
      	Remove gmc link support and calls to gnome_set_metadata.
      
      	* libnautilus-private/nautilus-file-operations.c
      	(create_transfer_dialog): Set transfer_info as user_data.
      
      	* libnautilus-private/nautilus-file-operations-progress.c: Move stuff
      	to finalize.
      
      	* libnautilus-private/nautilus-entry.c: Remove cursor obscuring code
      	since that exists in GtkEntry now.
      e4f7a87b
    • Darin Adler's avatar
      Formatting tweaks. Use new eel_gnome_canvas_item_send_behind. · 555bc849
      Darin Adler authored
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(draw_or_measure_label_text), (draw_stretch_handles): Formatting tweaks.
      	* libnautilus-private/nautilus-icon-container.c: (icon_raise): Use new
      	eel_gnome_canvas_item_send_behind.
      555bc849
    • Alexander Larsson's avatar
      Draw alpha-blended rounded rectangles around selected text even in non-aa · 085f7bc5
      Alexander Larsson authored
      2002-01-27  Alexander Larsson  <alla@lysator.liu.se>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	Draw alpha-blended rounded rectangles around selected text even
      	in non-aa mode.
      
      	* libnautilus-private/nautilus-icon-container.c:
      	Use the new EelCanvasRect item for selection rectangle in
      	non-aa mode.
      	Also make sure we never raise anything above the selection
      	rectangle item. This means we can remove the
      	gnome_canvas_item_raise_to_top() in rubberband_timeout_callback,
      	which is good, since that call redraws the whole selection
      	rectangle if something was above it.
      085f7bc5
  13. 25 Jan, 2002 2 commits
    • Michael Meeks's avatar
      return a 'changed' boolean. · 45d43076
      Michael Meeks authored
      2002-01-25  Michael Meeks  <michael@ximian.com>
      
      	* libnautilus-private/nautilus-bookmark.c
      	(nautilus_bookmark_set_name): return a 'changed'
      	boolean.
      
      	* src/nautilus-window-manage-views.c
      	(update_title): only re-send history if it changed.
      
      	* src/nautilus-window.c (add_to_history_list): prune
      	the end of the list more succinctly, don't fire
      	send_history_list_changed if we didn't change the list.
      45d43076
    • Darin Adler's avatar
      GNOME2_CONVERSION_COMPLETE eradication campaign · cae57667
      Darin Adler authored
      	* libnautilus-private/nautilus-icon-factory.c: (cache_icon_new):
      	No last_unref_handler any more.
      	(cache_icon_unref): Just keep one ref for the factory, just like
      	in the old days, since we don't have a "last_unref_handler" any
      	more.
      	(nautilus_icon_factory_possibly_free_cached_icon): Look at
      	ref_count rather than looking at "outstanding" flag.
      	(nautilus_icon_factory_get_pixbuf_for_icon): Just ref, no fancy
      	"oustanding" logic.
      	(embed_text): Rewrite to use Pango.
      
      	* src/file-manager/fm-list-model.h: Tweak formatting and order.
      	* src/file-manager/fm-list-model.c: Tweak formatting and order.
      	* src/file-manager/fm-list-view.h: Tweak formatting and order.
      	* src/file-manager/fm-list-view.c: Tweak formatting and order.
      
      	* src/file-manager/fm-properties-window.c:
      	(select_image_button_callback): Turn this code back on.
      
      	* src/nautilus-bookmarks-window.c: (on_row_move): Remove puts.
      
      	* src/nautilus-complex-search-bar.c:
      	(nautilus_complex_search_bar_queue_resize): GnomeDock -> BonoboDock.
      
      	* src/nautilus-property-browser.c: (nautilus_emblem_dialog_new):
      	Finish porting to GtkDialog.
      	(nautilus_color_selection_dialog_new): Finish porting to
      	GtkDialog.
      	(add_new_pattern): Re-enable some code.
      	(labeled_image_configure): Re-enable some code, take out other stuff.
      	(labeled_image_new): Take out some dead code.
      	(property_browser_category_button_new): Take out some dead code.
      
      	* src/nautilus-sidebar-tabs.c: (tab_item_destroy),
      	(tab_indicator_changed_callback),
      	(nautilus_sidebar_tabs_connect_view):
      	Use a listener object now, not a listener ID.
      
      	* src/nautilus-simple-search-bar.c:
      	(nautilus_simple_search_bar_class_init): Remove some undo code.
      
      	* src/nautilus-switchable-navigation-bar.c:
      	(nautilus_switchable_navigation_bar_set_mode): GnomeDock -> BonoboDock.
      
      	* src/nautilus-switchable-search-bar.c:
      	(nautilus_switchable_search_bar_set_mode): GnomeDock -> BonoboDock.
      
      	* src/nautilus-view-frame.c: (destroy_view): Make deregister code use
      	the BonoboUIEngine instead of the BonoboWindow.
      cae57667
  14. 24 Jan, 2002 1 commit
    • Darin Adler's avatar
      GNOME2_CONVERSION_COMPLETE eradication campaign · 5db444dc
      Darin Adler authored
      	* components/hardware/nautilus-hardware-view.c:
      	(nautilus_hardware_view_init): Re-enable the property bag.
      
      	* components/image-viewer/Makefile.am: Remove io-png.[ch].
      	* components/image-viewer/io-png.c: Remove.
      	* components/image-viewer/io-png.h: Remove.
      	* components/image-viewer/nautilus-image-view.c:
      	(save_image_to_stream): Not implemented.
      
      	* libnautilus-private/nautilus-directory-metafile.c:
      	(nautilus_directory_register_metadata_monitor),
      	(nautilus_directory_unregister_metadata_monitor):
      	Wipe out some bonobo_object_corba_objref calls.
      
      	* src/nautilus-window.h: Make the throbber private.
      	* src/nautilus-window-private.h: Make the throbber private.
      	Use a listener object now, not a listener ID.
      
      	* src/nautilus-window-toolbars.c:
      	(nautilus_window_initialize_toolbars): Move the throbber
      	into details.
      
      	* src/nautilus-window.c: (nautilus_window_constructed),
      	(nautilus_window_unrealize): Use the new listener calls that
      	use an object, not an ID.
      	(nautilus_window_allow_stop): Move the throbber into details.
      5db444dc
  15. 23 Jan, 2002 1 commit
    • Michael Meeks's avatar
      re-remove the per display IID creation scheme - it's broken. · e7c91ff2
      Michael Meeks authored
      2002-01-23  Michael Meeks  <michael@ximian.com>
      
      	* libnautilus/nautilus-view-standard-main.c
      	(nautilus_view_standard_main_multi): re-remove the
      	per display IID creation scheme - it's broken.
      
      	* components/throbber/nautilus-throbber.c
      	(nautilus_throbber_draw): kill, no draw methods
      	in gtk 2.0
      	(draw_throbber_image): remove bonobo bug
      	workaround, if it still exists it should be fixed
      	in bonobo and fold into
      	(nautilus_throbber_expose): here
      	(draw_pixbuf): fold into
      	(nautilus_throbber_expose): here, and fix
      	rendering bugs.
      	(nautilus_throbber_size_allocate): kill bogus
      	sizing logic.
      	(nautilus_throbber_button_release_event): do
      	conversion.
      	(nautilus_throbber_destroy): remove
      	force_destroy_later.
      
      2002-01-21  Michael Meeks  <michael@ximian.com>
      
      	* src/nautilus-window.c,
      	* src/nautilus-application.c,
      	* src/nautilus-view-frame.c,
      	* libnautilus-private/nautilus-undo-manager.c,
      	* libnautilus-private/nautilus-metafile-factory.c,
      	* libnautilus/nautilus-undo-transaction.c,
      	s/bonobo_object_corba_objref/BONOBO_OBJREF/
      
      	* libnautilus-private/nautilus-directory-metafile.c
      	(get_factory): update referencing.
      
      	* libnautilus/nautilus-view.c
      	(nautilus_view_get_view_frame): impl. helper to
      	reduce sync CORBA traffic.
      	(view_frame_call_end, view_frame_call_begin): upd.
      	(nautilus_view_dispose): release the CORBA ref. if we
      	took it.
      	(nautilus_view_set_frame): unset the frame if we
      	loose it.
      
      	* libnautilus-private/nautilus-bonobo-extensions.c
      	(add_numbered_menu_item_internal): kill the label encoding.
      	(nautilus_bonobo_add_submenu): ditto.
      	(nautilus_bonobo_set_icon): kill unused.
      
      	* components/adaptor/bonobo-stream-vfs.[ch]: remove, now
      	inside gnome-vfs.
      e7c91ff2
  16. 22 Jan, 2002 3 commits
    • Darin Adler's avatar
      Disable the code that destroys the fallback icon at shutdown time since it · e901fb34
      Darin Adler authored
      	* libnautilus-private/nautilus-icon-factory.c:
      	(load_icon_for_scaling): Disable the code that destroys the fallback
      	icon at shutdown time since it was hitting some snags.
      
      	* libnautilus/nautilus-view-standard-main.c:
      	(nautilus_view_standard_main_multi): Add a bonobo_activate to try
      	to reduce the complaints at quit time.
      
      	* src/nautilus-location-bar.c: (editable_key_press_callback):
      	Make the End key do what the right arrow key did.
      
      	* src/nautilus-window-manage-views.c: (use_saved_window_positions),
      	(open_location), (position_and_show_window_callback),
      	(determined_initial_view_callback): Open windows right away unless
      	we are using saved window positions.
      
      	* icons/default/Makefile: Remove.
      	* icons/default/Makefile.in: Remove.
      e901fb34
    • Seth Nickell's avatar
      Seperate document icons from the themes so they can be moved into · 4e7d7315
      Seth Nickell authored
      2002-01-22  Seth Nickell  <snickell@stanford.edu>
      
      	Seperate document icons from the themes so they
      	can be moved into gnome-mime-data and used by
      	other applications more cleanly.
      
      	* configure.in:
      
      	* icons/Makefile.am:
      	* icons/default.xml:
      	* icons/default/.cvsignore:
      	* icons/default/Back.png:
      	* icons/default/Forward.png:
      	* icons/default/Home.png:
      	* icons/default/Makefile:
      	* icons/default/Makefile.am:
      	* icons/default/Makefile.in:
      	* icons/default/Refresh.png:
      	* icons/default/Search.png:
      	* icons/default/SearchWeb.png:
      	* icons/default/Stop.png:
      	* icons/default/Up.png:
      	* icons/default/decrement.png:
      	* icons/default/default.xml:
      	* icons/default/home.png:
      	* icons/default/i-bookmark-20.png:
      	* icons/default/i-bookmark-missing-20.png:
      	* icons/default/i-bookmark-missing.png:
      	* icons/default/i-bookmark.png:
      	* icons/default/i-broken-image.png:
      	* icons/default/i-directory-12.png:
      	* icons/default/i-directory-24.png:
      	* icons/default/i-directory-36.png:
      	* icons/default/i-directory-72.png:
      	* icons/default/i-directory-96.png:
      	* icons/default/i-directory-accept-12.png:
      	* icons/default/i-directory-accept-24.png:
      	* icons/default/i-directory-accept-36.png:
      	* icons/default/i-directory-accept-72.png:
      	* icons/default/i-directory-accept-96.png:
      	* icons/default/i-directory-accept.png:
      	* icons/default/i-directory-accept.xml:
      	* icons/default/i-directory.png:
      	* icons/default/i-directory.xml:
      	* icons/default/i-regular-12.png:
      	* icons/default/i-regular-24.png:
      	* icons/default/i-regular-36.png:
      	* icons/default/i-regular-72.png:
      	* icons/default/i-regular-96.png:
      	* icons/default/i-regular.png:
      	* icons/default/i-regular.xml:
      	* icons/default/i-search-72.png:
      	* icons/default/i-spreadsheet.png:
      	* icons/default/i-stalled.png:
      	* icons/default/i-symlink.png:
      	* icons/default/i-web-72.png:
      	* icons/default/increment.png:
      	* icons/default/loading.png:
      	* icons/default/manual.png:
      	* icons/default/number_strip.png:
      	* icons/default/side_bar_image.png:
      	* icons/default/temp-home.png:
      	* icons/default/theme_preview.png:
      	* icons/default/trash-empty.png:
      	* icons/default/trash-full.png:
      	* icons/default/zoom_body.png:
      
      	Move default theme from icons/ into icons/default.
      
      	* icons/gnome-application-encapsulated_postscript.png:
      	* icons/gnome-application-pdf-192.png:
      	* icons/gnome-application-pdf.png:
      	* icons/gnome-application-pgp-192.png:
      	* icons/gnome-application-pgp.png:
      	* icons/gnome-application-postscript-192.png:
      	* icons/gnome-application-postscript-72.png:
      	* icons/gnome-application-postscript-96.png:
      	* icons/gnome-application-postscript.png:
      	* icons/gnome-application-x-c-header.png:
      	* icons/gnome-application-x-c-source.png:
      	* icons/gnome-application-x-cc-source.png:
      	* icons/gnome-application-x-e-theme.png:
      	* icons/gnome-application-x-generic-spreadsheet.png:
      	* icons/gnome-application-x-gnome-app-info.png:
      	* icons/gnome-application-x-java-source.png:
      	* icons/gnome-application-x-kde-app-info.png:
      	* icons/gnome-application-x-php.png:
      	* icons/gnome-application-x-reject.png:
      	* icons/gnome-application-x-scheme-source.png:
      	* icons/gnome-application-x-sql.png:
      	* icons/gnome-audio-basic.png:
      	* icons/gnome-audio-midi.png:
      	* icons/gnome-audio-ulaw.png:
      	* icons/gnome-audio-x-aiff.png:
      	* icons/gnome-audio-x-mod-192.png:
      	* icons/gnome-audio-x-mod.png:
      	* icons/gnome-audio-x-mp3-192.png:
      	* icons/gnome-audio-x-mp3.png:
      	* icons/gnome-audio-x-ogg-192.png:
      	* icons/gnome-audio-x-ogg.png:
      	* icons/gnome-audio-x-pn-realaudio.png:
      	* icons/gnome-audio-x-real-192.png:
      	* icons/gnome-audio-x-s3m-192.png:
      	* icons/gnome-audio-x-s3m.png:
      	* icons/gnome-audio-x-stm-192.png:
      	* icons/gnome-audio-x-stm.png:
      	* icons/gnome-audio-x-voc.png:
      	* icons/gnome-audio-x-wav.png:
      	* icons/gnome-audio-x-xi-192.png:
      	* icons/gnome-audio-x-xi.png:
      	* icons/gnome-audio-x-xm.png:
      	* icons/gnome-audio.png:
      	* icons/gnome-compressed-192.png:
      	* icons/gnome-compressed.png:
      	* icons/gnome-core.png:
      	* icons/gnome-emacs-192.png:
      	* icons/gnome-font-afm.png:
      	* icons/gnome-font-ttf.png:
      	* icons/gnome-font-x-pcf.png:
      	* icons/gnome-gimp.png:
      	* icons/gnome-gnumeric.png:
      	* icons/gnome-http-url.png:
      	* icons/gnome-image-bmp.png:
      	* icons/gnome-image-generic.png:
      	* icons/gnome-image-gif.png:
      	* icons/gnome-image-ief.png:
      	* icons/gnome-image-jpeg.png:
      	* icons/gnome-image-pbm.png:
      	* icons/gnome-image-pgm.png:
      	* icons/gnome-image-png.png:
      	* icons/gnome-image-pnm.png:
      	* icons/gnome-image-ppm.png:
      	* icons/gnome-image-psd.png:
      	* icons/gnome-image-ras.png:
      	* icons/gnome-image-rgb.png:
      	* icons/gnome-image-tga.png:
      	* icons/gnome-image-tiff.png:
      	* icons/gnome-image-x-xfig.png:
      	* icons/gnome-image-xbm.png:
      	* icons/gnome-image-xcf.png:
      	* icons/gnome-image-xpm.png:
      	* icons/gnome-image-xwd.png:
      	* icons/gnome-library.png:
      	* icons/gnome-manpage.png:
      	* icons/gnome-objectfile.png:
      	* icons/gnome-pack-deb.png:
      	* icons/gnome-pack-rpm.png:
      	* icons/gnome-package.png:
      	* icons/gnome-tex-192.png:
      	* icons/gnome-tex.png:
      	* icons/gnome-text-html-192.png:
      	* icons/gnome-text-html.png:
      	* icons/gnome-text-x-authors.png:
      	* icons/gnome-text-x-copying.png:
      	* icons/gnome-text-x-credits.png:
      	* icons/gnome-text-x-install.png:
      	* icons/gnome-text-x-makefile-192.png:
      	* icons/gnome-text-x-makefile.png:
      	* icons/gnome-text-x-readme.png:
      	* icons/gnome-textfile.png:
      	* icons/gnome-video-mpeg.png:
      	* icons/gnome-video-quicktime.png:
      	* icons/gnome-video-x-msvideo.png:
      	* icons/gnome-word-192.png:
      	* icons/i-blockdev.png:
      	* icons/i-bookmark-20.png:
      	* icons/i-bookmark-missing-20.png:
      	* icons/i-bookmark-missing.png:
      	* icons/i-bookmark.png:
      	* icons/i-broken-image.png:
      	* icons/i-cdrom-192.png:
      	* icons/i-cdrom.png:
      	* icons/i-chardev.png:
      	* icons/i-core.png:
      	* icons/i-device.png:
      	* icons/i-dirclosed.png:
      	* icons/i-directory-12.png:
      	* icons/i-directory-24.png:
      	* icons/i-directory-36.png:
      	* icons/i-directory-72.png:
      	* icons/i-directory-96.png:
      	* icons/i-directory-accept-12.png:
      	* icons/i-directory-accept-24.png:
      	* icons/i-directory-accept-36.png:
      	* icons/i-directory-accept-72.png:
      	* icons/i-directory-accept-96.png:
      	* icons/i-directory-accept.png:
      	* icons/i-directory-accept.xml:
      	* icons/i-directory.png:
      	* icons/i-directory.xml:
      	* icons/i-executable.png:
      	* icons/i-fifo.png:
      	* icons/i-floppy.png:
      	* icons/i-harddisk.png:
      	* icons/i-music-12.png:
      	* icons/i-music-24.png:
      	* icons/i-music-36.png:
      	* icons/i-music.png:
      	* icons/i-nfs.png:
      	* icons/i-printer.png:
      	* icons/i-regular-12.png:
      	* icons/i-regular-24.png:
      	* icons/i-regular-36.png:
      	* icons/i-regular-72.png:
      	* icons/i-regular-96.png:
      	* icons/i-regular.png:
      	* icons/i-regular.xml:
      	* icons/i-search-72.png:
      	* icons/i-sock.png:
      	* icons/i-spreadsheet.png:
      	* icons/i-stalled.png:
      	* icons/i-symlink.png:
      	* icons/i-web-72.png:
      	* icons/i-zip.png:
      	* icons/i-zipdisk.png:
      	* icons/i-zipdisk2.png:
      	* icons/loading.png:
      	* icons/manual.png:
      	* icons/temp-home.png:
      	* icons/trash-empty.png:
      	* icons/trash-full.png:
      
      	Move icons to either gnome-mime-data/icons or, perhaps,
      	nautilus/icons/default
      
      	* libnautilus-private/nautilus-find-icon-image.c:
      	(make_full_icon_path), (get_themed_icon_file_path),
      	(nautilus_get_icon_file_name):
      
      	Add support for looking in DATADIR/share/pixmaps/document-icons
      	as a fallback for the current theme and the fallback theme.
      
      	Remove hardcoded "default" theme stuff.
      
      	* libnautilus-private/nautilus-icon-factory.c:
      	(icon_theme_changed_callback):
      
      	If a theme doesn't have a fallback theme listed, use the
      	"default" theme as the fallback. Should be the only default
      	theme hardcoding left.
      
      	* libnautilus-private/nautilus-theme.c: (load_theme_document),
      	(nautilus_theme_get_theme_data_from_theme),
      	(nautilus_theme_get_image_path_from_theme),
      	(nautilus_theme_make_preview_pixbuf), (has_image_file),
      	(theme_get_property), (nautilus_theme_for_each_theme):
      
      	Remove hardcoding of default theme.
      
      	* icons/crux_eggplant/crux_eggplant.xml:
      
      	Remove inheritance clause which was pointing to "arlo",
      	a theme which does not exist anymore.
      4e7d7315
    • Havoc Pennington's avatar
      add comment about how this should be fixed · f8ced336
      Havoc Pennington authored
      2002-01-16  Havoc Pennington  <hp@redhat.com>
      
      	* libnautilus-private/nautilus-file-operations.c
      	(ellipsize_string_for_dialog): add comment about how this should
      	be fixed
      
      	* components/news/nautilus-news.c (ellipsize_string): add comment
      	about how this should be fixed
      f8ced336
  17. 21 Jan, 2002 3 commits
    • Darin Adler's avatar
      Get rid of code that passes around the "optimize for AA" flag. · aaf20578
      Darin Adler authored
      	* components/tree/nautilus-tree-view.c:
      	(nautilus_tree_view_insert_model_node),
      	(nautilus_tree_view_update_model_node):
      	* libnautilus-private/nautilus-bookmark.c:
      	(nautilus_bookmark_get_pixbuf):
      	* libnautilus-private/nautilus-find-icon-image.c: (read_details),
      	(get_themed_icon_file_path), (theme_has_icon),
      	(nautilus_get_icon_file_name):
      	* libnautilus-private/nautilus-find-icon-image.h:
      	* libnautilus-private/nautilus-icon-container.c:
      	(nautilus_icon_container_update_icon):
      	* libnautilus-private/nautilus-icon-factory-private.h:
      	* libnautilus-private/nautilus-icon-factory.c:
      	(load_thumbnail_frame), (nautilus_icon_factory_init),
      	(nautilus_icon_factory_destroy), (icon_theme_changed_callback),
      	(should_display_image_file_as_itself),
      	(nautilus_icon_factory_get_icon_for_file), (load_icon_from_path),
      	(load_named_icon), (load_specific_icon), (load_icon_for_scaling),
      	(load_icon_scale_if_necessary), (get_icon_from_cache),
      	(nautilus_icon_factory_get_pixbuf_for_icon), (cache_key_hash),
      	(cache_key_equal), (nautilus_icon_factory_get_pixbuf_for_file),
      	(nautilus_icon_factory_get_pixbuf_from_name),
      	(nautilus_icon_factory_get_thumbnail_frame):
      	* libnautilus-private/nautilus-icon-factory.h:
      	* libnautilus-private/nautilus-thumbnails.c:
      	(nautilus_thumbnail_load_framed_image):
      	* libnautilus-private/nautilus-thumbnails.h:
      	* src/file-manager/fm-directory-view.c:
      	(add_script_to_script_menus), (add_submenu_to_script_menus):
      	* src/file-manager/fm-list-model.c: (fm_list_model_get_value):
      	* src/file-manager/fm-properties-window.c:
      	(get_pixbuf_for_properties_window):
      	* src/nautilus-sidebar-title.c: (update_icon), (update_emblems):
      	Get rid of code that passes around the "optimize for AA" flag.
      
      	* cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.c:
      	* cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.h:
      	* cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.c:
      	* cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.h:
      	Roll in the latest version from gimp source tree.
      
      	* icons: Overwrite all the non-aa versions with the aa versions.
      	Remove all the aa versions.
      aaf20578
    • Darin Adler's avatar
      Remove. Remove. Remove. Remove. Remove. · c66ad8c7
      Darin Adler authored
      	* check-signals.pl: Remove.
      	* components/adapter/bonobo-stream-vfs.c: Remove.
      	* components/adapter/bonobo-stream-vfs.h: Remove.
      	* components/adapter/nautilus-adapter-progressive-load-strategy.c: Remove.
      	* components/adapter/nautilus-adapter-progressive-load-strategy.h: Remove.
      
      	* components/adapter/Makefile.am:
      	* components/hardware/Makefile.am:
      	* components/history/Makefile.am:
      	* components/image-viewer/Makefile.am:
      	* components/music/Makefile.am:
      	* components/news/Makefile.am:
      	* components/notes/Makefile.am:
      	* components/text/Makefile.am:
      	* components/throbber/Makefile.am:
      	* components/tree/Makefile.am:
      	* libnautilus-private/Makefile.am:
      	* test/Makefile.am:
      	General cleanups, mostly formatting.
      
      	* configure.in: Remove libiconv stuff, since we don't use it
      	any more. Do esound stuff in the main call to pkg-config, not
      	a separate set of variables.
      
      	* components/image-viewer/nautilus-image-view.c: Remove unused
      	libart includes.
      
      	* cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.h: Remove
      	the use of "decrement" as a synonym for "remove".
      
      	* test/test.c: Remove unused libart include.
      c66ad8c7
    • Anders Carlsson's avatar
      Change libprofiler location. · 39aacdfa
      Anders Carlsson authored
      2002-01-21  Anders Carlsson  <andersca@gnu.org>
      
      	* configure.in:
      	Change libprofiler location.
      
      	* libnautilus-private/nautilus-directory-async.c:
      	(lacks_link_info), (make_dot_directory_uri), (link_info_start):
      	Remove support for gmc style links.
      
      	* libnautilus-private/nautilus-entry.c:
      	(emacs_shortcuts_preference_changed_callback),
      	(nautilus_entry_init), (nautilus_entry_finalize),
      	(nautilus_entry_key_press), (select_all_at_idle),
      	(nautilus_entry_select_all_at_idle):
      	Use gtk_idle_add instead and store the idle id in the details
      	struct. This fixes some weirdness in the file properties dialog,
      	since the "destroy" signal can be emitted more than once.
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(update_label_layouts):
      	Enable underlining.
      
      	* libnautilus-private/nautilus-monitor.c: (get_event_uri):
      	Silently return if we can't find the base path. This is valid when
      	we've called nautilus_monitor_cancel but still have some events
      	in the queue.
      39aacdfa
  18. 19 Jan, 2002 2 commits
    • Darin Adler's avatar
      Fix storage leak by unrefing the metafile monitor before dropping it on · 8571f60d
      Darin Adler authored
      	* libnautilus-private/nautilus-directory-metafile.c:
      	(nautilus_directory_unregister_metadata_monitor): Fix storage leak by
      	unrefing the metafile monitor before dropping it on the floor.
      
      	* libnautilus-private/nautilus-directory-metafile-monitor.h: Remove
      	uneeded BonoboXObject stuff.
      
      	* libnautilus-private/nautilus-directory.c:
      	(nautilus_directory_finalize): Remove unneeded NULLing.
      
      	* libnautilus-private/nautilus-directory-metafile-monitor.c: Whitespace tweak.
      8571f60d
    • Darin Adler's avatar
      Remove nautilus-launch-icon.png. · 074ed7a0
      Darin Adler authored
      	* Makefile.am: Remove nautilus-launch-icon.png.
      
      	* components/hardware/nautilus-hardware-view.c: (setup_form_title),
      	(setup_overview_form): Port from EelImage to GtkImage.
      
      	* components/music/nautilus-music-view.c: Remove unused include.
      	* src/nautilus-theme-selector.c: Remove unused includes.
      
      	* libnautilus-private/nautilus-bonobo-extensions.c:
      	(bonobo_activation_activation_callback): Add warning message so we
      	get to see the error from bonobo-activation.
      
      	* libnautilus-private/nautilus-directory-metafile.c: (get_factory):
      	* libnautilus-private/nautilus-icon-factory.c: (get_icon_factory),
      	(load_icon_for_scaling), (embed_text):
      	* libnautilus-private/nautilus-metafile-factory.c:
      	(nautilus_metafile_factory_get_instance):
      	* libnautilus-private/nautilus-theme.c:
      	(nautilus_theme_get_theme_data_from_theme):
      	* libnautilus-private/nautilus-trash-monitor.c:
      	(nautilus_trash_monitor_get):
      	* libnautilus-private/nautilus-volume-monitor.c:
      	(nautilus_volume_monitor_get):
      	* src/file-manager/nautilus-indexing-info.c:
      	(show_indexing_info_dialog):
      	* src/nautilus-preferences-dialog.c:
      	(global_preferences_get_dialog):
      	* src/nautilus-window.c: (nautilus_window_class_init),
      	(add_to_history_list):
      	Use eel_debug_call_at_shutdown instead of g_atexit.
      
      	* libnautilus-private/nautilus-file.c:
      	(nautilus_file_get_display_name): Add G_BROKEN_FILENAMES support.
      
      	* libnautilus-private/nautilus-global-preferences.c:
      	(nautilus_global_preferences_init): Remove eel_smooth_widget code.
      
      	* libnautilus/Makefile.am: Add missing ORBIT_IDL dependency.
      
      	* libnautilus/nautilus-view-standard-main.c:
      	(nautilus_view_standard_main_multi): Remove
      	bonobo_ui_debug_shutdown for now. It does us no good unless we
      	also do eel_debug_shut_down, but libnautilus can't depend on eel.
      
      	* nautilus-launch-icon.png: Remove.
      
      	* src/file-manager/fm-properties-window.c:
      	(update_properties_window_icon),
      	(fm_properties_window_drag_data_received),
      	(create_image_widget_for_file): Port from EelImage to GtkImage.
      
      	* src/nautilus-component-adapter-factory.c:
      	(nautilus_component_adapter_factory_get): Use
      	eel_debug_call_at_shutdown instead of g_atexit.
      	(nautilus_component_adapter_factory_create_adapter): Look at
      	exceptions before looking at return values from CORBA calls.
      
      	* src/nautilus-main.c: (main): Add a call to eel_debug_shut_down.
      
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_init), (element_clicked_callback),
      	(nautilus_property_browser_update_contents): Port from EelViewport
      	to GtkViewport.
      
      	* src/nautilus-search-bar-criterion.c:
      	(nautilus_search_bar_criterion_destroy),
      	(nautilus_search_bar_criterion_new_from_values): Fix for change
      	that made NautilusSignaller no longer a GtkObject.
      
      	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init),
      	(update_icon), (add_emblem): Port from EelImage to GtkImage.
      
      	* src/nautilus-signaller.h:
      	* src/nautilus-signaller.c: (nautilus_signaller_get_current): Use
      	eel_debug_call_at_shutdown instead of g_atexit.
      	(nautilus_signaller_instance_init),
      	(nautilus_signaller_class_init): Change to GObject, not GtkObject.
      
      	* src/nautilus-window-menus.c: (get_bookmark_list): Use
      	eel_debug_call_at_shutdown instead of g_atexit.
      	(nautilus_window_initialize_go_menu): Fix for change that made
      	NautilusSignaller no longer a GtkObject.
      
      	* test/test-nautilus-preferences-change.c: Remove unused include.
      	* test/test-nautilus-preferences-display.c: Remove unused includes.
      	* test/test-nautilus-wrap-table.c: Remove unused includes.
      	* test/test.c: Remove unused function.
      	* test/test.h: Remove unused function.
      074ed7a0
  19. 18 Jan, 2002 1 commit
    • Michael Meeks's avatar
      don't set the background, it causes a strange segv later. · 1da01a65
      Michael Meeks authored
      2002-01-18  Michael Meeks  <michael@ximian.com>
      
      	* libnautilus-private/nautilus-directory-background.c
      	(image_loading_done_callback): don't set the background, it
      	causes a strange segv later.
      
      	* src/nautilus-window-toolbars.c
      	(set_widget_for_bonobo_control): fold into
      	(set_up_back_or_forward_toolbar_item): here.
      	(set_up_standard_bonobo_button): kill redundant
      	freeze / thaws.
      	(set_up_special_bonobo_button): don't do nasty
      	pixbuf roundtrips on a NULL icon_file_name
      	(get_pixbuf_for_xml_node): kill - somewhat inefficient.
      	(set_up_special_bonobo_button): set a straight pixbuf
      	on the button item for more speed, and kill bogus
      	in-proc freeze/thaw.
      	(set_up_back_or_forward_toolbar_item): rename to
      	(create_back_or_forward_toolbar_item): this to better
      	reflect function, aggregate a property bag.
      	(back_or_forward_tooblar_item_property_set_cb): impl.
      1da01a65
  20. 17 Jan, 2002 4 commits
    • Anders Carlsson's avatar
      Add non-aa pango support. · 2ac12f76
      Anders Carlsson authored
      2002-01-17  Anders Carlsson  <andersca@gnu.org>
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(nautilus_icon_canvas_item_update_bounds),
      	(draw_or_measure_label_text), (update_label_layouts),
      	(get_label_layout), (draw_label_layout), (draw_label_layout_aa),
      	(draw_or_measure_label_text_aa), (nautilus_icon_canvas_item_event):
      	Add non-aa pango support.
      
      	* libnautilus-private/nautilus-directory-async.c (make_dot_directory_uri):
      	Do an sync check for the .directory file before scheduling an async read
      	of the file.
      2ac12f76
    • Anders Carlsson's avatar
      Free the type string. · d9db3dbc
      Anders Carlsson authored
      2002-01-17  Anders Carlsson  <andersca@gnu.org>
      
      	* libnautilus-private/nautilus-link-desktop-file.c
      	(nautilus_link_desktop_file_get_link_uri_from_desktop):
      	Free the type string.
      
      	* src/nautilus-view-frame.c (nautilus_view_frame_selection_changed):
      	Call CORBA_free on uri_list.
      	(send_history): Call CORBA_free on history.
      
      	* src/nautilus-bookmark-parsing.c (nautilus_bookmark_new_from_node):
      	free icon_mime_type.
      
      	* src/file-manager/fm-icon-view.c (update_layout_menus): free path.
      d9db3dbc
    • Darin Adler's avatar
      Added include needed for compatibility with new gnome-vfs. · 02b737b3
      Darin Adler authored
      	* libnautilus-private/nautilus-mime-actions.c: Added include
      	needed for compatibility with new gnome-vfs.
      
      	* src/file-manager/fm-directory-view.c:
      	(set_up_scripts_directory_global): Fix mistake with use of
      	GNOME_DOT_GNOME by using gnome_util_home_file instead.
      02b737b3
    • Darin Adler's avatar
      Remove unneeded code and restore display-specific registration. This gets · 639ce8e4
      Darin Adler authored
      	* components/hardware/main.c: (main):
      	* components/image-viewer/nautilus-image-view.c:
      	(init_server_factory):
      	* components/loser/content/main.c: (main):
      	* components/loser/sidebar/main.c: (main):
      	* components/throbber/main.c: (main):
      	* libnautilus/nautilus-view-standard-main.c:
      	(nautilus_view_standard_main_multi),
      	(nautilus_view_create_from_get_type_function):
      	* src/nautilus-main.c: (main):
      	Remove unneeded code and restore display-specific registration.
      	This gets rid of a bunch of GNOME2_CONVERSION_COMPLETE ifdefs.
      
      	* libnautilus-private/nautilus-directory-metafile-monitor.h:
      	* libnautilus-private/nautilus-metafile-factory.c:
      	* libnautilus-private/nautilus-metafile-factory.h:
      	* libnautilus-private/nautilus-metafile.h:
      	These had emacs mode lines that said they were IDL files.
      
      	* libnautilus-private/nautilus-directory-metafile-monitor.c:
      	* libnautilus-private/nautilus-metafile-factory.c:
      	* libnautilus-private/nautilus-metafile.c:
      	* libnautilus-private/nautilus-undo-context.c:
      	* libnautilus-private/nautilus-undo-manager.c:
      	* libnautilus/nautilus-undo-transaction.c:
      	* src/nautilus-application.c:
      	* src/nautilus-shell.c:
      	* src/nautilus-view-frame-corba.c:
      	Use BONOBO_CLASS_BOILERPLATE_FULL instead of EEL_BONOBO_BOILERPLATE_FULL.
      
      	* src/nautilus-sidebar-title.c: (measure_width_callback),
      	(update_more_info): First cut at implementing date that fits into
      	sidebar. Not working yet.
      
      	* src/nautilus-theme-selector.c:
      	(install_theme_button_clicked_callback):
      	Remove eel_gtk_window_set_up_close_accelerator call, since this is a
      	GtkDialog that comes its own close accelerator.
      639ce8e4
  21. 15 Jan, 2002 1 commit
    • Darin Adler's avatar
      Inspired by a patch from Jacob Berkman <jacob@ximian.com>, got · 79c3c2e7
      Darin Adler authored
      	rid of all the Makefile.am hackery so that everything ends up in
      	the tarball.
      
      	* configure.in: Bumped version to 1.1.1.
      
      	* components/Makefile.am: Re-enabled all the subdirs.
      
      	* components/adapter/Makefile.am: Re-enabled
      	nautilus-adapter-embeddable-embed-strategy.[ch].
      
      	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
      	Put an #if GNOME2_CONVERSION_COMPLETE around the whole thing.
      
      	* components/loser/content/Makefile.am:
      	* components/loser/sidebar/Makefile.am:
      	Update for COMPONENT_CFLAGS in NAUTILUS_PRIVATE_CFLAGS.
      
      	* components/loser/content/main.c: (loser_make_object), (main):
      	* components/loser/sidebar/main.c: (loser_make_object), (main):
      	* components/loser/content/nautilus-content-loser.c:
      	(nautilus_content_loser_init):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(nautilus_sidebar_loser_init):
      	Make these compile, not sure if they actually work.
      
      	* components/shell/Nautilus_View_shell.server.in: Remove.
      	* components/shell/shell.c: Remove.
      	This component can go in a separate package -- it doesn't need to be
      	part of the main Nautilus source tree.
      
      	* components/text/Makefile.am: Turned off compiling of the component,
      	but used EXTRA_DIST to make sure the source code still gets into the
      	tarball.
      
      	* components/tree/Makefile.am: Removed $(COMPONENT_LIBS) from the
      	libnautilus_tree_view_la_SOURCES list. Not sure why it was in there.
      
      	* libnautilus-private/Makefile.am: Remove stale references to the
      	nautilus-druid-related headers.
      
      	* libnautilus/nautilus-view-standard-main.c:
      	(nautilus_view_standard_main_multi): Remove some
      	GNOME2_CONVERSION_COMPLETE code that is now clearly not going to
      	be needed. Left in the stuff that is a placeholder for things we
      	still need.
      
      	* src/Makefile.am: Distribute the profiler sources even when they are
      	not built.
      
      	* libnautilus-private/nautilus-icon-container.c: Whitespace tweak.
      79c3c2e7
  22. 09 Jan, 2002 1 commit
    • Darin Adler's avatar
      First cut at ensuring file names are always valid UTF-8. We probably need · c2db1e57
      Darin Adler authored
      	* libnautilus-private/nautilus-file.c: (make_valid_utf8),
      	(nautilus_file_get_display_name), (nautilus_file_get_name): First
      	cut at ensuring file names are always valid UTF-8. We probably
      	need other checks like this for various other places we read in
      	external stuff. Also, we might later decide to cache the "made
      	valid" name. Finally, we might want to support the glib
      	G_BROKEN_FILENAMES feature.
      c2db1e57
  23. 08 Jan, 2002 3 commits
    • Darin Adler's avatar
      Mention bad looking text. · 8c8ba31c
      Darin Adler authored
      	* TODO: Mention bad looking text.
      
      	* libnautilus-private/nautilus-icon-container.c: (destroy),
      	(finalize), (nautilus_icon_container_init), (item_event_callback),
      	(nautilus_icon_container_clear):
      	Various fixes to make destroy on a NautilusIconContainer work.
      
      	* components/tree/nautilus-tree-view-dnd.c:
      	(nautilus_tree_view_drag_motion), (nautilus_tree_view_drag_drop),
      	(nautilus_tree_view_button_press),
      	(nautilus_tree_view_button_release),
      	(nautilus_tree_view_motion_notify):
      	* libnautilus-private/nautilus-undo-signal-handlers.c:
      	(editable_key_press_event):
      	* src/nautilus-bookmarks-window.c: (handle_close_accelerator):
      	Remove unneeded stop_emit-type calls, now that the signal machinery
      	understands that TRUE means to stop emitting in some cases.
      8c8ba31c
    • Darin Adler's avatar
      Remove. Remove nautilus-help.desktop since Nautilus isn't the help browser · 2bab818c
      Darin Adler authored
      	* .cvsignore:
      	* Makefile.am:
      	* nautilus-help.desktop.in: Remove.
      	Remove nautilus-help.desktop since Nautilus isn't the help browser
      	any more.
      
      	* components/adapter/nautilus-adapter-load-strategy.c:
      	(nautilus_adapter_load_strategy_class_init):
      	* components/news/nautilus-news.c: (set_up_main_widgets):
      	* libnautilus-private/nautilus-bookmark.c:
      	(nautilus_bookmark_class_init):
      	* libnautilus-private/nautilus-volume-monitor.c:
      	(nautilus_volume_monitor_class_init):
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_destroy),
      	(fm_desktop_icon_view_handle_middle_click), (delayed_init),
      	(fm_desktop_icon_view_init), (desktop_icons_compare_callback):
      	* src/nautilus-sidebar.c: (nautilus_sidebar_finalize),
      	(nautilus_sidebar_update_buttons), (nautilus_sidebar_set_uri):
      	Use more g_signal, less gtk_signal stuff.
      
      	* components/hardware/nautilus-hardware-view.c: (setup_form_title),
      	(setup_overview_form), (setup_CPU_form), (setup_RAM_form),
      	(setup_IDE_form):
      	* components/news/nautilus-news.c: (set_up_main_widgets):
      	* src/file-manager/nautilus-indexing-info.c:
      	(update_progress_display), (last_index_time_dialog_new),
      	(index_progress_dialog_new):
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_init), (element_clicked_callback),
      	(labeled_image_new), (make_properties_from_directories),
      	(add_reset_property), (make_properties_from_xml_node):
      	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init),
      	(nautilus_sidebar_title_select_text_color), (update_title_font),
      	(update_title), (update_more_info),
      	(sidebar_title_create_title_label),
      	(sidebar_title_create_more_info_label):
      	Port more code from EelLabel to GtkLabel. Also change all code that
      	was using things like "make_larger" to use "set_scale" now.
      
      	* components/music/nautilus-music-view.c: (xpm_label_box),
      	(xpm_dual_label_box), (nautilus_music_view_set_album_image):
      	* libnautilus-private/nautilus-bookmark.c:
      	(create_image_widget_for_bookmark),
      	(nautilus_bookmark_menu_item_new):
      	* src/nautilus-complex-search-bar.c:
      	(load_find_them_pixmap_widget):
      	Port more code from GtkPixmap to GtkImage.
      
      	* components/notes/nautilus-notes.c:
      	* components/throbber/nautilus-throbber.c:
      	* src/file-manager/fm-properties-window.c:
      	* src/nautilus-zoom-control.c:
      	Remove extra includes.
      
      	* libnautilus-private/nautilus-icon-factory.c:
      	* libnautilus-private/nautilus-icon-factory.h:
      	Remove nautilus_icon_factory_get_pixmap_and_mask_for_file.
      
      	* src/nautilus-about.c: (draw_aa_string), (draw_author_list),
      	(nautilus_about_draw_info): Port to use Pango to draw the text. It
      	looks really bad right now, but should be straightforward to fix.
      2bab818c
    • Anders Carlsson's avatar
      New function to free a handle and it's associated object. · f2d6d7a1
      Anders Carlsson authored
      2002-01-08  Anders Carlsson  <andersca@gnu.org>
      
      	* libnautilus-private/nautilus-bonobo-extensions.c (activation_handle_free):
      	New function to free a handle and it's associated object.
      	(activation_idle_callback): Call activation_handle_free.
      	(activation_cancel): Likewise.
      f2d6d7a1