1. 16 May, 2003 1 commit
  2. 15 May, 2003 1 commit
    • Alexander Larsson's avatar
      Added new files. · 11958681
      Alexander Larsson authored
      2003-05-15  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/Makefile.am:
      	Added new files.
      
      	* libnautilus-private/apps_nautilus_preferences.schemas.in:
      	* libnautilus-private/nautilus-global-preferences.[ch]:
      	New prefs for home and trash links.
      
      	* libnautilus-private/nautilus-desktop-directory.[ch]:
      	New files. Implements the NautilusDesktop object for the
      	virtual x-nautilus-desktop: uri. The directory merges the contents
      	of the directory with the real desktop directory.
      
      	* libnautilus-private/nautilus-desktop-directory-file.[ch]:
      	New files. Implements the Nautilusfile corresponding to
      	NautilusDestkopDirectory.
      
      	* libnautilus-private/nautilus-desktop-icon-file.[ch]:
      	New files.
      	Implement NautilusFile for a virtual file in a NautilusDesktopDirectory.
      	Gets all the actual file data from a NautilusDesktopLink.
      
      	* libnautilus-private/nautilus-desktop-link-monitor.[ch]:
      	New files.
      	Keep track of home and trash visibility prefs and mounted volumes and
      	create/destroy corresponding NautilusDesktopLink object.
      
      	* libnautilus-private/nautilus-desktop-link.[ch]:
      	New files.
      	Keeps track of all the real information in a desktop icon link.
      	These are home, trash and volume links at the moment.
      
      	* libnautilus-private/nautilus-directory-async.c:
      	Indentation correction.
      
      	* libnautilus-private/nautilus-directory.c:
      	(nautilus_directory_new):
      	Create NautilusDesktopDirectory objects for x-nautilus-desktop: uris
      
      	* libnautilus-private/nautilus-dnd.c: (nautilus_drag_items_local):
      	Handle NULL GnomeVFSURIs.
      	(nautilus_drag_items_on_desktop): New function to check if items
      	are on the desktop.
      	(nautilus_drag_default_drop_action_for_icons):
      	Special case desktop uris.
      	(nautilus_drag_selection_includes_special_link):
      	Convert from old-style special links to current.
      
      	* libnautilus-private/nautilus-dnd.h:
      	New function nautilus_drag_items_on_desktop.
      
      	* libnautilus-private/nautilus-file-operations.c:
      	(is_special_link), (nautilus_file_operations_copy_move):
      	Convert from old-style special links to current.
      	(nautilus_file_operations_delete):
      	Special case desktop links
      
      	* libnautilus-private/nautilus-file-utilities.[ch]:
      	(nautilus_get_desktop_directory):
      	(nautilus_get_gmc_desktop_directory):
      	Change desktop dir to ~/Desktop
      	(nautilus_get_desktop_directory_uri):
      	New function to return desktop dir as a uri.
      
      
      	* libnautilus-private/nautilus-file.c:
      	(nautilus_file_new_from_relative_uri),
      	(nautilus_file_get_internal):
      	Handle creation of desktop icon files.
      	(nautilus_file_can_rename), (rename_guts),
      	(nautilus_file_get_drop_target_uri):
      	Update for new special links.
      	(nautilus_file_is_in_desktop):
      	Update for new desktop dir.
      	(nautilus_file_get_uri):
      	Fix uris for self owned files. This changed due to
      	the new canonicalization rules for foo:
      
      
      	* libnautilus-private/nautilus-icon-dnd.c:
      	(nautilus_icon_container_selection_items_local),
      	(handle_nonlocal_move):
      	Handle desktop uri.
      
      	* src/Nautilus_shell.server.in:
      	icon view handles x-nautilus-desktop: uris
      
      	* src/nautilus-application.c: (finish_startup):
      	Initialize the desktop link monitor
      
      	* src/nautilus-desktop-window.c:
      	(nautilus_desktop_window_update_directory):
      	Show x-nautilus-desktop:
      
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_finalize), (fm_desktop_icon_view_init),
      	(volume_ops_callback), (trash_link_is_selection),
      	(volume_link_is_selection), (volume_link_device_type),
      	(real_supports_zooming):
      
      	* src/file-manager/fm-directory-view.c:
      	Remove lots of old support for desktop icon.
      	Reimplement some of it with the new desktop icon support.
      
      	* src/file-manager/fm-directory-view.h:
      	New function fm_directory_view_get_backing_uri
      
      	* src/file-manager/fm-icon-container.c:
      	(fm_icon_container_get_icon_text):
      	Don't show extra text for desktop icons
      	(get_sort_category): Update for new desktop icons
      
      	* src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list):
      	Use get_backing_uri()
      
      	* src/file-manager/fm-properties-window.c: (get_target_file):
      	Use the new desktop icon support.
      
      	* libnautilus-private/nautilus-icon-container.c:
      	(lay_down_icons_tblr):
      	Don't loop forever if icon doesn't in the height of the container.
      11958681
  3. 02 Oct, 2002 1 commit
    • Mark McLoughlin's avatar
      Merge the multihead branch into HEAD and : · 3e6bfd6a
      Mark McLoughlin authored
      2002-10-02  Mark McLoughlin  <mark@skynet.ie>
      
              * acconfig.h: define HAVE_GTK_MULTIHEAD for
              egg-screen-exec methods.
      
              * configure.in: require gtk 2.1.0 and don't
              define HAVE_GTK_MULTIHEAD.
      
              * libnautilus-private/nautilus-multihead-hacks.h: kill.
      
              * libnautilus-private/nautilus-directory-background:
              (make_root_pixmap), (set_root_pixmap): use
               gdk_screen_get_display instead of assuming the default
              display.
      
              * src/nautilus-shell.c: (restore_one_window_callback):
              add backwards compat support for sessions without
              a screen number.
      3e6bfd6a
  4. 29 Aug, 2002 1 commit
  5. 18 Jul, 2002 1 commit
    • Frank Worsley's avatar
      improve saving of geometry. only save it if we really resize a window, not · 4552eb2e
      Frank Worsley authored
      2002-07-17  Frank Worsley  <fworsley@shaw.ca>
      
      	* src/nautilus-application.c: (save_window_geometry_timeout),
      	(nautilus_window_configure_event_callback),
      	(nautilus_window_unrealize_event_callback):
      	improve saving of geometry. only save it if we really resize
      	a window, not when a window is first shown or viewport change
      
      	* src/nautilus-shell.c: (open_window):
      	* src/nautilus-bookmarks-window.c:
      	(nautilus_bookmarks_window_restore_geometry):
      	update for changed eel function
      
      
      	* src/nautilus-window-manage-views.c:
      	(pending_location_already_showing): added new
      	(position_and_show_window_callback):
      	ignore saved window position if same window already showing
      
      	* src/nautilus-window.c: (nautilus_window_instance_init),
      	(nautilus_window_save_geometry):
      	* src/nautilus-window.h:
      	updated for new eel function and changes described above
      4552eb2e
  6. 10 Jul, 2002 1 commit
  7. 08 Jul, 2002 1 commit
    • Gregory Merchan's avatar
      Modified Files: ChangeLog components/music/nautilus-music-view.c · 192f597c
      Gregory Merchan authored
      
      Modified Files:
      	ChangeLog components/music/nautilus-music-view.c
      	components/news/nautilus-news.c
      	libnautilus-private/nautilus-customization-data.c
      	libnautilus-private/nautilus-directory-async.c
      	libnautilus-private/nautilus-file-utilities.c
      	libnautilus-private/nautilus-file-utilities.h
      	libnautilus-private/nautilus-find-icon-image.c
      	libnautilus-private/nautilus-icon-factory.c
      	libnautilus-private/nautilus-link-historical.c
      	libnautilus-private/nautilus-theme.c
      	src/nautilus-application.c src/nautilus-bookmark-list.c
      	src/nautilus-first-time-druid.c
      	src/nautilus-property-browser.c src/nautilus-window-menus.c
      	src/file-manager/fm-desktop-icon-view.c
      Removed nautilus_make_path and calls to it. Fixes bug #42424
      192f597c
  8. 02 Jul, 2002 1 commit
  9. 11 Jun, 2002 2 commits
    • Alexander Larsson's avatar
      Fix indentation. · d5842786
      Alexander Larsson authored
      2002-06-11  Alexander Larsson  <alla@lysator.liu.se>
      
      	* src/nautilus-window.h (nautilus_window_save_geometry):
      	* src/nautilus-window-manage-views.c (determined_initial_view_callback):
      	* src/nautilus-application.c (nautilus_application_create_window):
      	Fix indentation.
      
      	* NEWS:
      	Update version
      
      	* configure.in:
      	Bump requirements to latest versions.
      d5842786
    • Frank Worsley's avatar
      always load the saved window geometry and save the geometry whenever a · 97c03823
      Frank Worsley authored
      2002-06-10  Frank Worsley  <fworsley@shaw.ca>
      
      	* src/nautilus-application.c:
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window.c:
      	* src/nautilus-window.h:
      	always load the saved window geometry and save the geometry
      	whenever a window is resized
      97c03823
  10. 31 May, 2002 1 commit
    • Damon Chaplin's avatar
      realize the desktop window immediately, and do a gdk_flush(), so the · e6df4a24
      Damon Chaplin authored
      2002-05-31  Damon Chaplin  <damon@ximian.com>
      
      	* src/nautilus-application.c
      	(nautilus_application_create_desktop_window): realize the desktop
      	window immediately, and do a gdk_flush(), so the
      	NAUTILUS_DESKTOP_WINDOW_ID property is set and gnome-settings-daemon
      	can tell that nautilus is running. Fixes part of #74311.
      e6df4a24
  11. 30 May, 2002 1 commit
  12. 22 May, 2002 1 commit
  13. 21 Apr, 2002 1 commit
    • Alexander Larsson's avatar
      Only display toplevel window when it's fully constructed. · df81a1e4
      Alexander Larsson authored
      2002-04-21  Alexander Larsson  <alla@lysator.liu.se>
      
      	* src/nautilus-window.h:
      	* src/nautilus-window-manage-views.c:
      	Only display toplevel window when it's fully constructed.
      
      	* src/nautilus-desktop-window.c (nautilus_desktop_window_new):
      	* src/nautilus-application.c (nautilus_application_create_desktop_window):
      	Don't show desktop window here. It's shown later when the view
      	is loaded.
      
      	* libnautilus-private/nautilus-horizontal-splitter.c
      	(nautilus_horizontal_splitter_pack2): Remove old code that is
      	not neccesary when we display the window fully constructed.
      df81a1e4
  14. 18 Apr, 2002 1 commit
    • Michael Meeks's avatar
      replace all the OAFIIDs with more sensibly named ones, that follow the · e72152dd
      Michael Meeks authored
      2002-04-18  Michael Meeks  <michael@ximian.com>
      
      	* *.server.in, *.c: replace all the OAFIIDs with more
      	sensibly named ones, that follow the namespacing
      	guidelines in the libbonobo/docs/FAQ. Needs a new
      	gnome-vfs to work well.
      
      	* src/nautilus-window-toolbars.c
      	(throbber_set_throbbing): impl.
      	(throbber_created_callback): upd.
      	(nautilus_window_allow_stop): upd.
      
      	* libnautilus-private/nautilus-mime-actions.c
      	(nautilus_do_component_query): remove hack around bonobo's
      	sample text component, we no longer have one.
      e72152dd
  15. 18 Mar, 2002 1 commit
    • Michael Meeks's avatar
      guard window creation to avoid re-enterancy, via. other shell calls to · a8bb3c5d
      Michael Meeks authored
      
      	* src/nautilus-application.c
      	(nautilus_application_create_desktop_window):
      	guard window creation to avoid re-enterancy, via.
      	other shell calls to create windows.
      
      	* src/nautilus-main.c (main): vfs and bonobo init
      	is done for us by gnome_program_init.
      
      	* src/nautilus-view-frame.c
      	(nautilus_view_frame_selection_changed),
      	(send_history): check we have a listener before
      	constructing potentially large and slow change
      	notifications.
      
      	* configure.in: require bonobo 1.113.0 where we have
      	the event source acceleration.
      a8bb3c5d
  16. 07 Mar, 2002 2 commits
    • Darin Adler's avatar
      Because lots of recent bugs were due to "signal handler called after · 136742e4
      Darin Adler authored
      	* Tons of files:
      	Because lots of recent bugs were due to "signal handler called after
      	object gone" problems, switched many calls of g_signal_connect and
      	g_signal_connect_swapped to use g_signal_connect_object instead.
      	Also did other signal-related cleanup and changed some destroys to
      	finalizes.
      
      	* libnautilus/nautilus-view-standard-main.h:
      	We no longer need to include nautilus-view.h in here. So include it
      	in the files that use this instead.
      
      	Did merges from stable branch:
      
      	2001-10-25  Darin Adler  <darin@bentspoon.com>
      
              * libnautilus-private/nautilus-directory.c:
              (call_files_changed_common), (call_files_changed_free_list),
              (call_files_changed_unref_free_list),
              (nautilus_directory_notify_files_changed): Move call to
              nautilus_directory_add_file_to_work_queue into a better
              bottleneck; now it catches all the notify cases, not just changed.
              Also tell it to re-get top-left text and link info too when we get
              a changed notice.
      
              * src/file-manager/fm-directory-view.c: (queue_pending_files):
              Don't use the timeout (and the hysteresis) when queuing files once
              the initial directory load is complete. Doing this was causing
              delays processing changes that came in later, which we don't want.
      
              * src/nautilus-sidebar-title.c: (item_count_ready), (monitor_add),
      	(update_all), (nautilus_sidebar_title_set_file): Monitor the
      	directory count once we get it the first time. This makes sure
      	that changes in the directory count get reflected in the sidebar
      	without creating a race with the main view to see who calculates
      	it first.
      
      	2001-10-25  Alex Larsson  <alexl@redhat.com>
      
              * libnautilus-private/nautilus-directory.c
      	(nautilus_directory_notify_files_changed): Call
      	nautilus_directory_add_file_to_work_queue() when file_info is
      	invalidated.  Otherwise it will not be read again.
      136742e4
    • Michael Meeks's avatar
      impl. to cope with having a paned with no child2, without doing lots of · 6b579803
      Michael Meeks authored
      2002-03-07  Michael Meeks  <michael@ximian.com>
      
      	* libnautilus-private/nautilus-horizontal-splitter.c
      	(nautilus_horizontal_splitter_size_allocate): impl. to
      	cope with having a paned with no child2, without doing
      	lots of bogus size re-allocation.
      	(nautilus_horizontal_splitter_class_init): upd.
      	(nautilus_horizontal_splitter_pack2): impl, since
      	gtkpaned relies on the re-size to generate an expose
      	to re-render it's splitter grabber thing.a
      
      	* src/nautilus-sidebar.c
      	(nautilus_sidebar_set_width): impl. moving all sidebar
      	preferences here,
      	(nautilus_sidebar_init): move auto value setup
      	here from class_init to save possible re-enterancy
      	issue. Request the size we want for the sidebar,
      	the pane will under-allocate if neccessary.
      	Set the old_width to the correct size so we don't
      	re-render the paned lots as it swiches about.
      
      	* src/nautilus-window.c
      	(nautilus_window_constructed): reflow to simplify,
      	call sidebar_set_width.
      	(nautilus_window_set_content_view_widget): use
      	nautilus_..._pack2 instead of gtk_paned to fix rendering.
      
      2002-03-06  Michael Meeks  <michael@ximian.com>
      
      	* components/notes/nautilus-notes.c
      	(make_notes_view): upd.
      
      	* components/news/nautilus-news.c
      	(rss_read_done_callback): parse the RTF, but don't spew
      	warnings everywhere.
      	(make_news_view): upd.
      
      	* components/throbber/main.c
      	(cb_create_throbber): impl.
      	(throbber_object_destroyed, throbber_make_object):
      	axe cut & paste.
      
      	* libnautilus/nautilus-view-standard-main.c
      	(nautilus_view_create_from_get_type_function):
      	widen from NautilusView to BonoboObject, this
      	code has a much wider application.
      	(make_object): ditto.
      
      	* components/hardware/nautilus-hardware-view.c
      	(nautilus_hardware_view_get_nautilus_view): upd.
      
      	* components/throbber/nautilus-throbber.c
      	(nautilus_throbber_new): kill.
      
      	* libnautilus/nautilus-view-standard-main.c
      	(nautilus_view_standard_main_multi): use gdk_get_display.
      
      	* libnautilus-private/nautilus-bonobo-extensions.c
      	(nautilus_bonobo_activation_register_for_display): impl.
      
      	* src/nautilus-application.c
      	(nautilus_application_startup): use it.
      
      	* src/nautilus-window-toolbars.c
      	(location_change_at_idle_callback),
      	(throbber_callback): move from nautilus-window.c
      	(nautilus_window_allow_stop): move this here,
      	prune redundant sets, simplify property bag
      	extraction.
      
      	* src/nautilus-window.c
      	(nautilus_window_constructed): move throbber
      	location changed code out of here.
      	(nautilus_window_unrealize): no explicit removal
      	from remote property bag neccessary & upd.
      
      	* libnautilus-private/nautilus-metafile-factory.c
      	(corba_open): reduce complexity.
      6b579803
  17. 06 Mar, 2002 1 commit
    • Darin Adler's avatar
      Say "Close" instead of "Done". · 4e516697
      Darin Adler authored
      	* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
      	Say "Close" instead of "Done".
      
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_init): Say "Close" instead of "Done".
      
      	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init): Use
      	g_signal_connect_object instead of g_signal_connect_swapped.  This
      	will probably fix the theme-switching problem people have been
      	complaining about.
      
      	* src/nautilus-preferences-dialog.c: Tweak formatting.
      	* src/file-manager/fm-properties-window.c: Tweak formatting.
      
      	* src/nautilus-application.c: Fix bug # in a comment.
      4e516697
  18. 27 Feb, 2002 2 commits
    • Darin Adler's avatar
      Just release, don't unref. (get_metafile): Don't keep a ref. Also fix · 3035a352
      Darin Adler authored
              * libnautilus-private/nautilus-directory-metafile.c:
              (free_factory): Just release, don't unref.
              (get_metafile): Don't keep a ref. Also fix CORBA objref leak.
      
              * libnautilus-private/nautilus-icon-factory.c:
              (get_icon_from_cache):
      
              * libnautilus-private/nautilus-metafile-factory.c:
              (nautilus_metafile_factory_get_instance): Return the same
              instance each time, don't ref, since lifetime is not managed
              by ref counting.
      
              * libnautilus/nautilus-clipboard.c:
              (initialize_clipboard_component_with_callback_data):
              Get rid of BonoboUIComponent leak.
      
              * src/nautilus-application.c: Formatting tweaks.
              * libnautilus-private/nautilus-bookmark.c: Minor cleanup.
      
              * test/Makefile.am:
              * test/test-nautilus-async-activation.c: Remove.
      3035a352
    • Darin Adler's avatar
      Simplified calls to bonobo_object_ref/unref. · f5874fd2
      Darin Adler authored
      	* Many files:
      	Simplified calls to bonobo_object_ref/unref.
      
      	* components/history/nautilus-history-view.c: (update_history):
      	Fixed so that a history update while one is already in progress
      	will work properly.
      
      	* libnautilus/nautilus-view.c:
      	(remove_listener): New.
      	(update_listener): Renamed from nautilus_view_set_frame, made it
      	handle various cases better. Fixed leak of property bag.
      	(forget_cached_view_frame): New.
      	(nautilus_view_set_frame_callback): Use new forget_cached_view_frame
      	and update_listener.
      	(nautilus_view_construct_from_bonobo_control): Use
      	g_signal_connect_object.  Not sure if this is better, since they
      	are part of the same aggregate.
      	(nautilus_view_finalize): Use new forget_cached_view_frame and
      	remove_listener.
      	(nautilus_view_dispose): Use new forget_cached_view_frame and
      	remove_listener.
      	(nautilus_view_get_view_frame): Fixed leak of control frame.
      	(nautilus_view_set_listener_mask): Simplified, and made it work even
      	if you call it multiple times, by calling new update_listener.
      
      	* libnautilus-private/nautilus-icon-canvas-item.c:
      	(create_label_layout): Handle NULL font_name case just in case.
      	* libnautilus-private/nautilus-icon-container.c:
      	(nautilus_icon_container_set_zoom_level): Use
      	invalidate_label_sizes instead of setting update_icon_font.
      	(nautilus_icon_container_set_font_name): Do nothing if font name
      	doesn't change. If it does, use invalidate_label_sizes rather than
      	setting update_icon_font.
      	(nautilus_icon_container_set_font_size_table): Only redraw if font
      	size changes. Also, use invalidate_label_sizes rather than setting
      	update_icon_font.
      
      	* libnautilus-private/nautilus-directory.c:
      	(add_preferences_callbacks):
      	* libnautilus-private/nautilus-icon-factory.c: (get_icon_factory):
      	Initialize global preferences as needed.
      
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_finalize):
      	* src/file-manager/fm-search-list-view.c: (real_destroy):
      	* src/nautilus-application.c: (nautilus_application_destroy),
      	(nautilus_application_create_window),
      	(nautilus_application_class_init):
      	* src/nautilus-main.c: (main):
      
      	* src/nautilus-view-frame.c: (create_corba_objects): Fix property
      	bag leak.
      f5874fd2
  19. 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
  20. 05 Feb, 2002 1 commit
    • 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
  21. 01 Feb, 2002 1 commit
    • John Harper's avatar
      Make the search feature work again: · f828c6c3
      John Harper authored
      2002-01-31  John Harper  <jsh@unfactored.org>
      
      	Make the search feature work again:
      
      	* configure.in: fixed how HAVE_MEDUSA is defined. Add
      	MEDUSA_CFLAGS to CORE_CFLAGS
      
      	* src/file-manager/fm-search-list-view.c: moved some of the
      	GNOME2_CONVERSION_COMPLETE ifdefs around so that we get a
      	functional object, just without some of the features of the
      	original
      
      	* src/nautilus-shell-ui.xml: copied search parts from nautilus
      	1 version
      
      	* src/nautilus-application.c (create_object): reenable
      	search-list-view creation
      
      	* src/file-manager/nautilus-indexing-info.c: random changes to
      	make it compile (untested as yet)
      f828c6c3
  22. 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
  23. 17 Jan, 2002 1 commit
    • 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
  24. 08 Jan, 2002 1 commit
    • Anders Carlsson's avatar
      Remove preferences calback in ::finalize. · ab5fb6c7
      Anders Carlsson authored
      2002-01-08  Anders Carlsson  <andersca@gnu.org>
      
      	* src/nautilus-zoom-control.c (nautilus_zoom_control_finalize): Remove
      	preferences calback in ::finalize.
      	(nautilus_zoom_control_unload_images): Set image pointers to NULL after
      	unloading images.
      
      	* src/nautilus-window-menus.c: Remove some userlevel #defines.
      
      	* src/nautilus-switchable-search-bar.c
      	(nautilus_switchable_search_bar_finalize): Remove the preferences callback
      	in ::finalize instead of ::destroy.
      
      	* src/nautilus-switchable-navigation-bar.c: Create the search bar lazily.
      	Creating the search bar came up high on the profile when creating new windows,
      	and doing it lazily helps, especially when we don't have medusa support yet.
      	(nautilus_switchable_navigation_bar_finalize): Free details in ::finalize.
      
      	* src/nautilus-simple-search-bar.c (nautilus_simple_search_bar_finalize):
      	Free details in ::finalize.
      	(nautilus_simple_search_bar_destroy): Disable the undo stuff. Perhaps we could
      	call connect to "destroy" in nautilus_undo_set_up_nautilus_entry_for_undo
      	and call nautilus_undo_tear_down_nautilus_entry_for_undo there instead.
      
      	* src/nautilus-sidebar.c (nautilus_sidebar_init): Ref and sink the title tab.
      	(nautilus_sidebar_finalize): Move things from ::finalize to ::destroy.
      
      	* src/nautilus-preferences-dialog.c
      	(preferences_dialog_populate_themes_group): The image chooser isn't
      	broken anymore so we can enable it now.
      
      	* src/nautilus-main.c (main): Call gtk_main instead of bonobo_main
      	since bonobo_main is for non-gui apps and won't be affected by
      	gtk_main_quit.
      
      	* src/nautilus-location-bar.c: Destroy things in ::finalize
      	instead of in ::destroy.
      
      	* src/nautilus-profiler.c: Port to GtkTextView.
      
      	* src/nautilus-application.c (nautilus_application_new):
      	Call bonobo_generic_factory_construct_noreg so that we set
      	the IID.
      	(nautilus_application_destroy): Unref the undo manager
      	in ::destroy instead.
      
      	* libnautilus-private/nautilus-icon-container.c:
      	Use g_list_sort_with_data when sorting icons so we can get rid
      	of the hack_icon_container hack.
      
      	* libnautilus-private/nautilus-entry.c: Free details struct
      	in ::finalize instead of in ::destroy
      
      	* libnautilus-private/nautilus-icon-dnd.c
      	(confirm_switch_to_manual_layout): Compare with GTK_RESPONSE_YES.
      
      	* libnautilus-private/nautilus-file-operations.c
      	(confirm_empty_trash): Compare with GTK_RESPONSE_YES.
      
      So now you know what I've been doing during christmas...
      ab5fb6c7
  25. 12 Dec, 2001 1 commit
    • Michael Meeks's avatar
      protect vs. double destroy. · f9769d4c
      Michael Meeks authored
      2001-12-12  Michael Meeks  <michael@ximian.com>
      
      	* src/nautilus-window.c (nautilus_window_destroy):
      	protect vs. double destroy.
      
      	* src/nautilus-window-manage-views.c (disconnect_view):
      	start macro definitions on the first line.
      
      	* src/nautilus-sidebar.c (nautilus_sidebar_destroy):
      	protect vs. double destroy.
      
      	* src/nautilus-sidebar-tabs.c
      	(nautilus_sidebar_tabs_destroy): protect vs. double destroy
      	and theoretical re-enterancy hazard.
      
      	* src/nautilus-sidebar-title.c
      	(nautilus_sidebar_title_destroy): protect vs. double
      	destroys.
      
      	* src/nautilus-application.c (create_object): re-enable
      	list view.
      
      	* src/file-manager/fm-list-view.c: re-enable.
      f9769d4c
  26. 09 Nov, 2001 1 commit
  27. 08 Nov, 2001 1 commit
    • Darin Adler's avatar
      Remove Nautilus 1 news. This file is empty for now. Add some renaming · 3f4aeca2
      Darin Adler authored
      	* NEWS: Remove Nautilus 1 news. This file is empty for now.
      	* RENAMING: Add some renaming ideas.
      	* TODO: Add a tiny porting to-do list. I should take that
      	survey of GNOME2_CONVERSION_COMPLETE that Havoc did and put
      	it in here.
      	* TRADEMARK_NOTICE: Removed this file. Eazel logo isn't in
      	here any more.
      	* Makefile.am: Remove TRADEMARK_NOTICE.
      
      	* components/help/hyperbola-nav-index.c:
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	* libnautilus-private/nautilus-authn-manager.c:
      	* libnautilus-private/nautilus-file-operations-progress.c:
      	* libnautilus-private/nautilus-file-operations-progress.h:
      	* libnautilus-private/nautilus-file-operations.c:
      	* libnautilus-private/nautilus-icon-dnd.c:
      	* libnautilus-private/nautilus-program-chooser.c:
      	* libnautilus-private/nautilus-program-chooser.h:
      	* libnautilus-private/nautilus-program-choosing.c:
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-search-list-view.c:
      	* src/file-manager/nautilus-indexing-info.c:
      	* src/nautilus-about.c:
      	* src/nautilus-about.h:
      	* src/nautilus-application.c:
      	* src/nautilus-bookmarks-window.c:
      	* src/nautilus-location-bar.c:
      	* src/nautilus-property-browser.c:
      	* src/nautilus-shell.c:
      	* src/nautilus-window-menus.c:
      	* src/nautilus-window.c:
      	First cut at converting to GtkDialog from GnomeDialog.
      3f4aeca2
  28. 07 Nov, 2001 1 commit
    • Darin Adler's avatar
      Remove nautilus-clean.sh -- use bonobo-slay instead. · 0bdc094f
      Darin Adler authored
      	* Makefile.am:
      	* README:
      	* nautilus-clean.sh:
      	* nautilus.spec.in:
      	* src/nautilus-application.c: (nautilus_application_startup):
      	Remove nautilus-clean.sh -- use bonobo-slay instead.
      
      	* libnautilus-private/nautilus-program-chooser.c:
      	(nautilus_program_chooser_new): The -2 feature is gone from
      	gtk_window_set_default_size, so use -1.
      
      	* src/nautilus-sidebar-title.c: (smooth_font_changed_callback),
      	(nautilus_sidebar_title_select_text_color), (update_title_font),
      	(update_title), (measure_width_callback), (update_more_info),
      	(sidebar_title_create_title_label),
      	(sidebar_title_create_more_info_label): Change to use GtkLabel
      	instead of EelLabel for now -- that makes us actually get a label.
      0bdc094f
  29. 04 Nov, 2001 3 commits
    • Darin Adler's avatar
      Tons of files. More GtkObject -> GObject stuff. · bdcd4787
      Darin Adler authored
      	* Tons of files.
      	More GtkObject -> GObject stuff.
      bdcd4787
    • Darin Adler's avatar
      More GtkObject -> GObject stuff. · 612ee980
      Darin Adler authored
      	* components/text/nautilus-text-view.c: (nautilus_text_view_init):
      	* libnautilus/nautilus-view.c:
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_init):
      	* src/file-manager/fm-properties-window.c:
      	(append_directory_contents_fields),
      	(append_special_execution_flags):
      	* src/nautilus-application.c: (nautilus_application_startup),
      	(nautilus_application_create_window):
      	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init):
      	* src/nautilus-window-menus.c:
      	(nautilus_window_initialize_bookmarks_menu),
      	(nautilus_window_initialize_menus_part_1):
      	* src/nautilus-window.c: (add_sidebar_panel_callback):
      	More GtkObject -> GObject stuff.
      612ee980
    • Darin Adler's avatar
      Many files. Update for change in Eel boilerplate macro names. · c9109022
      Darin Adler authored
      	* Many files.
      	Update for change in Eel boilerplate macro names.
      
      	* src/nautilus-application.c: (nautilus_application_startup):
      	GtkObject -> GObject.
      	* src/nautilus-shell.c: (nautilus_shell_class_init), (finalize),
      	(nautilus_shell_new):
      	GtkObject -> GObject.
      c9109022
  30. 02 Nov, 2001 1 commit
    • Darin Adler's avatar
      More changes to make Nautilus get closer to running. · 9ab32f9c
      Darin Adler authored
      	* libnautilus-private/nautilus-bonobo-extensions.h: Remove
      	NAUTILUS_BONOBO_X_BOILERPLATE, superceded by EEL_DEFINE_
      	BONOBO_BOILERPLATE
      
      	* libnautilus-private/nautilus-directory-metafile-monitor.c:
      	* libnautilus-private/nautilus-metafile.c:
      	* libnautilus-private/nautilus-undo-context.c:
      	* libnautilus/nautilus-undo-transaction.c:
      	Same fixes Havoc did, formatted differently.
      
      	* libnautilus-private/nautilus-undo-manager.c: (corba_append),
      	(corba_forget), (corba_undo), (nautilus_undo_manager_new),
      	(finalize), (nautilus_undo_manager_class_init):
      	GtkObject -> GObject fixes. bonobo_object_from_servant fixes.
      
      	* nautilus-clean.sh: Not sure if we still need this, but
      	change gconfd-1 to gconfd-2 and oafd to bonobo-activation-server.
      
      	* nautilus.spec.in: Some updates, not sure if they are right.
      
      	* src/nautilus-application.c: (nautilus_application_new),
      	(nautilus_application_finalize), (nautilus_application_class_init):
      	GtkObject -> GObject fixes.
      
      	* src/nautilus-main.c: (main): Use gnome_program_init.
      
      	* src/Makefile.am: Define a bunch more stuff used by
      	GNOME_PROGRAM_STANDARD_PROPERTIES.
      9ab32f9c
  31. 31 Oct, 2001 1 commit
  32. 30 Oct, 2001 1 commit
  33. 28 Oct, 2001 1 commit
  34. 15 Sep, 2001 1 commit
  35. 05 Sep, 2001 1 commit
    • Alexander Larsson's avatar
      Merge some stuff from the redhat-outstanding-patches branch · 47a2fa6e
      Alexander Larsson authored
      2001-09-04  Alex Larsson  <alexl@redhat.com>
      
      	Merge some stuff from the redhat-outstanding-patches branch
      
      	* libnautilus-private/nautilus-file-utilities.[ch]
      	(nautilus_user_main_directory_exists, nautilus_get_user_main_directory):
      	Get rid of these. No more ~/Nautilus
      
      	* libnautilus-private/nautilus-global-preferences.c:
      	(default_home_location_callback): Always use your normal homedir
      	as the home dir.
      
      	* src/nautilus-application.c (check_required_directories): Don't
      	create ~/Nautilus.
      	(create_starthere_link_callback, nautilus_application_startup):
      	Create a start here icon on the desktop.
      	Turn of first time druid (by setting first time flag).
      	(nautilus_application_startup, check_for_kdesktop, look_for_kdesktop_recursive,
      	has_wm_state, get_self_typed_prop)
      	Don't manage the desktop if kdesktop is running.
      
      	* src/nautilus-first-time-druid.[ch]:
      	Remove ~/Nautilus handling.
      	s/druid_set_first_time_file_flag/nautilus_set_first_time_file_flag/
      
      	* src/nautilus-shell-ui.xml:
      	* src/nautilus-window-menus.c:
      	Add start here to the go menu. Remove leftovers of the "support" menuimem.
      
      	* src/file-manager/fm-directory-view.c:
      	Move scripts to ~/.gnome/nautilus-scripts
      
      	* Makefile.am:
      	Add starthere icons
      
      	* data/Makefile.am:
      	* data/*.desktop.in:
      	* data/*.directory.in:
      	Add starthere desktop files.
      47a2fa6e