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 2 commits
  3. 16 Feb, 2002 1 commit
    • David Emory Watson's avatar
      Require eel 1.1.5. · f94e48bf
      David Emory Watson authored
      
      
      	* configure.in: Require eel 1.1.5.
      
      	* src/nautilus-sidebar-tabs.c
      	(nautilus_sidebar_tabs_set_color): Use eel_gdk_color_parse () for
      	backward compatible color spec. parsing.
      
      	* src/nautilus-property-browser.c:
      	(make_color_drag_image): Same as above.
      	(nautilus_property_browser_drag_data_get): Same as above.
      f94e48bf
  4. 15 Feb, 2002 2 commits
  5. 14 Feb, 2002 1 commit
    • jacob berkman's avatar
      add -DFOO_DISABLE_DEPRECATED to disable glib, gtk, and gnome deprecated · 8d0aed09
      jacob berkman authored
      2002-02-14  jacob berkman  <jacob@ximian.com>
      
      	* src/Makefile.am:
      	* src/file-manager/Makefile.am: add -DFOO_DISABLE_DEPRECATED to
      	disable glib, gtk, and gnome deprecated calls
      
      	* src/file-manager/fm-desktop-icon-view.c:
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-icon-view.c:
      	* src/file-manager/fm-properties-window.c:
      	* src/file-manager/fm-search-list-view.c:
      	* src/nautilus-about.c:
      	* src/nautilus-application.c:
      	* src/nautilus-bookmark-list.c:
      	* src/nautilus-bookmarks-window.c:
      	* src/nautilus-complex-search-bar.c:
      	* src/nautilus-location-bar.c:
      	* src/nautilus-main.c:
      	* src/nautilus-navigation-bar.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-search-bar-criterion.c:
      	* src/nautilus-shell.c:
      	* src/nautilus-sidebar-tabs.c:
      	* src/nautilus-sidebar-title.c:
      	* src/nautilus-sidebar.c:
      	* src/nautilus-simple-search-bar.c:
      	* src/nautilus-switchable-navigation-bar.c:
      	* src/nautilus-switchable-search-bar.c:
      	* src/nautilus-theme-selector.c:
      	* src/nautilus-view-frame.c:
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window-menus.c:
      	* src/nautilus-window-toolbars.c:
      	* src/nautilus-window.c:
      	* src/nautilus-zoom-control.c: port to non-deprecated calls.  This
      	was mostly GnomeDialog -> GtkDialog and gtk_signal -> g_signal
      8d0aed09
  6. 13 Feb, 2002 3 commits
    • David Emory Watson's avatar
      65a9c4e6
    • 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
    • Darin Adler's avatar
      Record the idle ID so we can cancel it properly. New. · c94e1063
      Darin Adler authored
      	* components/tree/nautilus-tree-model.c:
      	(schedule_destroy_unneeded_children): Record the idle ID so we can
      	cancel it properly.
      	* components/tree/nautilus-tree-view.c: (sort_model_iter_to_file):
      	New.
      	(sort_model_path_to_file): Renamed from path_to_file to clarify
      	which kid of path.
      	(selection_changed_callback): Replaces the old row_activated_callback.
      	Switch to the selected directory when you click on a row.
      	(create_tree): Connect the "changed" to the selection object.
      
      	* src/file-manager/fm-directory-view.c: Formatting tweaks.
      	(update_directory_in_scripts_menu): Fix storage leak.
      
      	* src/file-manager/fm-icon-view.c: (renaming_icon_callback): Enable
      	a bit of GNOME2_CONVERSION_COMPLETE code.
      	(create_icon_container): Formatting tweaks.
      c94e1063
  7. 12 Feb, 2002 4 commits
    • Darin Adler's avatar
      A few places where we said "=" but meant "==". · 3772c3da
      Darin Adler authored
      	* src/file-manager/fm-directory-view.c:
      	(metadata_for_directory_as_file_ready_callback),
      	(metadata_for_files_in_directory_ready_callback):
      	A few places where we said "=" but meant "==".
      3772c3da
    • David Emory Watson's avatar
      The blue component for Danube was 7FF but somehow got converted to FF instead... · ef43706a
      David Emory Watson authored
      The blue component for Danube was 7FF but somehow got converted to FF instead of the correct value of 7F.  This fix makes Danube a nice color again.
      ef43706a
    • Kjartan Maraas's avatar
      Updated Norwegian (bokml) translation. · 699bce04
      Kjartan Maraas authored
      2002-02-10  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* no.po: Updated Norwegian (bokml) translation.
      699bce04
    • 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
  8. 11 Feb, 2002 3 commits
  9. 10 Feb, 2002 5 commits
  10. 09 Feb, 2002 2 commits
    • Pauli Virtanen's avatar
      Updated Finnish translation and converted it to UTF-8. · ab3840c9
      Pauli Virtanen authored
      2002-02-09  Pauli Virtanen  <ptvirtan@cc.hut.fi>
      
      	* fi.po: Updated Finnish translation and converted it to UTF-8.
      ab3840c9
    • Seth Nickell's avatar
      Darin's script apparently went wrong, because a number of the themes got · d19f959d
      Seth Nickell authored
      2002-02-09  Seth Nickell  <snickell@stanford.edu>
      
      	* icons/crux_eggplant/i-directory-12.png:
      	* icons/crux_eggplant/i-directory-20.png:
      	* icons/crux_eggplant/i-directory-24.png:
      	* icons/crux_eggplant/i-directory-36.png:
      	* icons/crux_eggplant/i-directory-72.png:
      	* icons/crux_eggplant/i-directory.png:
      	* icons/crux_teal/i-directory-12.png:
      	* icons/crux_teal/i-directory-192.png:
      	* icons/crux_teal/i-directory-20.png:
      	* icons/crux_teal/i-directory-24.png:
      	* icons/crux_teal/i-directory-36.png:
      	* icons/crux_teal/i-directory-72.png:
      	* icons/crux_teal/i-directory-96.png:
      	* icons/crux_teal/i-directory.png:
      	* icons/crux_teal/i-regular-12.png:
      	* icons/crux_teal/i-regular-192.png:
      	* icons/crux_teal/i-regular-20.png:
      	* icons/crux_teal/i-regular-24.png:
      	* icons/crux_teal/i-regular-36.png:
      	* icons/crux_teal/i-regular-72.png:
      	* icons/crux_teal/i-regular-96.png:
      	* icons/crux_teal/i-regular.png:
      	* icons/sierra/i-directory-12.png:
      	* icons/sierra/i-directory-24.png:
      	* icons/sierra/i-directory-36.png:
      	* icons/sierra/i-directory-72.png:
      	* icons/sierra/i-directory-96.png:
      	* icons/sierra/i-directory-accept-12.png:
      	* icons/sierra/i-directory-accept-24.png:
      	* icons/sierra/i-directory-accept-36.png:
      	* icons/sierra/i-directory-accept-72.png:
      	* icons/sierra/i-directory-accept-96.png:
      	* icons/sierra/i-directory-accept.png:
      	* icons/sierra/i-directory.png:
      
      	Darin's script apparently went wrong, because a number of the themes
      	got switched to only having the *non* anti-aliased icons. Replaced
      	them with the anti-aliased versions.
      d19f959d
  11. 08 Feb, 2002 3 commits
    • Darin Adler's avatar
      Added open pixbuf support. · de85ecad
      Darin Adler authored
      	* components/tree/nautilus-tree-model.h:
      	* components/tree/nautilus-tree-model.c: (tree_node_destroy),
      	(tree_node_get_pixbuf_from_factory), (tree_node_update_pixbuf),
      	(tree_node_update_closed_pixbuf), (tree_node_update_open_pixbuf),
      	(tree_node_get_closed_pixbuf), (tree_node_get_open_pixbuf),
      	(update_node_without_reporting),
      	(nautilus_tree_model_get_column_type),
      	(nautilus_tree_model_get_value):
      	Added open pixbuf support.
      
      	* components/tree/nautilus-tree-view.c: (save_expansion_state):
      	Fix storage leak.
      	(row_activated_callback): Fix NautilusFile ref. count leak.
      	(create_tree): Pass in open pixbuf for "pixbuf_expander_open".
      	(get_filtering_as_integer), (update_filtering_from_preferences),
      	(filtering_changed_callback), (nautilus_tree_view_instance_init),
      	(nautilus_tree_view_finalize): Starting on code needed to
      	respect the filtering preferences.
      de85ecad
    • Darin Adler's avatar
      New. (insert_node): New. (reparent_node): New. (update_node): Handle files · d6be4c4a
      Darin Adler authored
      	* components/tree/nautilus-tree-model.h:
      	* components/tree/nautilus-tree-model.c:
      	(get_parent_node_from_file): New.
      	(insert_node): New.
      	(reparent_node): New.
      	(update_node): Handle files that disappear or move.
      	(process_file_change): Don't create nodes for files that are
      	already gone by the time we get here.
      	(done_loading_callback): Don't assert if the node for this file
      	is gone by the time this shows up.
      	(done_loading_idle_callback): New.
      	(start_monitoring_directory): Do a done_loading callback for
      	directories that are already fully loaded at the start. We have
      	to do this at idle time, though, since the tree code can't handle
      	all the new nodes showing up inside ref_node.
      	(nautilus_tree_model_iter_n_children): Add; was missing.
      	(destroy_unneeded_children): New.
      	(destroy_unneeded_children_idle_callback): New.
      	(last_child_unref): Destroy the children at idle time, not right
      	away. I did this to try to make GtkTreeModelSort work, but it
      	didn't fix the whole problem, so maybe take this out later.
      	(nautilus_tree_model_unref_node): Tighten assert.
      	(nautilus_tree_model_iter_get_file): New.
      	(nautilus_tree_model_finalize): Cleanup for new idle functions.
      	(nautilus_tree_model_tree_model_init):
      
      	* components/tree/nautilus-tree-view.c: (load_expansion_state):
      	New placeholder, not yet implemented.
      	(path_to_file): New.
      	(prepend_one_uri): New.
      	(save_expansion_state): New.
      	(save_expansion_state_idle_callback): New.
      	(schedule_save_expansion_state_callback): New.
      	(got_activation_uri_callback): New.
      	(cancel_activation): New.
      	(row_activated_callback): New.
      	(create_tree): Put in first cut at using GtkTreeModelSort;
      	couldn't get it working so it's ifdef'd out. Save list of expanded
      	URIs next idle after a row is expanded or collapsed. Switch the
      	view location when a row is activated.
      	(tree_activate_callback): Put in a call to load_expansion_state,
      	although it's not implemented yet.
      	(nautilus_tree_view_finalize): Cleanup for new idle functions.
      d6be4c4a
    • Duarte Loreto's avatar
      Updated Portuguese translation. · 2ea50bda
      Duarte Loreto authored
      2002-02-08  Duarte Loreto <happyguy_pt@hotmail.com>
      
              * pt.po: Updated Portuguese translation.
      2ea50bda
  12. 07 Feb, 2002 3 commits
    • Kwok-Koon Cheung's avatar
      Updated traditional Chinese translation · c0dc39cd
      Kwok-Koon Cheung authored
      c0dc39cd
    • Changwoo Ryu's avatar
      Updated Korean translation. · 88b71b0a
      Changwoo Ryu authored
      88b71b0a
    • 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
  13. 06 Feb, 2002 2 commits
    • Dave Camp's avatar
      Make this component build with the deprecation flags set. · 4285ceae
      Dave Camp authored
      2002-02-06  Dave Camp  <dave@ximian.com>
      
      	* components/news/nautilus-news.c: Make this component build with
      	the deprecation flags set.
      	(update_size_and_redraw): #ifed out the gtk_widget_set_usize()
      	call pending changes to the size negotation code.
      	(get_xml_path): Use g_file_test() instead of g_file_exists().
      	(add_channel_to_remove_list), (remove_selected_site),
      	(make_remove_widgets): Use a GtkTreeView instead of a GtkCList
      	here.
      	(determine_sort_position): Use gtk_container_get_children()
      	instead of gtk_container_children().
      	(add_channel_entry): Use g_object_set_data() instead of
      	gtk_object_set_user_data().
      	(remove_list_selection_changed): New function, update the remove
      	button.
      	(update_remove_button): Make the remove button insensitive if no
      	channel is selected for removal.
      	(make_remove_widgets), (make_add_widgets), (add_command_buttons):
      	Use gtk_box_set_spacing() instead of gtk_button_box_set_spacing(),
      	and remove calls to gtk_button_box_set_child_size().
      4285ceae
    • Michael Meeks's avatar
      guard against re-enterancy; hold refs on the sidebars. · f542674b
      Michael Meeks authored
      2002-02-06  Michael Meeks  <michael@ximian.com>
      
      	* src/nautilus-window-manage-views.c
      	(load_new_location_in_sidebar_panels): guard
      	against re-enterancy; hold refs on the sidebars.
      
      	* src/file-manager/fm-directory-view.c
      	(fm_directory_view_class_init): move re-entering
      	auto preference registers to
      	(fm_directory_view_init): here.
      f542674b
  14. 05 Feb, 2002 2 commits
    • 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
    • Anders Carlsson's avatar
      Port to GtkTreeView, lots of work still remains though. · c1758967
      Anders Carlsson authored
      2002-02-05  Anders Carlsson  <andersca@gnu.org>
      
      	* components/tree/Makefile.am:
      	* components/tree/nautilus-tree-model.c:
      	(nautilus_tree_node_set_parent), (nautilus_tree_node_new),
      	(nautilus_dummy_tree_node_new), (nautilus_tree_node_update_icons),
      	(nautilus_tree_model_get_type), (nautilus_tree_model_init),
      	(nautilus_tree_model_class_init), (uri_get_parent_text),
      	(nautilus_tree_model_get_node_from_file),
      	(nautilus_tree_model_get_node), (report_node_changed),
      	(report_root_node_if_possible), (process_file_change),
      	(nautilus_tree_model_directory_files_changed_callback),
      	(nautilus_tree_model_directory_done_loading_callback),
      	(nautilus_tree_model_begin_monitoring_directory),
      	(nautilus_tree_model_get_n_columns),
      	(nautilus_tree_model_get_column_type),
      	(nautilus_tree_model_get_iter), (nautilus_tree_model_get_path),
      	(nautilus_tree_model_get_value), (nautilus_tree_model_iter_next),
      	(nautilus_tree_model_iter_children),
      	(nautilus_tree_model_iter_parent),
      	(nautilus_tree_model_iter_has_child),
      	(nautilus_tree_model_iter_nth_child),
      	(nautilus_tree_model_tree_model_init),
      	(nautilus_tree_model_root_node_file_monitor),
      	(nautilus_tree_model_set_root_uri), (nautilus_tree_model_new),
      	(nautilus_tree_model_dump_helper), (nautilus_tree_model_dump):
      	* components/tree/nautilus-tree-model.h:
      	* components/tree/nautilus-tree-view.c: (create_tree),
      	(tree_activate_callback), (dump_tree), (nautilus_tree_view_init),
      	(nautilus_tree_view_class_init):
      	* components/tree/nautilus-tree-view.h:
      	Port to GtkTreeView, lots of work still remains though.
      
      	* src/nautilus-application.c: (finish_startup):
      	Remove GMC trash migration.
      c1758967
  15. 04 Feb, 2002 6 commits