1. 11 Aug, 2000 3 commits
    • Darin Adler's avatar
      Fixed bug 1891 (calling set_title before report_load_underway has · c54c5854
      Darin Adler authored
      	no effect).
      
      	* libnautilus-extensions/nautilus-file.c: (destroy):
      	Fix a leak in the symbolic link target hash table.
      
      	* src/nautilus-application.c: (nautilus_application_startup),
      	(nautilus_application_create_desktop_window),
      	(nautilus_application_open_desktop),
      	(nautilus_application_close_desktop),
      	(nautilus_application_destroyed_window),
      	(nautilus_application_create_window):
      	Simplified the logic for creating and destroying the desktop
      	window a little bit and made it actually unref the desktop
      	window instead of just destroying it.
      
      	* src/nautilus-switchable-navigation-bar.c:
      	(nautilus_switchable_navigation_bar_initialize),
      	(nautilus_switchable_navigation_bar_set_mode),
      	(nautilus_switchable_navigation_bar_set_location):
      	Added missing code to send out the mode_changed signal and
      	took out a gratuitous FIXME.
      
      	* src/nautilus-view-frame.h:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_initialize_class),
      	(nautilus_view_frame_initialize), (nautilus_view_frame_destroy),
      	(set_up_for_new_location), (nautilus_view_frame_load_location),
      	(nautilus_view_frame_report_location_change),
      	(nautilus_view_frame_set_title), (nautilus_view_frame_get_title):
      	Changed it so the view frame keeps around the title as passed by
      	the view. It now emits a "title_changed" signal instead of a
      	"set_title" signal and you can get the title with a call to
      	nautilus_view_frame_get_title.
      
      	* src/nautilus-window.h:
      	* src/nautilus-window.c: (nautilus_window_title_changed_callback),
      	(nautilus_window_connect_view):
      	* src/nautilus-window-manage-views.h:
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_get_current_location_title),
      	(nautilus_window_update_title),
      	(nautilus_window_set_displayed_location),
      	(nautilus_window_title_changed), (handle_go_elsewhere),
      	(nautilus_window_has_really_changed),
      	(nautilus_window_update_state):
      	Manage the title in a simpler way now that the view frame keeps
      	the title around.
      
      	* src/nautilus-window-toolbars.c: (set_up_button): Fixed error
      	that would result in a call to gnome_stock_set_icon with NULL.
      
      	* RPMs-README: Fixed a typo.
      c54c5854
    • Maciej Stachowiak's avatar
      Made copyright headers consistent in style; also made sure to refer to · 175ac684
      Maciej Stachowiak authored
      	* src/nautilus-applicable-views.c,
      	src/nautilus-applicable-views.h, src/nautilus-application.c,
      	src/nautilus-application.h, src/nautilus-bookmark-list.c,
      	src/nautilus-bookmark-list.h, src/nautilus-bookmark-parsing.c,
      	src/nautilus-bookmark-parsing.h, src/nautilus-bookmarks-window.c,
      	src/nautilus-bookmarks-window.h,
      	src/nautilus-complex-search-bar.c,
      	src/nautilus-complex-search-bar.h, src/nautilus-desktop-window.c,
      	src/nautilus-desktop-window.h, src/nautilus-first-time-druid.c,
      	src/nautilus-first-time-druid.h, src/nautilus-history-frame.c,
      	src/nautilus-history-frame.h, src/nautilus-link-set-window.c,
      	src/nautilus-link-set-window.h, src/nautilus-location-bar.c,
      	src/nautilus-location-bar.h, src/nautilus-main.c,
      	src/nautilus-navigation-bar.c, src/nautilus-navigation-bar.h,
      	src/nautilus-property-browser.c, src/nautilus-property-browser.h,
      	src/nautilus-search-bar-private.h, src/nautilus-search-bar.c,
      	src/nautilus-search-bar.h, src/nautilus-self-check-functions.c,
      	src/nautilus-self-check-functions.h, src/nautilus-shell.c,
      	src/nautilus-shell.h, src/nautilus-sidebar-tabs.c,
      	src/nautilus-sidebar-tabs.h, src/nautilus-sidebar-title.c,
      	src/nautilus-sidebar-title.h, src/nautilus-sidebar.c,
      	src/nautilus-sidebar.h, src/nautilus-signaller.c,
      	src/nautilus-signaller.h, src/nautilus-simple-search-bar.c,
      	src/nautilus-simple-search-bar.h,
      	src/nautilus-switchable-navigation-bar.c,
      	src/nautilus-switchable-navigation-bar.h,
      	src/nautilus-switchable-search-bar.c,
      	src/nautilus-switchable-search-bar.h, src/nautilus-toolbar.c,
      	src/nautilus-toolbar.h, src/nautilus-view-frame-bonobo-control.c,
      	src/nautilus-view-frame-bonobo-embeddable.c,
      	src/nautilus-view-frame-corba.c,
      	src/nautilus-view-frame-nautilus-view.c,
      	src/nautilus-view-frame-private.h,
      	src/nautilus-view-frame.c,src/nautilus-view-frame.h,
      	src/nautilus-window-manage-views.c,
      	src/nautilus-window-manage-views.h, src/nautilus-window-menus.c,
      	src/nautilus-window-private.h, src/nautilus-window-toolbars.c,
      	src/nautilus-window.c, src/nautilus-window.h,
      	src/nautilus-zoom-control.c, src/nautilus-zoom-control.h,
      	src/nautilus-zoomable-frame-corba.c: Made copyright headers
      	consistent in style; also made sure to refer to Nautilus as
      	Nautilus, not "this library" or "The GNOME Library".
      175ac684
    • Maciej Stachowiak's avatar
      Fixes for bugzilla tasks 1525 and 1530. · 4dbe9d17
      Maciej Stachowiak authored
      	* components/tree/nautilus-tree-expansion-state.h,
      	components/tree/nautilus-tree-expansion-state.c: New files
      	implementing the NautilusTreeExpansionState class, a class to
      	track the expansion state of various nodes in the tree, and
      	save/load it to/from GConf.
      	* components/tree/nautilus-tree-model.h,
      	components/tree/nautilus-tree-model.c
      	(nautilus_tree_model_stop_monitoring_node_recursive): New function
      	to stop monitoring a node and any children of it's that you may be
      	monitoring all at one go.
      	(nautilus_tree_model_stop_monitoring_node): Disconnect signal
      	handlers from the proper object (D'oh!) and avoid disconnecting
      	more than once if you stop monitoring more than once (D'oh!).
      
      	* components/tree/nautilus-tree-view.c:
      	(nautilus_tree_view_insert_model_node,
      	nautilus_tree_view_remove_model_node,
      	nautilus_tree_view_update_model_node),
      	nautilus_tree_view_initialize, nautilus_tree_view_destroy,
      	tree_expand_callback, tree_collapse_callback): Track expansion
      	state using the new class, and make sure that when a node is
      	expanded it gets reloaded recursively.
      	(ctree_is_node_expanded): Convenience function to check if a
      	GtkCTreeNode is currenly expanded.
      	(reload_node_for_uri): New function to force reload of a node.
      	(expand_node_for_uri): New function to do everything necessary
      	associated with the expansion of a node.
      
      	* libnautilus-extensions/nautilus-glib-extensions.h,
      	libnautilus-extensions/nautilus-glib-extensions.c:
      	(nautilus_g_slist_free_deep_custom, nautilus_g_slist_free_deep):
      	New functions for freeing GSLists, similar to the GList versions.
      	* libnautilus-extensions/nautilus-preferences.h,
      	libnautilus-extensions/nautilus-preferences.c
      	(nautilus_preferences_set_string_list,
      	nautilus_preferences_get_string_list): New functions for
      	manipulating preferences that are a list of strings.
      	* libnautilus-extensions/nautilus-volume-monitor.c
      	(mntent_is_removable_fs): Added some FIXMEs
      	* src/nautilus-view-frame.c: Remove a stary character from the
      	copyright notice.
      4dbe9d17
  2. 31 Jul, 2000 1 commit
    • John Sullivan's avatar
      Finished rest of bug 762 (Framework for dealing with · 54effa81
      John Sullivan authored
      	component that crashes). Remaining component-failure issues
      	have been split off as separate bugs.
      
      	* src/nautilus-sidebar.c: (nautilus_sidebar_remove_panel),
      	* src/nautilus-view-frame.c: (check_object):
      	Just added FIXME comments with bug numbers.
      
      	* src/nautilus-window-manage-views.c:
      	(report_sidebar_panel_failure_to_user):
      	Turned this from a placeholder to a real function that puts up
      	a sensible error message.
      	(nautilus_window_update_state): Moved the report_to_user call
      	to a place where it is hit in all the error cases, not just some.
      
      	* src/nautilus-window.c:
      	(window_update_sidebar_panels_from_preferences):
      	Call nautilus_window_disconnect_view on sidebar panel before
      	removing it the normal way so that it doesn't trigger the
      	report-error-to-user code.
      54effa81
  3. 13 Jul, 2000 1 commit
    • Mike Engber's avatar
      Changed desktop menu to offer close desktop instead of quit nautilus. · 96835d31
      Mike Engber authored
      
      	* libnautilus/nautilus-view-component.idl:
      	* libnautilus/nautilus-view.c:
      	* libnautilus/nautilus-view.h:
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_close_desktop_menu_item_callback),
      	(fm_desktop_icon_view_create_background_context_menu_items):
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_close_desktop):
      	* src/file-manager/fm-directory-view.h:
      	* src/nautilus-application.c: (nautilus_application_windows),
      	(nautilus_application_startup),
      	(nautilus_application_destroy_desktop_window),
      	(nautilus_application_create_desktop_window),
      	(nautilus_application_open_desktop),
      	(nautilus_application_close_desktop),
      	(nautilus_application_destroy_window),
      	(nautilus_application_create_window):
      	* src/nautilus-application.h:
      	* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
      	* src/nautilus-shell.c: (corba_manage_desktop):
      	* src/nautilus-view-frame-corba.c:
      	(impl_Nautilus_ViewFrame_set_title):
      	* src/nautilus-view-frame-private.h:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_initialize_class),
      	(nautilus_view_frame_set_title):
      	* src/nautilus-view-frame.h:
      	* src/nautilus-window-manage-views.c: (open_location):
      	* src/nautilus-window.c: (nautilus_window_connect_view):
      	Changed desktop menu to offer close desktop instead of
      	quit nautilus. Also, changed the menu item's action to
      	use a direct fn call instead of CORBA.
      96835d31
  4. 12 Jul, 2000 2 commits
    • Darin Adler's avatar
      Change to use bonobo_object_unref now that the leaks have been fixed. This · 41f3913c
      Darin Adler authored
      	* src/nautilus-view-frame.c: (nautilus_view_frame_destroy_client):
      	Change to use bonobo_object_unref now that the leaks have been
      	fixed.  This requires the new Bonobo or you'll have lots of leaked
      	processes. Luckily, Nautilus won't compile without the new Bonobo
      	due to my use of bonobo_object_shutdown in main :-)
      
      	* configure.in:
      	Fix the way -Werror works so it affects all directories, not just
      	ones where we use WERROR.
      
      	* components/hardware/Makefile.am:
      	* components/help/Makefile.am:
      	* components/history/Makefile.am:
      	* components/loser/content/Makefile.am:
      	* components/loser/sidebar/Makefile.am:
      	* components/mozilla/Makefile.am:
      	* components/music/Makefile.am:
      	* components/notes/Makefile.am:
      	* components/rpmview/Makefile.am:
      	* components/sample/Makefile.am:
      	* components/services/install/command-line/Makefile.am:
      	* components/services/install/lib/Makefile.am:
      	* components/services/install/nautilus-view/Makefile.am:
      	* components/services/install/server/Makefile.am:
      	* components/services/inventory/lib/Makefile.am:
      	* components/services/inventory/nautilus-view/Makefile.am:
      	* components/services/inventory/service/Makefile.am:
      	* components/services/login/lib/Makefile.am:
      	* components/services/login/nautilus-view/Makefile.am:
      	* components/services/login/service/Makefile.am:
      	* components/services/startup/command-line/Makefile.am:
      	* components/services/startup/lib/Makefile.am:
      	* components/services/startup/nautilus-view/Makefile.am:
      	* components/services/summary/lib/Makefile.am:
      	* components/services/summary/nautilus-view/Makefile.am:
      	* components/services/summary/service/Makefile.am:
      	* components/services/time/command-line/Makefile.am:
      	* components/services/time/nautilus-view/Makefile.am:
      	* components/services/time/service/Makefile.am:
      	* components/services/trilobite/helper/Makefile.am:
      	* components/services/trilobite/libtrilobite/Makefile.am:
      	* components/services/trilobite/sample/command-line/.cvsignore:
      	* components/services/trilobite/sample/command-line/Makefile.am:
      	* components/services/trilobite/sample/lib/Makefile.am:
      	* components/services/trilobite/sample/nautilus-view/Makefile.am:
      	* components/services/trilobite/sample/service/Makefile.am:
      	* components/services/vault/command-line/Makefile.am:
      	* components/services/vault/lib/Makefile.am:
      	* components/services/vault/nautilus-view/Makefile.am:
      	* components/services/vault/service/Makefile.am:
      	* components/tree/Makefile.am:
      	* components/websearch/Makefile.am:
      	* cut-n-paste-code/widgets/nautilus-druid/Makefile.am:
      	* helper-utilities/authenticate/Makefile.am:
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus/Makefile.am:
      	* librsvg/Makefile.am:
      	* nautilus-installer/src/Makefile.am:
      	* src/Makefile.am:
      	* src/file-manager/Makefile.am:
      	* test/Makefile.am:
      	Got rid of the WERROR shell variable. The -Werror switch is no
      	longer a per-directory thing.
      
      	* librsvg/Makefile.am:
      	Added libpng to the libraries for the test program. Maybe this was
      	the wrong thing to do, but before this change the link failed.
      
      	* components/sample/Makefile.am:
      	* components/sample/main.c:
      	* components/sample/nautilus-sample-content-view.c:
      	* components/sample/nautilus-sample-content-view.h:
      	A clean-up of the sample, including fixing many bugs and adding
      	lots of comments. I figure we want this to be as close to
      	exemplary as possible since people will continue to start with it
      	for new components.
      
      	* libnautilus-extensions/nautilus-bookmark.c:
      	(nautilus_bookmark_new_with_icon): Removed a bogus extra ref of a
      	NautilusFile object that I spotted in here.
      
      	* src/nautilus-application.c: (nautilus_application_destroy_window):
      	Re-added the code to quit when the last window is closed that Mike
      	removed in his recent check-in.
      
      	* src/nautilus-main.c: (main): Added a call to bonobo_shutdown.
      	We don't need this call, but I say, "Why not?"
      41f3913c
    • Mike Engber's avatar
      Hooked up the quit menu in the desktop context menu to quit Nautilus. Now, · a409c1bb
      Mike Engber authored
      
      	* libnautilus/nautilus-view-component.idl:
      	* libnautilus/nautilus-view.c: (nautilus_view_quit_nautilus):
      	* libnautilus/nautilus-view.h:
      	* src/file-manager/fm-desktop-icon-view.c:
      	(fm_desktop_icon_view_quit_menu_item_callback),
      	(fm_desktop_icon_view_create_background_context_menu_items):
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_quit_nautilus):
      	* src/file-manager/fm-directory-view.h:
      	* src/nautilus-application.c: (nautilus_application_startup),
      	(nautilus_application_destroy_window):
      	* src/nautilus-application.h:
      	* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
      	* src/nautilus-view-frame-corba.c:
      	(impl_Nautilus_ViewFrame_set_title),
      	(impl_Nautilus_ViewFrame_quit_nautilus):
      	* src/nautilus-view-frame-private.h:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_initialize_class),
      	(nautilus_view_frame_set_title),
      	(nautilus_view_frame_quit_nautilus):
      	* src/nautilus-view-frame.h:
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_load_content_view):
      	* src/nautilus-window.c: (nautilus_window_quit_nautilus_callback),
      	(nautilus_window_connect_view):
      	Hooked up the quit menu in the desktop context menu to quit Nautilus.
      	Now, if Nautilus is managing the desktop no default window is created
      	and Nautilus does not quit when the last window is closed - i.e. use
      	the quit menu item instead. Bugs 1050 and 1051.
      a409c1bb
  5. 11 Jul, 2000 3 commits
    • Darin Adler's avatar
      Fixed some leaks that cause problems with the new Bonobo. · 90166bac
      Darin Adler authored
      	* components/history/nautilus-history-view.c:
      	(history_view_frame_call_end):
      	* libnautilus/nautilus-undo.c: (set_up_bonobo_control):
      	* libnautilus/nautilus-view.c: (view_frame_call_end):
      	* libnautilus/nautilus-zoomable.c:
      	(nautilus_zoomable_ensure_zoomable_frame):
      	Fixed a ref. count leak by adding code to unref the result of
      	query_interface.
      
      	* src/nautilus-view-frame.c: (nautilus_view_frame_is_zoomable):
      	Fixed logic that was backwards.
      90166bac
    • Darin Adler's avatar
      Fixed to compile with latest Bonobo. Doesn't work quite as well as before · 595c8845
      Darin Adler authored
      	* src/nautilus-view-frame.c:
      	Fixed to compile with latest Bonobo. Doesn't work quite as well
      	as before -- we get some Bonobo ref. count asserts all the time --
      	but it's better than nothing I guess. Also did some other code
      	cleanup.
      
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-alloc.h: [removed]
      	Removed an unused source file.
      
      	* libnautilus-extensions/nautilus-icon-container.c: (icon_free),
      	(stop_rubberbanding), (destroy), (hide_rename_widget):
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	(nautilus_icon_container_dropped_icon_feedback),
      	(nautilus_icon_container_free_drag_data), (nautilus_icon_dnd_fini):
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_drag_end):
      	* src/nautilus-view-frame-nautilus-view.c: (load_location),
      	(stop_loading), (selection_changed):
      	* src/nautilus-view-frame.c: (nautilus_view_frame_handle_client_destroy),
      	(nautilus_view_frame_load_client), (check_object),
      	(nautilus_view_frame_set_active_errors):
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_end_location_change_callback):
      	Added FIXMEs to various questionable uses of gtk_object_destroy.
      
      	* src/Makefile.am:
      	Added missing source file and replaced use of .. with $(top_srcdir).
      595c8845
    • Darin Adler's avatar
      Changed history list to include a separate position field instead of · 88838071
      Darin Adler authored
      	* components/history/nautilus-history-view.c:
      	(history_view_update_icons), (get_history_list),
      	(hyperbola_navigation_history_load_location):
      	* libnautilus/nautilus-view-component.idl:
      	* src/nautilus-history-frame.c:
      	(impl_Nautilus_HistoryFrame_get_history_list):
      	* src/nautilus-view-frame.h:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_get_history_list):
      	* src/nautilus-window.c:
      	(nautilus_window_get_history_list_callback),
      	(nautilus_window_connect_view):
      	Changed history list to include a separate position field
      	instead of having a position in each entry.
      
      	* components/notes/nautilus-notes.c: (done_with_file):
      	Name changed from nautilus_file_cancel_callback to
      	nautilus_file_cancel_call_when_ready to reduce confusion with
      	nautilus_file_cancel.
      
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_get): Made NULL for URI be legal (and result
      	in NULL for the directory object).
      	* libnautilus-extensions/nautilus-mime-actions.c:
      	(get_mime_type_from_uri): Made NULL for URI be legal (and result
      	in NULL for MIME type).
      
      	* libnautilus-extensions/nautilus-entry.c:
      	(nautilus_entry_set_text): Minor tweak.
      
      	* libnautilus-extensions/nautilus-file.h:
      	* libnautilus-extensions/nautilus-file-private.h:
      	* libnautilus-extensions/nautilus-file.c: (operation_new),
      	(operation_free), (operation_complete), (operation_cancel),
      	(rename_update_info_and_metafile), (rename_callback),
      	(nautilus_file_rename), (nautilus_file_cancel),
      	(nautilus_file_set_owner), (nautilus_file_cancel_call_when_ready):
      	Added cancelling to rename as a prelude to doing the same for
      	set_file_info-based calls.
      
      	* libnautilus-extensions/nautilus-graphic.c:
      	Fixed a formatting mistake and a typo.
      
      	* libnautilus-extensions/nautilus-stock-dialogs.h:
      	* libnautilus-extensions/nautilus-stock-dialogs.c:
      	(timed_wait_hash), (timed_wait_hash_equal),
      	(nautilus_timed_wait_start), (nautilus_timed_wait_free),
      	(nautilus_timed_wait_stop): Re-did timed wait API now that
      	we are really using it. Still unimplemented.
      
      	* src/Makefile.am:
      	Since IDL dependencies are not understood by automake, added
      	an explicit one so we pick up the change to the libnautilus
      	view component IDL.
      
      	* src/file-manager/fm-error-reporting.h:
      	* src/file-manager/fm-error-reporting.c: (rename_callback),
      	(cancel_rename_callback), (fm_rename_file): Moved code for
      	renaming into here so it can be shared between the icon view
      	and the properties dialog. Perhaps it needs to be renamed.
      
      	* src/file-manager/fm-icon-view.c:
      	(fm_icon_view_icon_text_changed_callback): Use the shared
      	code instead of having the rename code here.
      
      	* src/nautilus-application.c: (create_object): Make a new
      	shell object each time instead of trying to share one.
      	(nautilus_application_startup): Activate the shell object
      	using OAF. This makes it work across processes and adds
      	the feature.
      
      	* src/nautilus-main.c: (main): Call bonobo_activate explicitly so
      	CORBA calls work before the main loop.
      
      	* src/nautilus-shell.c: (display_caveat_first_time),
      	(corba_manage_desktop): Got rid of all state in NautilusShell
      	so we can use multiple shell objects if we want.
      
      	* src/nautilus-sidebar.c: (nautilus_sidebar_update_info):
      	Got rid of code that checks for NULL.
      88838071
  6. 07 Jul, 2000 1 commit
    • Gene Z. Ragan's avatar
      Fixed bug 1571, Need titles in history list instead of just URIs. · 0b661c0f
      Gene Z. Ragan authored
      2000-07-06  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug 1571, Need titles in history list instead
      	of just URIs.
      
      	This was a result of sharing the NautilusWindow history list
      	information over CORBA.
      
      	* libnautilus/nautilus-view-component.idl:
      	Create new interface, Nautilus::HistoryFrame
      	Interface has method to get a sequence of
      	history information.  This sequence contains
      	structs that contain uri and name history
      	information.
      
      	* src/Makefile.am:
      	Added new file, NautilusHistoryFrame.c, to makefile.
      
      	* src/nautilus-history-frame.c:
      	* src/nautilus-history-frame.h:
      	(impl_Nautilus_HistoryFrame__destroy),
      	(impl_Nautilus_HistoryFrame__create),
      	(impl_Nautilus_HistoryFrame_get_history_list):
      	New files that imliments the functionality of the
      	Nautilus::HistoryFrame.
      
      	* components/history/nautilus-history-view.c:
      	(get_bookmark_from_row), (get_uri_from_row),
      	(history_view_frame_call_begin), (history_view_frame_call_end),
      	(history_view_update_icons), (get_history_list),
      	(hyperbola_navigation_history_load_location),
      	(hyperbola_navigation_history_select_row), (do_destroy),
      	(make_obj), (main):
      	Changes in the way that the history list is maintained.
      	We now use the info that is received by asking the view frame
      	for history information.
      
      	* src/nautilus-view-frame.c:
      	* src/nautilus-view-frame.h:
      	(nautilus_view_frame_initialize_class),
      	(nautilus_view_frame_load_client),
      	(nautilus_view_frame_get_history_list):
      	Added new signal GET_HISTORY_LIST and new
      	function that emits the signal when called.
      
      	* src/nautilus-window.c:
      	(nautilus_window_connect_view):
      	Create and add history interface to connected view.
      
      	(nautilus_window_get_history_list_callback):
      	New signal handler that connects to the get_history_list
      	signal of NautilusViewFrame.  Returns a Nautilus_HistoryList
      	created from the history list data.
      0b661c0f
  7. 28 Jun, 2000 3 commits
    • Mike Engber's avatar
      Fixed 1497 - problems with freeing the CORBA returned preferred zoom level · 16f98f7d
      Mike Engber authored
      
      	* libnautilus/nautilus-zoomable.c:
      	(nautilus_g_list_from_ZoomLevelList),
      	(nautilus_ZoomLevelListBuffer_from_zoom_levels),
      	(impl_Nautilus_Zoomable__get_preferred_zoom_level_list),
      	(nautilus_zoomable_initialize_class), (nautilus_zoomable_set_arg),
      	(nautilus_zoomable_get_arg),
      	(nautilus_zoomable_new_from_bonobo_control):
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_get_preferred_zoom_levels):
      	* src/nautilus-zoom-control.c:
      	(nautilus_zoom_control_class_initialize),
      	(nautilus_zoom_control_destroy),
      	(nautilus_zoom_control_initialize), (create_zoom_menu_item):
      	Fixed 1497 - problems with freeing the CORBA returned preferred
      	zoom level lists. Finally done with 1425 - decoupling the zoom
      	control from insider knowledge of the icon/list views.
      16f98f7d
    • Eskil Heyn Olsen's avatar
      Commented out a CORBA_free that causes sigsegv (noted by Carbamide). Filed · d6ae8859
      Eskil Heyn Olsen authored
      
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_get_preferred_zoom_levels):
      	Commented out a CORBA_free that causes sigsegv (noted by
      	Carbamide). Filed a bug report (1497) on it.
      d6ae8859
    • Mike Engber's avatar
      Added get_preferred_zoom_levels. Fixed zoom-control to use this info to · 4f6956f9
      Mike Engber authored
      
      	* libnautilus/nautilus-view-component.idl:
      	* libnautilus/nautilus-zoomable.c:
      	(nautilus_g_list_from_ZoomLevelList),
      	(nautilus_ZoomLevelList_from_zoom_levels),
      	(impl_Nautilus_Zoomable__get_is_continuous),
      	(impl_Nautilus_Zoomable__get_preferred_zoom_level_list),
      	(nautilus_zoomable_initialize_class), (nautilus_zoomable_set_arg),
      	(nautilus_zoomable_get_arg), (nautilus_zoomable_new),
      	(nautilus_zoomable_new_from_bonobo_control),
      	(nautilus_zoomable_destroy):
      	* libnautilus/nautilus-zoomable.h:
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_initialize):
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_get_max_zoom_level),
      	(nautilus_view_frame_get_preferred_zoom_levels):
      	* src/nautilus-view-frame.h:
      	* src/nautilus-window.c:
      	(nautilus_window_zoom_level_changed_callback):
      	* src/nautilus-zoom-control.c: (nautilus_zoom_control_initialize),
      	(create_zoom_menu_item), (create_zoom_menu),
      	(nautilus_zoom_control_set_max_zoom_level),
      	(nautilus_zoom_control_set_preferred_zoom_levels):
      	* src/nautilus-zoom-control.h:
      	Added get_preferred_zoom_levels. Fixed zoom-control to
      	use this info to generate it's right click menu.
      4f6956f9
  8. 27 Jun, 2000 2 commits
    • Mike Engber's avatar
      Removed zoom_to_default and zoom_parameters_changed. The nautilus-window · 888d3716
      Mike Engber authored
      
      	* libnautilus/nautilus-view-component.idl:
      	* libnautilus/nautilus-zoomable.c:
      	(impl_Nautilus_Zoomable__get_is_continuous),
      	(nautilus_zoomable_initialize_class), (nautilus_zoomable_get_arg),
      	(nautilus_zoomable_ensure_zoomable_frame):
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_initialize), (zoomable_zoom_to_fit_callback),
      	(fm_directory_view_set_zoom_level):
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_begin_loading),
      	(fm_icon_view_set_zoom_level), (fm_icon_view_bump_zoom_level),
      	(fm_icon_view_zoom_to_level),
      	(fm_icon_view_restore_default_zoom_level):
      	* src/file-manager/fm-list-view.c: (fm_list_view_bump_zoom_level),
      	(fm_list_view_zoom_to_level),
      	(fm_list_view_restore_default_zoom_level),
      	(fm_list_view_begin_loading), (fm_list_view_set_zoom_level):
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_initialize_class),
      	(nautilus_view_frame_zoom_level_changed):
      	* src/nautilus-view-frame.h:
      	* src/nautilus-window.c: (zoom_to_fit_callback),
      	(nautilus_window_constructed),
      	(nautilus_window_zoom_level_changed_callback),
      	(nautilus_window_connect_view):
      	* src/nautilus-zoom-control.c:
      	(nautilus_zoom_control_class_initialize),
      	(nautilus_zoom_control_initialize),
      	(nautilus_zoom_control_button_press_event):
      	* src/nautilus-zoom-control.h:
      	* src/nautilus-zoomable-frame-corba.c:
      	(impl_Nautilus_ZoomableFrame_report_zoom_level_changed):
      	Removed zoom_to_default and zoom_parameters_changed.
      	The nautilus-window now queries the zoomable for max
      	and min before showing the zoom control.
      888d3716
    • Mike Engber's avatar
      Added report_zoom_parameters_changed to the zoomable interface. This · c108999d
      Mike Engber authored
      
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(nautilus_gtk_marshal_NONE__DOUBLE_DOUBLE_DOUBLE):
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	* libnautilus/nautilus-view-component.idl:
      	* libnautilus/nautilus-zoomable.c:
      	(nautilus_zoomable_set_parameters),
      	(nautilus_zoomable_set_zoom_level):
      	* libnautilus/nautilus-zoomable.h:
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_set_zoom_level),
      	(fm_directory_view_set_zoom_parameters):
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_begin_loading),
      	(fm_icon_view_set_zoom_level), (fm_icon_view_init_zoom_params),
      	(fm_icon_view_bump_zoom_level), (fm_icon_view_zoom_to_level),
      	(fm_icon_view_restore_default_zoom_level):
      	* src/file-manager/fm-list-view.c: (fm_list_view_bump_zoom_level),
      	(fm_list_view_zoom_to_level),
      	(fm_list_view_restore_default_zoom_level),
      	(fm_list_view_begin_loading), (fm_list_view_set_zoom_level),
      	(fm_list_view_init_zoom_params):
      	* src/nautilus-view-frame-private.h:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_initialize_class),
      	(nautilus_view_frame_zoom_parameters_changed):
      	* src/nautilus-view-frame.h:
      	* src/nautilus-window.c:
      	(nautilus_window_zoom_level_changed_callback),
      	(nautilus_window_zoom_parameters_changed_callback),
      	(nautilus_window_connect_view):
      	* src/nautilus-zoom-control.c: (nautilus_zoom_control_initialize),
      	(draw_number_and_disable_arrows), (zoom_menu_callback),
      	(create_zoom_menu_item),
      	(nautilus_zoom_control_button_press_event),
      	(nautilus_zoom_control_set_zoom_level),
      	(nautilus_zoom_control_set_min_zoom_level),
      	(nautilus_zoom_control_set_max_zoom_level),
      	(nautilus_zoom_control_get_zoom_level),
      	(nautilus_zoom_control_get_min_zoom_level),
      	(nautilus_zoom_control_get_max_zoom_level):
      	* src/nautilus-zoom-control.h:
      	* src/nautilus-zoomable-frame-corba.c:
      	(impl_Nautilus_ZoomableFrame_report_zoom_level_changed),
      	(impl_Nautilus_ZoomableFrame_report_zoom_parameters_changed):
      	Added report_zoom_parameters_changed to the zoomable
      	interface. This allows the zoom control to get min/max
      	from the zoomable (as opposed to hard coding in values)
      	Also fixed the zoom control to now use just doubles.
      	Renamed the zoom_level_changed message to be report_zoom_level_changed
      	in accordance with convention.
      c108999d
  9. 23 Jun, 2000 1 commit
    • Michael Engber's avatar
      Removed zoom_to_level from the zoomable interface - starting on the · 610c3c77
      Michael Engber authored
      
      
      2000-06-22  Michael Engber  <engber@eazel.com>
      
      	* libnautilus/nautilus-view-component.idl:
      	* libnautilus/nautilus-zoomable.c:
      	(nautilus_zoomable_initialize_class):
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_initialize), (nautilus_zoom_level_from_double),
      	(zoomable_set_zoom_level_callback):
      	* src/nautilus-view-frame.c:
      	* src/nautilus-view-frame.h:
      	* src/nautilus-window.c: (zoom_to_level_callback):
      	* src/nautilus-zoom-control.c:
      	(nautilus_zoom_control_class_initialize), (zoom_menu_callback),
      	(zoom_menu_item_free_zoom_level), (create_zoom_menu_item),
      	(create_zoom_menu):
      	Removed zoom_to_level from the zoomable interface - starting
      	on the process of removing the zoom control being tied to
      	7 discrete icon sizes. Bug #1425
      610c3c77
  10. 20 Jun, 2000 1 commit
    • Mike Engber's avatar
      The zoom control is now driven by its zoomable. This corrected the most · bbc80787
      Mike Engber authored
      
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_report_zoom_level_changed):
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_begin_loading),
      	(fm_icon_view_set_zoom_level), (fm_icon_view_bump_zoom_level),
      	(fm_icon_view_zoom_to_level),
      	(fm_icon_view_restore_default_zoom_level):
      	* src/nautilus-view-frame.c: (nautilus_view_frame_load_client):
      	* src/nautilus-window.c:
      	(nautilus_window_zoom_level_changed_callback),
      	(nautilus_window_connect_view),
      	(nautilus_window_real_set_content_view):
      	* src/nautilus-zoom-control.c: (set_zoom_level),
      	(nautilus_zoom_control_button_press_event),
      	(nautilus_zoom_control_reset_zoom_level),
      	(nautilus_zoom_level_from_double),
      	(nautilus_zoom_control_set_zoom_level):
      	The zoom control is now driven by its zoomable. This corrected
      	the most visible problem - getting the correct initial state.
      	Previously, the zoomable never propagated any messages back
      	(not that anyone was listening for them anyway).
      bbc80787
  11. 13 Jun, 2000 3 commits
    • Gene Z. Ragan's avatar
      Fixed bug #306, right click menu in zoom control doesn't work. The menu · e94b24a5
      Gene Z. Ragan authored
      2000-06-13  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug #306, right click menu in zoom control doesn't work.
      	The menu now works.
      
      	* libnautilus/nautilus-view-component.idl:
      	Added zoom_to_level interface.
      
      	* libnautilus/nautilus-zoomable.c:
      	(impl_Nautilus_Zoomable_zoom_to_level):
      	(nautilus_zoomable_initialize_class):
      	Implimentation of zoom_to_level interface
      
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-directory-view.h:
      	(fm_directory_view_initialize_class),
      	(fm_directory_view_initialize), (zoomable_zoom_to_level_callback),
      	(fm_directory_view_zoom_to_level):
      	Added signal handling and callback for new ZOOM_TO_LEVEL signal.
      
      	* src/file-manager/fm-icon-view.c:
      	(fm_icon_view_zoom_to_level),
      	(fm_icon_view_initialize_class):
      	ZOOM_TO_LEVEL handling.
      
      	* src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
      	(fm_list_view_zoom_to_level),
      	(fm_list_view_restore_default_zoom_level):
      	ZOOM_TO_LEVEL handling.
      
      	* src/nautilus-view-frame.c:
      	* src/nautilus-view-frame.h:
      	(nautilus_view_frame_zoom_to_level):
      	New public function for zoom to level.
      
      	* src/nautilus-window.c:
      	(zoom_to_level_callback):
      	Yes, a zoom to level callback.
      
      	* src/nautilus-zoom-control.c:
      	* src/nautilus-zoom-control.h:
      	(nautilus_zoom_control_class_initialize), (zoom_menu_callback),
      	(create_zoom_menu), (set_zoom_level):
      	Enabled context zoom menu functionality.
      e94b24a5
    • Gene Z. Ragan's avatar
      Fixed bug #305. CLicking in center of zoom control does not change zoom · 9bcb90f3
      Gene Z. Ragan authored
      2000-06-13  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug #305.  CLicking in center of zoom control
      	does not change zoom level.
      
      	Clicking in the center of the zoom control emits a ZOOM_DEFAULT
      	signal.  It is up to each view that connects to this signal
      	to determine what is the default zoom setting.  Right now, all
      	views are using NAUTILUS_ZOOM_LEVEL_STANDARD.  This could be
      	changed to a zoom level better suited for the view.
      
      	* libnautilus/nautilus-view-component.idl:
      	Added zoom_default interface.
      
      	* libnautilus/nautilus-zoomable.c:
      	* libnautilus/nautilus-zoomable.h:
      	(impl_Nautilus_Zoomable_zoom_default)
      	Implimetation function of zoom_default interface
      
      	(nautilus_zoomable_initialize_class):
      	Set up new ZOOM_DEFAULT signal.
      
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-directory-view.h:
      	(fm_directory_view_initialize_class),
      	(fm_directory_view_initialize), (zoom_out_callback),
      	(zoom_default_callback), (zoomable_zoom_default_callback),
      	(fm_directory_view_restore_default_zoom_level):
      	New functions to enable zoom to default.
      
      	* src/file-manager/fm-icon-view.c:
      	(fm_icon_view_initialize_class):
      	Override zoom_default method.
      
      	(fm_icon_view_restore_default_zoom_level),
      	New function to enable zoom to default.
      
      	* src/file-manager/fm-list-view.c:
      	(fm_list_view_initialize_class):
      	Override zoom_default method.
      
      	(fm_list_view_restore_default_zoom_level):
      	New function to enable zoom to default.
      
      	* src/file-manager/fm-properties-window.c: (create_basic_page):
      
      	* src/nautilus-view-frame.c:
      	* src/nautilus-view-frame.h:
      	(nautilus_view_frame_zoom_default):
      	New signal handling callback
      
      	* src/nautilus-window.c:
      	(zoom_default_callback):
      	New signal handling callback
      
      	* src/nautilus-zoom-control.c:
      	* src/nautilus-zoom-control.h:
      	(nautilus_zoom_control_class_initialize),
      	(nautilus_zoom_control_button_press_event):
      
      	Work in progress on bug #971
      	* src/file-manager/fm-directory-view.c:
      	(open_one_properties_window),
      
      	* libnautilus-extensions/nautilus-undo-signal-handlers.c:
      	(nautilus_entry_user_changed_callback),
      	(editable_register_edit_undo),
      	(restore_editable_from_undo_snapshot_callback):
      9bcb90f3
    • Darin Adler's avatar
      Renamed and changed around parameters for the basic operations on · 14aba5ce
      Darin Adler authored
      	views to simplify and clarify Nautilus. Later we will be able to
      	clean up the state machine.
      
      	Some "theoretical" stuff may be lost in this process, but we can
      	easily re-add what we really need. The old stuff had many
      	unimplemented placeholders and half-baked ideas.
      
      	* libnautilus/nautilus-view-component.idl:
      	* libnautilus/nautilus-view.h:
      	* libnautilus/nautilus-view.c:
      	* libnautilus/nautilus-zoomable.c:
      	(nautilus_zoomable_ensure_zoomable_frame),
      	(nautilus_zoomable_set_zoom_level):
      	* src/nautilus-applicable-views.c: (got_file_info_callback),
      	(got_metadata_callback), (nautilus_navigation_info_new),
      	(nautilus_navigation_info_free):
      	* src/nautilus-applicable-views.h:
      	* src/nautilus-view-frame-bonobo-control.c:
      	(nautilus_view_frame_activate_uri),
      	(bonobo_control_try_load_client), (bonobo_control_load_location):
      	* src/nautilus-view-frame-bonobo-embeddable.c:
      	(bonobo_subdoc_notify_location_change),
      	(bonobo_subdoc_try_load_client):
      	* src/nautilus-view-frame-corba.c:
      	(impl_Nautilus_ViewFrame__destroy),
      	(impl_Nautilus_ViewFrame__create),
      	(impl_Nautilus_ViewFrame_open_location),
      	(impl_Nautilus_ViewFrame_open_location_in_new_window),
      	(impl_Nautilus_ViewFrame_report_location_change),
      	(impl_Nautilus_ViewFrame_report_selection_change),
      	(impl_Nautilus_ViewFrame_report_status),
      	(impl_Nautilus_ViewFrame_report_load_underway),
      	(impl_Nautilus_ViewFrame_report_load_progress),
      	(impl_Nautilus_ViewFrame_report_load_complete),
      	(impl_Nautilus_ViewFrame_report_load_failed),
      	(impl_Nautilus_ViewFrame_set_title):
      	* src/nautilus-view-frame-nautilus-view.c:
      	(nautilus_view_try_load_client), (load_location), (stop_loading),
      	(selection_changed):
      	* src/nautilus-view-frame-private.h:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_initialize_class),
      	(nautilus_view_frame_destroy_client),
      	(nautilus_view_frame_handle_client_destroy_2),
      	(nautilus_view_frame_new), (nautilus_view_frame_load_client),
      	(nautilus_view_frame_load_location),
      	(nautilus_view_frame_stop_loading),
      	(nautilus_view_frame_selection_changed),
      	(nautilus_view_frame_is_zoomable),
      	(nautilus_view_frame_open_location),
      	(nautilus_view_frame_open_location_in_new_window),
      	(nautilus_view_frame_report_location_change),
      	(nautilus_view_frame_report_selection_change),
      	(nautilus_view_frame_report_status),
      	(nautilus_view_frame_report_load_underway),
      	(nautilus_view_frame_report_load_progress),
      	(nautilus_view_frame_report_load_complete),
      	(nautilus_view_frame_report_load_failed),
      	(nautilus_view_frame_set_title),
      	(nautilus_view_frame_zoom_level_changed):
      	* src/nautilus-view-frame.h:
      	* src/nautilus-zoomable-frame-corba.c:
      	(impl_Nautilus_ZoomableFrame__destroy),
      	(impl_Nautilus_ZoomableFrame__create),
      	(impl_Nautilus_ZoomableFrame_zoom_level_changed):
      	Changed the API and added a ton of comments.
      
      	* components/hardware/nautilus-hardware-view.c:
      	(nautilus_hardware_view_initialize),
      	(hardware_view_load_location_callback):
      	* components/help/hyperbola-nav-index.c:
      	(hyperbola_navigation_index_select_row):
      	* components/help/hyperbola-nav-search.c:
      	(hyperbola_navigation_search_select_row):
      	* components/help/hyperbola-nav-tree.c:
      	(hyperbola_navigation_tree_new),
      	(hyperbola_navigation_tree_load_location),
      	(hyperbola_navigation_tree_select_row):
      	* components/history/nautilus-history-view.c:
      	(hyperbola_navigation_history_load_location),
      	(hyperbola_navigation_history_select_row), (make_obj):
      	* components/html/ntl-web-browser.c: (browser_url_load_done),
      	(browser_vfs_callback), (browser_goto_url_real),
      	(browser_goto_url), (browser_select_url), (browser_title_changed),
      	(browser_notify_location_change):
      	* components/loser/content/nautilus-content-loser.c:
      	(nautilus_content_loser_initialize),
      	(loser_load_location_callback):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(nautilus_sidebar_loser_initialize),
      	(loser_load_location_callback):
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_initialize),
      	(music_view_load_location_callback):
      	* components/notes/nautilus-notes.c: (notes_load_location),
      	(make_notes_view):
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_initialize), (go_to_button_callback),
      	(rpm_view_load_location_callback):
      	* components/sample/nautilus-sample-content-view.c:
      	(nautilus_sample_content_view_initialize),
      	(sample_load_location_callback):
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
      	(go_to_uri), (nautilus_service_startup_view_initialize),
      	(service_load_location_callback):
      	* components/services/time/nautilus-view/trilobite-eazel-time-view.c:
      	(trilobite_eazel_time_view_initialize), (load_location_callback):
      	* components/websearch/ntl-web-search.c: (do_search), (make_obj):
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_switch_location),
      	(fm_directory_view_initialize), (display_selection_info),
      	(fm_directory_view_send_selection_change),
      	(load_location_callback), (selection_changed_callback),
      	(stop_loading_callback), (done_loading), (finish_loading_uri):
      	Switch components to use the new API.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	Added a placeholder for a new operation to get the first child of a
      	container. This will be way more efficient than all the code that
      	gets a list of all the children and then looks at the first one.
      
      	* src/nautilus-application.c: (manufactures), (create_object),
      	(create_factory), (nautilus_application_initialize_class),
      	(nautilus_application_initialize), (nautilus_application_new),
      	(nautilus_application_destroy),
      	(nautilus_application_check_user_directories),
      	(nautilus_application_startup),
      	(nautilus_application_destroy_window), (nautilus_application_quit),
      	(nautilus_application_create_window):
      	* src/nautilus-application.h:
      	* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
      	* src/nautilus-desktop-window.h:
      	* src/nautilus-main.c: (main):
      	Renamed NautilusApp -> NautilusApplication while changing it around.
      
      	* libnautilus-extensions/nautilus-undo-manager.h:
      	Add a blank line.
      
      	* src/nautilus-window-manage-views.h:
      	* src/nautilus-window-manage-views.c: (compare_strings),
      	(nautilus_window_report_selection_change): Changed code so that it
      	won't report the same selection change twice.
      	(nautilus_window_report_status),
      	(nautilus_window_report_load_underway),
      	(nautilus_window_report_load_progress),
      	(nautilus_window_report_load_complete),
      	(nautilus_window_report_load_failed), (compute_default_title),
      	(nautilus_window_set_title), (handle_go_back), (handle_go_forward),
      	(handle_go_elsewhere), (update_up_button),
      	(nautilus_window_update_internals), (nautilus_window_update_view),
      	(nautilus_window_view_destroyed),
      	(nautilus_window_has_really_changed),
      	(nautilus_window_load_sidebar_panel), (open_location),
      	(nautilus_window_open_location),
      	(nautilus_window_open_location_in_new_window),
      	(nautilus_window_report_location_change),
      	(nautilus_window_load_content_view),
      	(nautilus_window_update_state),
      	(nautilus_window_end_location_change_callback),
      	(nautilus_window_begin_location_change): Updated everything for the
      	new API.
      
      	* src/nautilus-window-menus.c: (file_menu_new_window_callback),
      	(edit_menu_undo_callback), (edit_menu_cut_callback),
      	(edit_menu_copy_callback), (edit_menu_paste_callback),
      	(edit_menu_clear_callback), (append_bookmark_to_menu),
      	(clear_appended_bookmark_items),
      	(nautilus_window_add_bookmark_for_current_location),
      	(append_separator), (new_top_level_menu),
      	(nautilus_window_initialize_menus), (update_user_level_menu_items):
      	* src/nautilus-window-private.h:
      	* src/nautilus-window-toolbars.c: (setup_button),
      	(nautilus_window_initialize_toolbars),
      	(nautilus_window_toolbar_remove_theme_callback):
      	* src/nautilus-window.c: (nautilus_window_class_init),
      	(nautilus_window_goto_uri), (nautilus_window_constructed),
      	(nautilus_window_set_arg), (nautilus_window_get_arg),
      	(nautilus_window_destroy), (nautilus_window_switch_views),
      	(view_menu_choose_view_callback),
      	(nautilus_window_load_content_view_menu),
      	(nautilus_window_back_or_forward), (nautilus_window_go_up),
      	(nautilus_window_allow_back), (nautilus_window_allow_forward),
      	(nautilus_window_allow_up),
      	(nautilus_window_open_location_callback),
      	(nautilus_window_open_location_in_new_window_callback),
      	(nautilus_window_report_location_change_callback),
      	(nautilus_window_report_selection_change_callback),
      	(nautilus_window_report_status_callback),
      	(nautilus_window_report_load_underway_callback),
      	(nautilus_window_report_load_progress_callback),
      	(nautilus_window_report_load_complete_callback),
      	(nautilus_window_report_load_failed_callback),
      	(nautilus_window_set_title_callback),
      	(nautilus_window_connect_view),
      	(nautilus_window_connect_content_view), (nautilus_window_reload),
      	(window_update_sidebar_panels_from_preferences):
      	* src/nautilus-window.h:
      	Other changes related to the API switchover.
      
      	* src/nautilus.oafinfo: Changed the ntl-xx iids to use the work
      	nautilus instead.
      14aba5ce
  12. 07 Jun, 2000 1 commit
    • Darin Adler's avatar
      The main change here is revamping the undo manager. · 62ae0377
      Darin Adler authored
      	To get a complete check-out you might have to delete
      	the file named libnautilus/nautilus-undo.h that used
      	to be a generated file and is now checked-in.
      
      	* components/help/help-method.c: (vfs_module_transform):
      	Removed a bogus extraneous FIXME.
      
      	* libnautilus-extensions/Makefile.am:
      	Moved the undo manager into libnautilus-extensions
      	since it's not needed by Nautilus components.
      
      	* libnautilus-extensions/nautilus-entry.c:
      	* libnautilus-extensions/nautilus-icon-text-item.c:
      	* libnautilus/nautilus-view.c:
      	* src/nautilus-application.c:
      	* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
      	* src/nautilus-view-frame.c:
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.c:
      	Updated includes and a few small function name changes.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(alive_disconnecter),
      	(nautilus_gtk_signal_connect_full_while_alive):
      	Added a new function that combines the features of
      	gtk_signal_connect_full with gtk_signal_connect_while_alive.
      
      	* libnautilus/nautilus-undo-context.h: [removed]
      	* libnautilus/nautilus-undo-context.c: [removed]
      	* libnautilus-extensions/nautilus-undo-context.h:
      	* libnautilus-extensions/nautilus-undo-context.c:
      	(impl_Nautilus_Undo_Context__destroy),
      	(impl_Nautilus_Undo_Context__create),
      	(impl_Nautilus_Undo_Context__get_undo_manager),
      	(nautilus_undo_context_new), (destroy),
      	(nautilus_undo_context_initialize_class):
      	Rewrote this class to simplify it (after moving it here).
      
      	* libnautilus/nautilus-undo-manager.h: [removed]
      	* libnautilus/nautilus-undo-manager.c: [removed]
      	* libnautilus/nautilus-undo-manager-private.h: [removed]
      	* libnautilus-extensions/nautilus-undo-manager.h:
      	* libnautilus-extensions/nautilus-undo-manager.c:
      	(impl_Nautilus_Undo_Manager__destroy),
      	(impl_Nautilus_Undo_Manager__create),
      	(impl_Nautilus_Undo_Manager__append),
      	(impl_Nautilus_Undo_Manager__forget),
      	(nautilus_undo_manager_initialize),
      	(nautilus_undo_manager_initialize_class),
      	(nautilus_undo_manager_undo),
      	(nautilus_undo_manager_add_transaction),
      	(nautilus_undo_manager_forget_transaction),
      	(nautilus_undo_manager_set_queue_depth),
      	(nautilus_undo_manager_attach),
      	(nautilus_undo_manager_add_interface), (update_undo_menu_item),
      	(undo_menu_handler_connection_free),
      	(undo_menu_handler_connection_free_cover),
      	(nautilus_undo_manager_set_up_bonobo_ui_handler_undo_item):
      	Rewrote this class to simplify it. Got rid of many old
      	interfaces and added some new ones.
      
      	* libnautilus/.cvsignore:
      	* libnautilus/Makefile.am:
      	Renamed the old nautilus-undo.idl to
      	nautilus-distributed-undo.idl.  The IDL is only about the internal
      	part of the undo framework.  Clients use calls that are in
      	nautilus-undo.h. The part that's public needs the prettier name.
      
      	* libnautilus/nautilus-undo.idl: [removed]
      	* libnautilus/nautilus-distributed-undo.idl:
      	Updated the names of menu-item-related things to better match the
      	standard terminology.
      
      	* libnautilus/nautilus-undo-private.h:
      	Added this new header for things needed by the undo manager that
      	are in libnautilus. Maybe we can eliminate this later.
      
      	* libnautilus/nautilus-undo-transaction.h:
      	* libnautilus/nautilus-undo-transaction.c:
      	(impl_Nautilus_Undo_Transaction__destroy),
      	(impl_Nautilus_Undo_Transaction__create),
      	(impl_Nautilus_Undo_Transaction__get_undo_menu_item),
      	(impl_Nautilus_Undo_Transaction__get_redo_menu_item),
      	(impl_Nautilus_Undo_Transaction__get_operation_name),
      	(impl_Nautilus_Undo_Transaction__undo),
      	(nautilus_undo_transaction_new),
      	(nautilus_undo_transaction_initialize),
      	(remove_transaction_from_object),
      	(nautilus_undo_transaction_destroy),
      	(nautilus_undo_transaction_initialize_class),
      	(nautilus_undo_transaction_add_atom),
      	(nautilus_undo_transaction_undo),
      	(nautilus_undo_transaction_add_to_undo_manager), (remove_atoms),
      	(remove_atoms_cover),
      	(nautilus_undo_transaction_unregister_object), (undo_atom_free),
      	(undo_atom_undo_and_free), (undo_atom_free_cover),
      	(undo_atom_undo_and_free_cover), (undo_atom_list_free),
      	(undo_atom_list_undo_and_free):
      	Rewrote and simplified this class and got rid of all uses of
      	NautilusUndoable.
      
      	* libnautilus/nautilus-undoable.h: [removed]
      	* libnautilus/nautilus-undoable.c: [removed]
      	* libnautilus/nautilus-undo.h:
      	* libnautilus/nautilus-undo.c: (nautilus_undo_register),
      	(nautilus_undo_register_full), (nautilus_undo_unregister),
      	(nautilus_undo), (nautilus_undo_get_undo_manager),
      	(undo_manager_ref), (undo_manager_unref),
      	(undo_manager_unref_cover), (nautilus_undo_attach_undo_manager),
      	(nautilus_undo_share_undo_manager), (set_up_bonobo_control),
      	(nautilus_undo_set_up_bonobo_control):
      	Added this new file with the public interface of the undo code and
      	most of the basic implementation. Most of this was previously in
      	nautilus-undoable.c.
      
      	* nautilus-widgets/nautilus-preferences.c:
      	(preferences_hash_node_free), (preferences_hash_node_add_callback),
      	(preferences_hash_node_remove_callback),
      	(preferences_hash_node_check_changes_func),
      	(preferences_callback_node_alloc),
      	(preferences_callback_node_free),
      	(preferences_callback_node_free_func),
      	(preferences_callback_node_invoke_func),
      	(preferences_gconf_callback):
      	Fixed a repeated spelling error in this file.
      
      	* src/nautilus-application.c: (nautilus_app_init):
      	* src/nautilus-view-frame.c: (nautilus_view_frame_load_client):
      	* src/nautilus-window-menus.c: (edit_menu_undo_callback),
      	(nautilus_window_initialize_menus):
      	* src/nautilus-window.c: (nautilus_window_constructed):
      	Changed to use public parts of the undo API instead of the old
      	stuff that used private secret stuff. Many places use nice new
      	convenient calls that do a lot of the work for you.
      62ae0377
  13. 31 May, 2000 2 commits
    • Darin Adler's avatar
      Another cut on the desktop. Way closer. · 91fc8d21
      Darin Adler authored
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-generous-bin.h:
      	* libnautilus-extensions/nautilus-generous-bin.c:
      	Added a new class NautilusGenerousBin. This is a GtkBin
      	subclass that gives its entire allocation to its child.
      	Used both in the widgetry for desktop windows and as a
      	base class for NautilusViewFrame for now.
      
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	(turn_on_line_wrap_flag), (turn_on_line_wrap_flag_callback):
      	Changed to use gtk_container_foreach instead of the old
      	gtk_container_children, since I now understand that the
      	latter is just a convenience cover for the former.
      
      	* src/Makefile.am:
      	* src/nautilus-window-state.c: [removed]
      	* src/nautilus-window-state.h: [removed]
      	The only function in here was a wonky one that did goto_uri
      	of go_home depending on the parameter. Changed the callers
      	and things got clearer anyway.
      
      	* src/nautilus-application.h:
      	* src/nautilus-application.c: (display_caveat),
      	(nautilus_app_startup):
      	* src/nautilus-main.c: (main):
      	Changed rules about which windows are created on startup. This
      	puts us into a slightly bad state because it's now easy to
      	create a desktop window with no way to get rid of it.
      
      	* src/nautilus-desktop-window.h:
      	* src/nautilus-desktop-window.c:
      	(nautilus_desktop_window_initialize_class),
      	(nautilus_desktop_window_initialize), (destroy), (realize):
      	A better cut at the desktop window creation that now mostly works.
      
      	* src/nautilus-main.c: (main):
      	Changed the "--desktop" option's name to "--manage-desktop".
      
      	* src/nautilus-view-frame.h:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_initialize_class),
      	(nautilus_view_frame_initialize),
      	(nautilus_view_frame_destroy_client),
      	(nautilus_view_frame_destroy),
      	(nautilus_view_frame_construct_arg_set):
      	Changed to use NautilusGenerousBin as base class. Also use the
      	Nautilus boilerplate macros.
      
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_request_location_change):
      	Use goto_uri instead of set_initial_state.
      
      	* src/nautilus-window-private.h:
      	* src/nautilus-window.h:
      	* src/nautilus-window.c: (nautilus_window_go_home):
      	Make go_home public and move the actual code needed to go to the
      	home package into the function.
      
      	* src/nautilus-window.c: (nautilus_window_constructed):
      	Reduced the amount of hackery on behalf of the desktop window and
      	used the NautilusGenerousBin class.
      91fc8d21
    • Darin Adler's avatar
      Small updates. · a0095deb
      Darin Adler authored
      	* RENAMING: Small updates.
      
      	* components/help/converters/gnome-info2html2/main.c: (main):
      	* components/html/glibwww-init.c: (glibwww_parse_proxy_env):
      	* components/html/ntl-web-browser.c: (main):
      	* components/loser/content/nautilus-content-loser.c:
      	(ensure_fail_env):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(ensure_fail_env):
      	* components/notes/nautilus-notes.c: (main):
      	* libnautilus-extensions/nautilus-view-identifier.c:
      	(get_lang_list):
      	* src/nautilus-application.c: (nautilus_app_startup):
      	* src/nautilus-main.c: (main):
      	Changed from getenv to g_getenv, even though it makes no
      	difference right now, because it's "the right thing to do (tm)".
      
      	* components/services/time/nautilus-view/trilobite-eazel-time-view.h:
      	Fixed include (the build was broken for me or anyone who doesn't
      	have old .h files sitting around in their install directory).
      
      	* libnautilus-extensions/nautilus-directory.c:
      	(construct_alternate_metafile_uri):
      	Use nautilus_get_user_directory instead of hard-coding the name
      	of the user directory.
      
      	* libnautilus-extensions/nautilus-file-utilities.h:
      	* libnautilus-extensions/nautilus-file-utilities.c:
      	(nautilus_get_user_directory), (nautilus_get_user_main_directory):
      	Use #defines instead of global constants since these are things
      	that do not change and this is not C++ :-) Added "get_" to the
      	names of these functions so they would be verbs instead of nouns.
      	(nautilus_get_desktop_directory): Added this new function for use
      	by the desktop code.
      
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_create_dialog),
      	(nautilus_global_preferences_get_enabled_sidebar_panel_view_identifiers),
      	(nautilus_global_preferences_get_disabled_sidebar_panel_view_identifiers),
      	(global_preferences_register_sidebar_panels_preferences_for_ui):
      	* libnautilus-extensions/nautilus-view-identifier.h:
      	* libnautilus-extensions/nautilus-view-identifier.c:
      	(nautilus_view_identifier_list_free):
      	* src/nautilus-applicable-views.c: (nautilus_navigation_info_free):
      	Changed nautilus_view_identifier_free_list to *_list_free to match
      	other calls with similar names.
      
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(user_level_changed_callback):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(get_themed_icon_file_path):
      	* src/file-manager/fm-properties-window.c: (get_property_names):
      	* src/nautilus-bookmark-list.c:
      	(nautilus_bookmark_list_get_file_path):
      	* src/nautilus-property-browser.c:
      	(nautilus_property_browser_drag_data_get), (make_drag_image),
      	(remove_color), (remove_background), (remove_emblem),
      	(get_xml_path), (add_background_to_browser), (add_color_to_file),
      	(emblem_dialog_clicked), (make_properties_from_directory):
      	Change to use directory calls by new "get_" names.
      
      	* src/Makefile.am: Removed nautilus.h since it is long gone,
      	and fixed spelling of nautlus-window-state.h.
      
      	* src/file-manager/.cvsignore: Stop ignoring things that we
      	no longer generated.
      
      	* src/file-manager/desktop-item.c: [removed]
      	* src/file-manager/desktop-item.h: [removed]
      	* src/file-manager/desktop-layout.c: [removed]
      	* src/file-manager/desktop-layout.h: [removed]
      	* src/file-manager/desktop-window.c: [removed]
      	* src/file-manager/desktop-window.h: [removed]
      	The rest of the code has been harvested from the desktop
      	implementation. As I said before we can always recover it if we
      	decide we want to reuse it.
      
      	* src/file-manager/fm-main.c: [removed]
      	This was no longer used and was getting out of date. The file manager
      	is now compiled in rather than being a separate process.
      
      	* src/nautilus-desktop-window.c:
      	(nautilus_desktop_window_initialize_class),
      	(nautilus_desktop_window_initialize),
      	(nautilus_desktop_window_new), (realize):
      	Another cut at the desktop code. Still not working too well,
      	but way further along.
      
      	* src/nautilus-sidebar.h:
      	* src/nautilus-sidebar.c:
      	* src/nautilus-view-frame.c:
      	(nautilus_view_frame_handle_client_destroy_2):
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window.h:
      	* src/nautilus-window.c:
      	* src/nautilus-window-private.h:
      	Changed the names to use Sidebar instead of IndexPanel.
      	Also changed to say sidebar panel instead of meta view in many
      	places.
      a0095deb
  14. 27 May, 2000 1 commit
    • Maciej Stachowiak's avatar
      components/history/ntl-history-view.c -> · a15fd9f8
      Maciej Stachowiak authored
      	* Renamed files as follows, as per RENAMING:
      	components/history/ntl-history-view.c -> components/history/nautilus-history-view.c
      	components/history/ntl-history-view.oafinfo -> components/history/nautilus-history-view.oafinfo
      	components/notes/ntl-notes.c -> components/notes/nautilus-notes.c
      	components/notes/ntl-notes.oafinfo -> components/notes/nautilus-notes.oafinfo
      	libnautilus-extensions/gtkscrollframe.c -> libnautilus-extensions/nautilus-scroll-frame.c
      	libnautilus-extensions/gtkscrollframe.h -> libnautilus-extensions/nautilus-scroll-frame.h
      	libnautilus/nautilus-view-frame.c -> libnautilus/nautilus-view.c
      	libnautilus/nautilus-view-frame.h -> libnautilus/nautilus-view.h
      	src/nautilus-index-tabs.c -> src/nautilus-sidebar-tabs.c
      	src/nautilus-index-tabs.h -> src/nautilus-sidebar-tabs.h
      	src/nautilus-index-title.c -> src/nautilus-sidebar-title.c
      	src/nautilus-index-title.h -> src/nautilus-sidebar-title.h
      	src/nautilus-zoomable-frame-svr.c -> src/nautilus-zoomable-frame-corba.c
      	src/ntl-app.c -> src/nautilus-application.c
      	src/ntl-app.h -> src/nautilus-application.h
      	src/ntl-index-panel.c -> src/nautilus-sidebar.c
      	src/ntl-index-panel.h -> src/nautilus-sidebar.h
      	src/ntl-main.c -> src/nautilus-main.c
      	src/ntl-miniicon.c -> libnautilus-extensions/nautilus-mini-icon.c
      	src/ntl-miniicon.h -> libnautilus-extensions/nautilus-mini-icon.h
      	src/ntl-uri-map.c -> src/nautilus-applicable-views.c
      	src/ntl-uri-map.h -> src/nautilus-applicable-views.h
      	src/ntl-view-bonobo-control.c -> src/nautilus-view-frame-bonobo-control.c
      	src/ntl-view-bonobo-subdoc.c -> src/nautilus-view-frame-bonobo-embeddable.c
      	src/ntl-view-frame-svr.c -> src/nautilus-view-frame-corba.c
      	src/ntl-view-nautilus.c -> src/nautilus-view-frame-nautilus-view.c
      	src/ntl-view-private.h -> src/nautilus-view-frame-private.h
      	src/ntl-view.c -> src/nautilus-view-frame.c
      	src/ntl-view.h -> src/nautilus-view-frame.h
      	src/ntl-window-msgs.c -> src/nautilus-window-manage-views.c
      	src/ntl-window-msgs.h -> src/nautilus-window-manage-views.h
      	src/ntl-window-private.h -> src/nautilus-window-private.h
      	src/ntl-window-state.c -> src/nautilus-window-state.c
      	src/ntl-window-state.h -> src/nautilus-window-state.h
      	src/ntl-window.c -> src/nautilus-window.c
      	src/ntl-window.h -> src/nautilus-window.h
      
      	* components/history/Makefile.am, components/notes/Makefile.am,
      	libnautilus-extensions/Makefile.am, libnautilus/Makefile.am,
      	po/POTFILES.in, src/Makefile.am,
      	components/hardware/nautilus-hardware-view.h,
      	components/loser/content/nautilus-content-loser.h,
      	components/loser/sidebar/nautilus-sidebar-loser.h,
      	components/mozilla/nautilus-mozilla-content-view.h,
      	components/music/nautilus-music-view.h,
      	components/rpmview/nautilus-rpm-view.h,
      	components/sample/nautilus-sample-content-view.h,
      	components/services/startup/nautilus-view/nautilus-service-startup-view.h,
      	libnautilus/libnautilus.h, src/nautilus-desktop-window.h,
      	src/nautilus-window-menus.c, src/nautilus-window-toolbars.c,
      	src/file-manager/fm-directory-view.h : Updated for renamings.
      
      	* RENAMING: removed old renamings
      a15fd9f8
  15. 25 May, 2000 1 commit
    • Darin Adler's avatar
      [removed] [removed] · 346de152
      Darin Adler authored
      	* components/hardware/nautilus-hardware-view.c:
      	(nautilus_hardware_view_initialize),
      	(hardware_view_notify_location_change_callback):
      	* components/hardware/nautilus-hardware-view.h:
      	* components/help/hyperbola-nav-index.c:
      	(hyperbola_navigation_index_select_row):
      	* components/help/hyperbola-nav-search.c:
      	(hyperbola_navigation_search_select_row),
      	(hyperbola_navigation_search_new):
      	* components/html/ntl-web-browser.c: (browser_url_load_done),
      	(browser_vfs_callback), (browser_goto_url_real),
      	(browser_goto_url), (browser_select_url), (browser_title_changed),
      	(browser_notify_location_change), (make_obj):
      	* components/loser/content/main.c: (loser_make_object):
      	* components/loser/content/nautilus-content-loser.c:
      	(nautilus_content_loser_initialize),
      	(loser_notify_location_change_callback):
      	* components/loser/content/nautilus-content-loser.h:
      	* components/loser/sidebar/main.c: (loser_make_object):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(nautilus_sidebar_loser_initialize),
      	(loser_notify_location_change_callback):
      	* components/mozilla/main.c: (mozilla_make_object):
      	* components/mozilla/nautilus-mozilla-content-view.c:
      	(nautilus_mozilla_content_view_initialize),
      	(mozilla_content_view_request_progress_change),
      	(mozilla_content_view_request_location_change),
      	(mozilla_notify_location_change_callback),
      	(mozilla_title_changed_callback), (mozilla_link_message_callback):
      	* components/mozilla/nautilus-mozilla-content-view.h:
      	* components/music/main.c: (music_view_make_object):
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_initialize), (click_column_callback),
      	(music_view_notify_location_change_callback),
      	(nautilus_music_view_drag_data_received):
      	* components/music/nautilus-music-view.h:
      	* components/rpmview/main.c: (rpm_view_make_object):
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_initialize),
      	(rpm_view_notify_location_change_callback):
      	* components/rpmview/nautilus-rpm-view.h:
      	* components/sample/main.c: (sample_make_object):
      	* components/sample/nautilus-sample-content-view.c:
      	(nautilus_sample_content_view_initialize),
      	(sample_notify_location_change_callback):
      	* components/sample/nautilus-sample-content-view.h:
      	* components/services/startup/nautilus-view/main.c:
      	(services_make_object):
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
      	(go_to_uri), (nautilus_service_startup_view_initialize),
      	(service_main_notify_location_change_cb):
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.h:
      	* libnautilus/Makefile.am:
      	* libnautilus/libnautilus.h:
      	* libnautilus/nautilus-content-view-frame.c: [removed]
      	* libnautilus/nautilus-content-view-frame.h: [removed]
      	* libnautilus/nautilus-view-component.idl:
      	* libnautilus/nautilus-view-frame-private.h:
      	* libnautilus/nautilus-view-frame.c:
      	(impl_Nautilus_View_save_state), (impl_Nautilus_View_load_state),
      	(impl_Nautilus_View_notify_location_change),
      	(impl_Nautilus_View_show_properties),
      	(impl_Nautilus_View_notify_selection_change),
      	(impl_Nautilus_View_stop_location_change),
      	(impl_Nautilus_View__destroy), (impl_Nautilus_View__create),
      	(nautilus_view_initialize_class), (nautilus_view_initialize),
      	(nautilus_view_new), (nautilus_view_new_from_bonobo_control),
      	(get_view_frame), (nautilus_view_request_location_change),
      	(nautilus_view_request_selection_change),
      	(nautilus_view_request_status_change),
      	(nautilus_view_request_progress_change),
      	(nautilus_view_request_title_change),
      	(nautilus_view_get_bonobo_control),
      	(nautilus_view_get_main_window):
      	* libnautilus/nautilus-view-frame.h:
      	* src/Makefile.am:
      	* src/file-manager/fm-directory-view.c: (get_bonobo_control),
      	(fm_directory_view_initialize), (display_selection_info),
      	(fm_directory_view_send_selection_change),
      	(notify_location_change_callback), (stop_location_change_callback),
      	(done_loading), (fm_directory_view_activate_file_internal),
      	(finish_loading_uri):
      	* src/file-manager/fm-directory-view.h:
      	* src/ntl-app.c: (impl_Nautilus_Application_create_object):
      	* src/ntl-content-view.c: [removed]
      	* src/ntl-content-view.h: [removed]
      	* src/ntl-uri-map.c: (make_oaf_query_with_known_mime_type),
      	(make_oaf_query_with_uri_scheme_only):
      	* src/ntl-view-frame-svr.c: (impl_Nautilus_ViewFrame__destroy),
      	(impl_Nautilus_ViewFrame__create),
      	(impl_Nautilus_ViewFrame__get_main_window),
      	(impl_Nautilus_ViewFrame_request_location_change),
      	(impl_Nautilus_ViewFrame_request_selection_change),
      	(impl_Nautilus_ViewFrame_request_status_change),
      	(impl_Nautilus_ViewFrame_request_progress_change),
      	(impl_Nautilus_ViewFrame_request_title_change):
      	* src/ntl-view-private.h:
      	* src/ntl-view.c: (nautilus_view_frame_class_init),
      	(nautilus_view_frame_set_arg), (nautilus_view_frame_get_arg),
      	(nautilus_view_frame_request_location_change),
      	(nautilus_view_frame_request_selection_change),
      	(nautilus_view_frame_request_status_change),
      	(nautilus_view_frame_request_progress_change),
      	(nautilus_view_frame_request_title_change),
      	(nautilus_view_frame_set_label), (nautilus_view_frame_activate):
      	* src/ntl-view.h:
      	* src/ntl-window-msgs.c: (nautilus_window_request_title_change),
      	(nautilus_window_load_meta_view),
      	(nautilus_window_request_location_change),
      	(nautilus_window_load_content_view):
      	* src/ntl-window-msgs.h:
      	* src/ntl-window-private.h:
      	* src/ntl-window.c:
      	(nautilus_window_request_title_change_callback),
      	(nautilus_window_connect_content_view),
      	(nautilus_window_real_set_content_view):
      	Got rid of ContentView and ContentViewFrame.
      346de152
  16. 24 May, 2000 3 commits
    • Darin Adler's avatar
      [deleted] [deleted] · f6a5f321
      Darin Adler authored
      	* libnautilus/nautilus-view-component.idl:
      	* src/Makefile.am:
      	* src/ntl-index-panel.c: (nautilus_index_panel_add_meta_view):
      	* src/ntl-meta-view.c: [deleted]
      	* src/ntl-meta-view.h: [deleted]
      	* src/ntl-view.c: (nautilus_view_frame_handle_client_destroy_2),
      	(nautilus_view_frame_set_active_errors),
      	(nautilus_view_frame_get_label), (nautilus_view_frame_set_label):
      	* src/ntl-view.h:
      	* src/ntl-window-msgs.c: (nautilus_window_load_meta_view),
      	(nautilus_window_update_state):
      	* src/ntl-window.c:
      	Removed Nautilus::MetaViewFrame and all the related classes.
      f6a5f321
    • Darin Adler's avatar
      Moved to make clear that popt must build first. · 3f2b83b1
      Darin Adler authored
      	* HACKING: Moved to make clear that popt must build first.
      
      	* RENAMING: Added some new file renamings.
      
      	* src/nautilus-zoomable-frame-svr.c:
      	* src/nautilus.h: [removed]
      	* src/ntl-app.c:
      	* src/ntl-main.c:
      	* src/ntl-meta-view.c:
      	* src/ntl-types.h: [removed]
      	* src/ntl-uri-map.c:
      	* src/ntl-view-bonobo-control.c:
      	* src/ntl-view-bonobo-subdoc.c:
      	* src/ntl-view-frame-svr.c:
      	* src/ntl-view-nautilus.c:
      	* src/ntl-view-private.h:
      	* src/ntl-view.c:
      	* src/ntl-window-msgs.c:
      	* src/ntl-window-state.c:
      	* src/ntl-window.c:
      	Got rid of "nautilus.h" and "ntl-types.h".
      
      	* libnautilus/nautilus-undo-context.c:
      	(impl_Nautilus_Undo_Context__destroy),
      	(impl_Nautilus_Undo_Context__create),
      	(impl_Nautilus_Undo_Context__get_undo_manager),
      	(nautilus_undo_context_new), (nautilus_undo_context_initialize),
      	(destroy):
      	* libnautilus/nautilus-undo-manager.c:
      	(impl_Nautilus_Undo_Manager__destroy),
      	(impl_Nautilus_Undo_Manager__create),
      	(impl_Nautilus_Undo_Manager__append),
      	(impl_Nautilus_Undo_Manager__forget),
      	(impl_Nautilus_Undo_Manager__undo), (nautilus_undo_manager_new),
      	(nautilus_undo_manager_initialize),
      	(nautilus_undo_manager_initialize_class),
      	(nautilus_undo_manager_undo), (nautilus_undo_manager_redo),
      	(nautilus_undo_manager_add_transaction),
      	(nautilus_undo_manager_unregister_object),
      	(nautilus_undo_manager_can_undo), (nautilus_undo_manager_can_redo),
      	(destroy), (nautilus_undo_manager_enable_redo),
      	(nautilus_undo_manager_set_queue_depth), (free_undo_manager_list):
      	Various code cleanups. Specifically, get rid of unused
      	bonobo_object and rename gtk_object to bonobo_object.
      	Get rid of some yucky function pointer casts.
      
      	* src/ntl-app.c: (nautilus_app_init):
      	Got rid of bogus extra ref.
      
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(nautilus_program_chooser_new): Reindent part just to annoy John.
      	* libnautilus-extensions/nautilus-program-choosing.c:
      	(nautilus_launch_application): Newline at end of file (ugh).
      
      	* src/ntl-index-panel.c: (add_command_buttons): Format tweaking.
      3f2b83b1
    • Gene Z. Ragan's avatar
      Added call to CORBA_Object_duplicate(). This fixed an explosive bug. · 539ae559
      Gene Z. Ragan authored
      2000-05-23  Gene Z. Ragan  <gzr@eazel.com>
      
      	* libnautilus/nautilus-undo-context.c:
      	(impl_Nautilus_Undo_Context__get_undo_manager):
      	Added call to CORBA_Object_duplicate().  This
      	fixed an explosive bug.
      
      	* libnautilus/nautilus-undo-manager.c:
      	* libnautilus/nautilus-undo-manager.h:
      	(nautilus_undo_manager_stash_global_undo),
      	(nautilus_undo_manager_get_global_undo):
      	New functions to save application global instance of Nautilus_Undo_Manager
      
      	* src/ntl-app.c: (nautilus_app_init):
      	Add call to nautilus_undo_manager_stash_global_undo.
      
      	* src/ntl-view.c:
      	(nautilus_view_frame_load_client):
      	Coonected Nautilus_Undo_Context interface to view frame.
      539ae559
  17. 23 May, 2000 2 commits
    • Darin Adler's avatar
      The ViewFrame <-> View renaming. · 8ce35298
      Darin Adler authored
      	We still have to rename the files.
      
      	* RENAMING: Put in explicit cases for file name renaming.
      
      	* src/Makefile.am:
      	* src/nautilus-desktop-window.c:
      	* src/nautilus-desktop-window.h:
      	Added placeholders. I'll be putting code in here soon.
      
      	* src/ntl-app.c: (display_prototype_caveat):
      	Changed to use nautilus_simple_dialog again since otherwise it
      	comes up behind the main window. Perhaps someone will resolve
      	that issue and change it back.
      
      	* libnautilus-extensions/nautilus-gnome-extensions.h:
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	(nautilus_warning_dialog), (nautilus_warning_dialog_parented):
      	Added centered version of the warning dialog as well, since
      	Eskil was using gnome_warning_dialog in a case where he really
      	wanted lines wrapped.
      
      	* components/loser/.cvsignore:
      	* components/loser/content/.cvsignore:
      	* components/loser/sidebar/.cvsignore:
      	Ignore some generated files.
      
      	* components/hardware/main.c: (hardware_view_make_object):
      	* components/hardware/nautilus-hardware-view.c:
      	(nautilus_hardware_view_initialize),
      	(nautilus_hardware_view_destroy),
      	(nautilus_hardware_view_get_nautilus_view),
      	(hardware_view_notify_location_change_callback):
      	* components/hardware/nautilus-hardware-view.h:
      	* components/help/hyperbola-nav-index.c:
      	(hyperbola_navigation_index_select_row),
      	(hyperbola_navigation_index_new):
      	* components/help/hyperbola-nav-search.c:
      	(hyperbola_navigation_search_select_row),
      	(hyperbola_navigation_search_new):
      	* components/help/hyperbola-nav-tree.c:
      	(hyperbola_navigation_tree_new),
      	(hyperbola_navigation_tree_notify_location_change),
      	(hyperbola_navigation_tree_select_row):
      	* components/history/ntl-history-view.c:
      	(hyperbola_navigation_history_notify_location_change),
      	(hyperbola_navigation_history_select_row), (make_obj):
      	* components/html/ntl-web-browser.c: (browser_url_load_done),
      	(browser_vfs_callback), (browser_goto_url_real),
      	(browser_goto_url), (browser_select_url), (browser_title_changed),
      	(browser_notify_location_change), (make_obj):
      	* components/loser/content/main.c: (loser_make_object):
      	* components/loser/content/nautilus-content-loser.c:
      	(nautilus_content_loser_initialize),
      	(nautilus_content_loser_destroy),
      	(nautilus_content_loser_get_nautilus_view),
      	(nautilus_content_loser_load_uri),
      	(loser_notify_location_change_callback), (bonobo_loser_callback):
      	* components/loser/content/nautilus-content-loser.h:
      	* components/loser/sidebar/main.c: (loser_make_object):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(nautilus_sidebar_loser_initialize),
      	(nautilus_sidebar_loser_destroy),
      	(nautilus_sidebar_loser_get_nautilus_view),
      	(loser_notify_location_change_callback):
      	* components/loser/sidebar/nautilus-sidebar-loser.h:
      	* components/music/main.c: (music_view_make_object):
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_initialize), (nautilus_music_view_destroy),
      	(nautilus_music_view_get_nautilus_view),
      	(music_view_notify_location_change_callback):
      	* components/music/nautilus-music-view.h:
      	* components/notes/ntl-notes.c: (notes_notify_location_change),
      	(make_notes_view):
      	* components/rpmview/main.c: (rpm_view_make_object):
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_initialize), (nautilus_rpm_view_destroy),
      	(nautilus_rpm_view_get_nautilus_view),
      	(rpm_view_notify_location_change_callback):
      	* components/rpmview/nautilus-rpm-view.h:
      	* components/sample/main.c: (sample_make_object):
      	* components/sample/nautilus-sample-content-view.c:
      	(nautilus_sample_content_view_initialize),
      	(nautilus_sample_content_view_destroy),
      	(nautilus_sample_content_view_get_nautilus_view),
      	(sample_notify_location_change_callback):
      	* components/sample/nautilus-sample-content-view.h:
      	* components/services/startup/nautilus-view/main.c:
      	(services_make_object):
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
      	(go_to_uri), (nautilus_service_startup_view_initialize),
      	(nautilus_service_startup_view_get_nautilus_view),
      	(service_main_notify_location_change_cb):
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.h:
      	* components/websearch/ntl-web-search.c:
      	(web_search_notify_location_change), (do_search), (make_obj):
      	* libnautilus/nautilus-clipboard.c:
      	(nautilus_clipboard_info_set_view),
      	(nautilus_clipboard_info_get_view),
      	(nautilus_clipboard_info_get_bonobo_control):
      	* libnautilus/nautilus-clipboard.h:
      	* src/file-manager/fm-directory-view.c:
      	(bonobo_menu_move_to_trash_callback), (get_bonobo_control),
      	(fm_directory_view_initialize), (display_selection_info),
      	(fm_directory_view_send_selection_change),
      	(notify_location_change_callback),
      	(notify_selection_change_callback),
      	(stop_location_change_callback), (done_loading),
      	(fm_directory_view_get_nautilus_view),
      	(fm_directory_view_activate_file_internal), (finish_loading_uri):
      	* src/file-manager/fm-directory-view.h:
      	Updated for new libnautilus where the NautilusViewFrame
      	classes are now named NautilusView.
      
      	* libnautilus/nautilus-content-view-frame.c:
      	(nautilus_content_view_initialize), (nautilus_content_view_new),
      	(nautilus_content_view_new_from_bonobo_control),
      	(nautilus_content_view_destroy),
      	(nautilus_content_view_initialize_class),
      	(nautilus_content_view_request_title_change):
      	* libnautilus/nautilus-content-view-frame.h:
      	* libnautilus/nautilus-meta-view-frame.c:
      	(nautilus_meta_view_initialize), (nautilus_meta_view_new),
      	(nautilus_meta_view_new_from_bonobo_control),
      	(nautilus_meta_view_destroy),
      	(nautilus_meta_view_initialize_class):
      	* libnautilus/nautilus-meta-view-frame.h:
      	Changed Nautilus*ViewFrame classes to Nautilus*View. This is
      	something we had in RENAMING for some time, and it's consistent
      	with Bonobo's naming of BonoboControl and BonoboControlFrame.
      	Also changed interfaces to use actual BonoboControl * instead of
      	using BonobObject * and query_interface.
      
      	* libnautilus/nautilus-undo-manager.c:
      	(nautilus_undo_setup_bonobo_control):
      	* libnautilus/nautilus-undo-manager.h:
      	Changed the BonoboControl parameter to actually be of type
      	BonoboControl * instead of BonoboObject *.
      
      	* libnautilus/nautilus-view-frame-private.h:
      	* libnautilus/nautilus-view-frame.c:
      	(impl_Nautilus_View_save_state), (impl_Nautilus_View_load_state),
      	(impl_Nautilus_View_notify_location_change),
      	(impl_Nautilus_View_show_properties),
      	(impl_Nautilus_View_notify_selection_change),
      	(impl_Nautilus_View_stop_location_change),
      	(impl_Nautilus_View__destroy), (impl_Nautilus_View__create),
      	(nautilus_view_initialize_class), (nautilus_view_set_arg),
      	(nautilus_view_get_arg), (nautilus_view_initialize),
      	(nautilus_view_new), (nautilus_view_new_from_bonobo_control),
      	(nautilus_view_destroy), (nautilus_view_ensure_view_frame),
      	(nautilus_view_request_location_change),
      	(nautilus_view_request_selection_change),
      	(nautilus_view_request_status_change),
      	(nautilus_view_request_progress_change),
      	(nautilus_view_get_bonobo_control),
      	(nautilus_view_get_main_window),
      	(nautilus_view_real_set_bonobo_control):
      	* libnautilus/nautilus-view-frame.h:
      	* libnautilus/nautilus-zoomable.c:
      	(impl_Nautilus_Zoomable__get_zoom_level),
      	(impl_Nautilus_Zoomable__set_zoom_level),
      	(impl_Nautilus_Zoomable__get_min_zoom_level),
      	(impl_Nautilus_Zoomable__get_max_zoom_level),
      	(impl_Nautilus_Zoomable__get_is_continuous),
      	(impl_Nautilus_Zoomable_zoom_in),
      	(impl_Nautilus_Zoomable_zoom_out),
      	(impl_Nautilus_Zoomable_zoom_to_fit),
      	(impl_Nautilus_Zoomable__destroy),
      	(impl_Nautilus_Zoomable__create), (marshal_NONE__DOUBLE),
      	(nautilus_zoomable_initialize_class), (nautilus_zoomable_set_arg),
      	(nautilus_zoomable_get_arg), (nautilus_zoomable_initialize),
      	(nautilus_zoomable_new),
      	(nautilus_zoomable_new_from_bonobo_control),
      	(nautilus_zoomable_destroy),
      	(nautilus_zoomable_ensure_zoomable_frame),
      	(nautilus_zoomable_set_zoom_level),
      	(nautilus_zoomable_get_bonobo_control),
      	(nautilus_zoomable_real_set_bonobo_control):
      	* libnautilus/nautilus-zoomable.h:
      	* src/nautilus-zoomable-frame-svr.c:
      	(impl_Nautilus_ZoomableFrame__destroy),
      	(impl_Nautilus_ZoomableFrame__create),
      	(impl_Nautilus_ZoomableFrame_notify_zoom_level):
      	* src/ntl-app.c: (impl_Nautilus_Application_create_object),
      	* src/ntl-content-view.c:
      	(impl_Nautilus_ContentViewFrame_request_title_change),
      	(nautilus_content_view_frame_get_type),
      	(nautilus_content_view_frame_class_init),
      	(nautilus_content_view_frame_init),
      	(nautilus_content_view_frame_set_active),
      	(nautilus_content_view_frame_request_title_change):
      	* src/ntl-content-view.h:
      	* src/ntl-index-panel.c: (nautilus_index_panel_add_meta_view),
      	(nautilus_index_panel_remove_meta_view):
      	* src/ntl-index-panel.h:
      	* src/ntl-meta-view.c: (nautilus_meta_view_frame_initialize_class),
      	(nautilus_meta_view_frame_initialize),
      	(nautilus_meta_view_frame_set_label),
      	(nautilus_meta_view_frame_get_label):
      	* src/ntl-meta-view.h:
      	* src/ntl-view-bonobo-control.c: (destroy_bonobo_control_view),
      	(nautilus_view_frame_activate_uri),
      	(bonobo_control_try_load_client),
      	(bonobo_control_notify_location_change):
      	* src/ntl-view-bonobo-subdoc.c: (destroy_bonobo_subdoc_view),
      	(bonobo_subdoc_notify_location_change),
      	(bonobo_subdoc_try_load_client):
      	* src/ntl-view-frame-svr.c: (impl_Nautilus_ViewFrame__destroy),
      	(impl_Nautilus_ViewFrame__create),
      	(impl_Nautilus_ViewFrame_request_location_change),
      	(impl_Nautilus_ViewFrame_request_selection_change),
      	(impl_Nautilus_ViewFrame_request_status_change),
      	(impl_Nautilus_ViewFrame_request_progress_change):
      	* src/ntl-view-nautilus.c: (nautilus_view_try_load_client),
      	(destroy_nautilus_view), (nv_show_properties), (nv_save_state),
      	(nv_load_state), (nv_notify_location_change),
      	(nv_notify_selection_change), (nv_stop_location_change):
      	* src/ntl-view-private.h:
      	* src/ntl-view.c: (nautilus_view_frame_get_type),
      	(nautilus_view_frame_class_init), (nautilus_view_frame_set_arg),
      	(nautilus_view_frame_get_arg), (nautilus_view_frame_init),
      	(nautilus_view_frame_destroy_client),
      	(nautilus_view_frame_destroy), (nautilus_view_frame_constructed),
      	(nautilus_view_frame_construct_arg_set),
      	(nautilus_view_frame_size_request),
      	(nautilus_view_frame_size_allocate),
      	(nautilus_view_frame_handle_client_destroy),
      	(nautilus_view_frame_handle_client_destroy_2),
      	(nautilus_view_frame_load_client),
      	(nautilus_view_frame_notify_location_change),
      	(nautilus_view_frame_notify_selection_change),
      	(nautilus_view_frame_load_state), (nautilus_view_frame_save_state),
      	(nautilus_view_frame_show_properties),
      	(nautilus_view_frame_stop_location_change),
      	(nautilus_view_frame_is_zoomable),
      	(nautilus_view_frame_get_zoom_level),
      	(nautilus_view_frame_set_zoom_level),
      	(nautilus_view_frame_get_min_zoom_level),
      	(nautilus_view_frame_get_max_zoom_level),
      	(nautilus_view_frame_get_is_continuous),
      	(nautilus_view_frame_zoom_in), (nautilus_view_frame_zoom_out),
      	(nautilus_view_frame_zoom_to_fit), (nautilus_view_frame_get_iid),
      	(nautilus_view_frame_get_client_objref),
      	(nautilus_view_frame_get_objref),
      	(nautilus_view_frame_request_location_change),
      	(nautilus_view_frame_request_selection_change),
      	(nautilus_view_frame_request_status_change),
      	(nautilus_view_frame_request_progress_change),
      	(nautilus_view_frame_notify_zoom_level), (check_object),
      	(nautilus_view_frame_set_active_errors):
      	* src/ntl-view.h:
      	* src/ntl-window-msgs.c: (nautilus_window_notify_selection_change),
      	(nautilus_window_request_selection_change),
      	(nautilus_window_request_status_change),
      	(nautilus_window_request_progress_change),
      	(nautilus_window_request_title_change),
      	(nautilus_window_update_internals), (nautilus_window_update_view),
      	(nautilus_window_view_destroyed), (nautilus_window_load_meta_view),
      	(nautilus_window_request_location_change),
      	(nautilus_window_load_content_view),
      	(nautilus_window_update_state), (nautilus_window_set_state_info),
      	(nautilus_window_begin_location_change):
      	* src/ntl-window-msgs.h:
      	* src/ntl-window-private.h:
      	* src/ntl-window.c: (zoom_in_cb), (zoom_out_cb),
      	(nautilus_window_set_arg), (nautilus_window_send_show_properties),
      	(view_menu_switch_views_callback),
      	(nautilus_window_set_content_view),
      	(nautilus_window_add_meta_view),
      	(nautilus_window_remove_meta_view_real),
      	(nautilus_window_remove_meta_view),
      	(nautilus_window_request_location_change_cb),
      	(nautilus_window_request_selection_change_cb),
      	(nautilus_window_request_status_change_cb),
      	(nautilus_window_request_progress_change_cb),
      	(nautilus_window_request_title_change_callback),
      	(nautilus_window_connect_view),
      	(nautilus_window_connect_content_view),
      	(nautilus_window_real_set_content_view):
      	* src/ntl-window.h:
      	Changed Nautilus*View classes to Nautilus*ViewFrame. This is
      	something we had in RENAMING for some time, and it's consistent
      	with Bonobo's naming of BonoboControl and BonoboControlFrame.
      	Also changed interfaces to use actual BonoboControl * instead of
      	using BonoboObject * and query_interface.
      8ce35298
    • Gene Z. Ragan's avatar
      Additonal work on making the undo context CORBA object. · f469d19b
      Gene Z. Ragan authored
      2000-05-23  Gene Z. Ragan  <gzr@eazel.com>
      
      	* libnautilus/nautilus-undo-context.c:
      	* libnautilus/nautilus-undo-context.h:
      	(impl_Nautilus_Undo_Context__get_undo_manager),
      	(nautilus_undo_context_new), (nautilus_undo_context_initialize):
      	Additonal work on making the undo context CORBA object.
      
      	* libnautilus/nautilus-undo-manager.c:
      	* libnautilus/nautilus-undo-manager.h:
      	* libnautilus/nautilus-undo-manager-private.h:
      	(impl_Nautilus_Undo_Manager__undo),
      	(nautilus_undo_manager_initialize),
      	(nautilus_undo_manager_add_transaction),
      	(nautilus_undo_manager_unregister_object),
      	(nautilus_get_undo_manager), (nautilus_attach_undo_manager),
      	Changed APIs to accept and return Nautilus_Undo_Manager CORBA
      	object instead of NautilusUndoManager pointer.
      
      	(nautilus_undo_setup_bonobo_control):
      	Added function stub to be filled later.  This function
      	will attach an undo manager to a bonobo control.
      
      	Removed several functions no longer needed in new design,
      	including nautilus_undo_manager_begin_transaction(),
      	and nautilus_undo_manager_end_transaction().
      
      	* src/nautilus-window-menus.c: (edit_menu_undo_callback),
      	(nautilus_window_initialize_menus), (update_undo_menu_item):
      	Changed to use modified undo API
      
      	* src/ntl-app.c:
      	(nautilus_app_init):
      	Changed to use modified undo API
      
      	* src/ntl-window.c: (nautilus_window_constructed)
      	Changed to use modified undo API
      f469d19b
  18. 16 May, 2000 1 commit
    • Darin Adler's avatar
      Quick cleanup pass on FIXMEs. · 6281f2ee
      Darin Adler authored
      	* check-FIXME.pl: Added the count of FIXMEs with bug numbers
      	as well as the count of FIXMEs without.
      
      	* components/services/trilobite/lib/helixcode-utils.c:
      	(xml_get_value), (prune_xml), (check_for_root_user),
      	(check_for_redhat), (determine_redhat_version),
      	(determine_mandrake_version), (determine_turbolinux_version),
      	(determine_suse_version), (determine_debian_version),
      	(determine_distribution_type), (get_distribution_name):
      	A tiny bit of cleanup on these functions. There was some really
      	bad code in here, including code that compared strings with ==.
      	Also a lot of code that does open and then no close, for no
      	good reason, so I added the close.
      
      	* libnautilus-extensions/nautilus-file.c: (rename_callback),
      	(nautilus_file_get_mapped_uri):
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(nautilus_icon_container_update_icon):
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	(confirm_switch_to_manual_layout), (nautilus_icon_dnd_begin_drag):
      	* src/file-manager/fm-icon-view.c: (update_layout_menus),
      	(sort_callback), (manual_layout_callback):
      	* src/ntl-view.c: (nautilus_view_destroy_client):
      	Added bug numbers to some FIXMEs.
      6281f2ee
  19. 02 May, 2000 1 commit
    • Darin Adler's avatar
      Wrote a script to check for files that forget to include <config.h> and · 292a29b6
      Darin Adler authored
      	* check-config-h.pl: Wrote a script to check for files that forget
      	to include <config.h> and optionally edit to add it.
      
              * src/nautilus-zoom-control.c (set_zoom_level): Fixed the bug
      	number in a FIXME.
      
              * docs/style-guide.html: Added one more tip.
      
              * check-FIXME.pl: Use my newfound Perl knowledge to spruce it up.
      
              * components/help/converters/gnome-db2html2/gdb3html.c:
              * components/help/converters/gnome-db2html2/sect-elements.c:
              * components/help/converters/gnome-db2html2/sect-preparse.c:
              * components/help/converters/gnome-db2html2/toc-elements.c:
              * components/help/converters/gnome-info2html2/html.c:
              * components/help/converters/gnome-info2html2/main.c:
              * components/help/converters/gnome-info2html2/parse.c:
              * components/help/converters/gnome-info2html2/utils.c:
              * components/help/converters/gnome-man2html2/gnome-man2html.c:
              * components/help/hyperbola-filefmt.c:
              * components/help/hyperbola-nav-index.c:
              * components/help/hyperbola-nav-search.c:
              * components/help/hyperbola-nav-tree.c:
              * components/html/glibwww-callbacks.c:
              * components/html/glibwww-init.c:
              * components/html/glibwww-trans.c:
              * components/html/gnome-dialogs.c:
              * components/html/ntl-web-browser.c:
              * components/services/install/eazel-install-metadata.c:
              * components/services/install/eazel-install-protocols.c:
              * components/services/install/eazel-install-rpm-glue.c:
              * components/services/install/eazel-install-tests.c:
              * components/services/install/eazel-install-utils.c:
              * components/services/install/eazel-install-xml-package-list.c:
              * components/services/install/eazel-install.c:
              * components/services/install/helixcode-install-utils.c:
              * components/services/startup/eazel-register.c:
              * components/websearch/ntl-web-search.c:
              * helper-utilities/authenticate/nautilus-authenticate-fork.c:
              * helper-utilities/authenticate/nautilus-authenticate-pam.c:
              * helper-utilities/authenticate/nautilus-authenticate.c:
              * libnautilus-extensions/nautilus-bonobo-extensions.c:
              * libnautilus-extensions/nautilus-file-utilities.c:
              * libnautilus-extensions/nautilus-glib-extensions.c:
              * libnautilus-extensions/nautilus-link.c:
              * libnautilus-extensions/nautilus-mime-type.c:
              * libnautilus-extensions/nautilus-undo-transaction.c:
              * librsvg/art_rgba.c:
              * librsvg/art_rgba_svp.c:
              * librsvg/rsvg-bpath-util.c:
              * librsvg/rsvg-path.c:
              * librsvg/rsvg.c:
              * librsvg/test-rsvg.c:
              * nautilus-widgets/nautilus-caption-table.c:
              * nautilus-widgets/nautilus-password-dialog.c:
              * nautilus-widgets/nautilus-preferences-box.c:
              * nautilus-widgets/nautilus-preferences-dialog.c:
              * nautilus-widgets/nautilus-preferences-group.c:
              * nautilus-widgets/nautilus-preferences-item.c:
              * nautilus-widgets/nautilus-preferences-pane.c:
              * nautilus-widgets/nautilus-radio-button-group.c:
              * nautilus-widgets/test-nautilus-widgets.c:
              * nautilus-widgets/test-preferences.c:
              * src/file-manager/desktop-item.c:
              * src/file-manager/desktop-layout.c:
              * src/file-manager/desktop-menu.c:
              * src/nautilus-bookmarks-window.c:
              * src/nautilus-gconf.c:
      	* src/nautilus-window-menus.c:
              * src/nautilus-window-toolbars.c:
      	* src/nautilus-zoom-control.c
              * src/nautilus-zoomable-frame-svr.c:
              * src/ntl-app.c:
              * src/ntl-content-view.c:
              * src/ntl-main.c:
              * src/ntl-meta-view.c:
              * src/ntl-miniicon.c:
              * src/ntl-uri-map.c:
              * src/ntl-view-frame-svr.c:
              * src/ntl-view.c:
              * src/ntl-window-state.c:
      	Added includes of <config.h>.
      292a29b6
  20. 28 Apr, 2000 1 commit
    • Darin Adler's avatar
      This little check-in fixes the last April bug and maybe one or · 8f13a9f6
      Darin Adler authored
      	two leaks in Nautilus.
      
      	* src/ntl-view.c (nautilus_view_destroy_client): To work around
      	the circular reference problem in Bonobo, change a call to
      	bonobo_object_unref to bonobo_object_destroy. This fixes the leak
      	of the entire viewer each time.
      
      	* src/file-manager/fm-directory-view.c (fm_directory_view_destroy):
      	The FMDirectoryView does not own its view_frame. This is confusing
      	and needs some reorganization, but it should not unref. It's actually
      	the view_frame that owns the directory view despite the fact that
      	it's created by the directory view and the directory view holds a
      	reference to it! This bug prevented Maciej from doing the workaround
      	the last time he tried it.
      
      	* libnautilus-extensions/nautilus-file-changes-queue.c
      	(nautilus_file_changes_queue_get),
      	(nautilus_file_changes_consume_changes):
      	A small cleanup. The global variable was getting in the way.
      8f13a9f6
  21. 19 Apr, 2000 3 commits
    • Maciej Stachowiak's avatar
      Reverted the last change, it caused serious crashage in some cases. · 0e6ba110
      Maciej Stachowiak authored
      	* src/ntl-view.c (nautilus_view_destroy_client): Reverted the last
      	change, it caused serious crashage in some cases.
      0e6ba110
    • Maciej Stachowiak's avatar
      Destroy the ViewFrame instead of unreffing. This is the only way to be · 746c4654
      Maciej Stachowiak authored
      	* src/ntl-view.c (nautilus_view_destroy_client): Destroy the
      	ViewFrame instead of unreffing. This is the only way to be sure
      	the Control is fully unref()d. Ideally Bonobo would let us unbind
      	the frame from the control to break the circular refs.
      746c4654
    • Maciej Stachowiak's avatar
      OAF conversion. You must now build bonobo and gnome-vfs with --enable-oaf · f6e6b471
      Maciej Stachowiak authored
      
      	OAF conversion. You must now build bonobo and gnome-vfs with --enable-oaf
      
      	* configure.in: Check for OAF
      
      	* libnautilus/nautilus-view-component.idl: Inherit from
      	Bonobo::Unknown instead of GNOME::Unknown.
      
      	* libnautilus-extensions/nautilus-global-preferences.c,
      	libnautilus-extensions/nautilus-global-preferences.h: Refer to
      	meta views by OAFIID, not GOAD ID.
      
      	* src/ntl-uri-map.c (my_notify_when_ready): Replaced hardcoded
      	list of GOAD IDs with a hardcoded list of OAFIIDs.
      	(add_components_from_metadata): Changed the expected format; it is
      	now label=component instead of component:label since OAFIIDs
      	contain colons.
      
      	* src/ntl-view.c (nautilus_view_destroy_client): unref the
      	Zoomable interface of the View, if any.
      
      	* src/file-manager/dfos-corba.c, src/file-manager/dfos.c: replace
      	GOAD calls with OAF ones; untested since this code is not really
      	used right now.
      
      	* src/ntl-main.c: Use OAF calls to intialize CORBA.
      
      	* src/ntl-app.c: Replace GOAD IDs with OAFIIDs. Use
      	Bonobo_Generic_Factory instead of GNOME_Generic_Factory to make
      	the linker happy. Register the factory server with OAF, not GOAD.
      
      	* src/nautilus.h: Include <liboaf/liboaf.h> instead of <libgnorba/gnorba.h>
      
      
      	* components/help/Makefile.am, components/history/Makefile.am,
      	components/html/Makefile.am, components/mozilla/Makefile.am,
      	components/music/Makefile.am, components/notes/Makefile.am,
      	components/rpmview/Makefile.am, components/sample/Makefile.am,
      	components/services/startup/Makefile.am,
      	components/websearch/Makefile.am, libnautilus/Makefile.am,
      	libnautilus-extensions/Makefile.am, src/Makefile.am,
      	src/file-manager/Makefile.am: Updated for OAF; install .oafinfo
      	files instead of .gnorba.
      
      	* components/help/hyperbola-main.c,
      	components/history/ntl-history-view.c,
      	components/html/ntl-web-browser.c, components/mozilla/main.c,
      	components/music/main.c, components/notes/ntl-notes.c,
      	components/rpmview/main.c, components/sample/main.c,
      	components/services/startup/main.c,
      	components/websearch/ntl-web-search.c: Convert to OAF; use OAFIIDs
      	and oaf intialization functions.
      
      	* src/nautilus.oafinfo, components/help/hyperbola.oafinfo,
      	components/history/ntl-history-view.oafinfo,
      	components/html/ntl-web-browser.oafinfo,
      	components/music/nautilus-music-view.oafinfo,
      	components/notes/ntl-notes.oafinfo,
      	components/rpmview/nautilus-rpm-view.oafinfo,
      	components/services/startup/nautilus-service-startup-view.oafinfo,
      	components/websearch/ntl-web-search.oafinfo,
      	components/sample/nautilus-sample-content-view.oafinfo,
      	components/mozilla/nautilus-mozilla-content-view.oafinfo: New OAF
      	activation records.
      
      	* src/nautilus.goad, components/help/hyperbola.goad,
      	components/history/ntl-history-view.goad,
      	components/html/ntl-web-browser.goad,
      	components/music/nautilus-music-view.goad,
      	components/notes/ntl-notes.goad,
      	components/rpmview/nautilus-rpm-view.goad,
      	components/services/startup/nautilus-service-startup-view.goad,
      	components/websearch/ntl-web-search.goad,
      	components/sample/nautilus-sample-content-view.goad,
      	components/mozilla/nautilus-mozilla-content-view.goad: Removed.
      f6e6b471
  22. 14 Apr, 2000 1 commit
    • Ramiro Estrugo's avatar
      Split libnautilus into two pieces. · 09b3bf22
      Ramiro Estrugo authored
      libnautilus now only contains the view interfaces needed by nautilus
      components.
      
      These are the interfaces defined in nautilus-view-component.idl.
      
      libnautilus-extensions containes the remainder of the stuff.
      
      Also used the cvs repository munging opportunity to do some of the
      ntl-* renaming outlined in the RENAIMING file.
      09b3bf22
  23. 04 Apr, 2000 1 commit
    • Darin Adler's avatar
      First cut at tiled background images. · 276a5a10
      Darin Adler authored
      
      	First cut at tiled background images.
      
      	There's no UI for setting them yet, they are only in
      	the icon view, and they don't work properly with scrolling yet.
      
      	* libnautilus/Makefile.am:
      	* libnautilus/nautilus-gdk-extensions.c:
      	* libnautilus/nautilus-gdk-extensions.h:
      	* libnautilus/nautilus-gdk-pixbuf-extensions.c:
      	* libnautilus/nautilus-gdk-pixbuf-extensions.h:
      	Split the GdkPixbuf stuff into its own file.
      
      	* libnautilus/nautilus-background.c:
      	(nautilus_background_destroy): Fixed a bunch of leaks
      	and added new code to stop pixbuf loading.
      	(nautilus_background_draw): Added call to draw tiled
      	background image. Converted gradients to use gdk_rgb
      	instead of gdk_color.
      	(nautilus_background_get_tile_image_uri): Implemented.
      	(nautilus_background_set_color): Added short-circuit
      	for background image case.
      	(load_image_callback),
      	(nautilus_background_set_tile_image_uri): Implemented.
      	Include code to	load in the tiled image when its URI is set.
      	(nautilus_background_receive_dropped_color): Set the
      	tile image to NULL when a color is dropped.
      
      	* libnautilus/nautilus-gdk-extensions.c:
      	* libnautilus/nautilus-gdk-extensions.h:
      	(nautilus_fill_rectangle_with_color),
      	(nautilus_fill_rectangle_with_color),
      	(nautilus_interpolate_color): Changed from gdk_color
      	to gdk_rgb.
      	(nautilus_parse_rgb_with_white_default): Added function
      	for gdk_rgb similar to what we already have for gdk_color.
      
      	* libnautilus/nautilus-icon-canvas-item.c:
      	* libnautilus/nautilus-icon-container.c:
      	* libnautilus/nautilus-list.c:
      	Use gdk-pixbuf extensions in new location.
      
      	* libnautilus/nautilus-metadata.h:
      	Added metadata keys for background images.
      
      	* src/ntl-view.c:
      	Added lots of stronger checks for NAUTILUS_IS_VIEW since
      	this is where we run into trouble with a bug I ran into.
      
      	* src/file-manager/icon-view.c: Added code to handle
      	the new background images.
      	(create_icon_container): Keep around the handler ID when
      	connecting to the "changed" message of the background so
      	we can block the handler as needed.
      	(fm_icon_view_begin_loading): Load the background image
      	as well as the background color. We need to block the
      	background changed signal handler so we don't get
      	confused while the color but not the image is set up.
      	(fm_icon_view_background_changed_callback): Save the
      	background image URI as well as the background color in
      	the metadata.
      276a5a10
  24. 30 Mar, 2000 1 commit
    • Maciej Stachowiak's avatar
      Connect to the "destroy" signal of the view_frame rather than the sample · 4f01fe36
      Maciej Stachowiak authored
      	* components/sample/main.c (sample_make_object): Connect to the
      	"destroy" signal of the view_frame rather than the sample content
      	view object, to avoid a race condition where we might exit before
      	the view_frame is fully unreffed and has a chance to clean up.
      	components/sample/nautilus-sample-content-view.c
      	(nautilus_sample_content_view_destroy): Unref the
      	NautilusViewFrame when we are destroyed.
      
      	* libnautilus/nautilus-zoomable.c, libnautilus/ntl-view-frame.c,
      	libnautilus/ntl-content-view-frame.c,
      	libnautilus/ntl-meta-view-frame.c: Use boilerplate macros for
      	get_type method and to invoke parent destroy method.
      
      	* libnautilus/nautilus-zoomable.c, libnautilus/ntl-view-frame.c:
      	Unref the interface we query_local_interface for, to avoid holding
      	a superfluous ref to ourselves, since we eventually add_interface
      	that interface.
      
      	* src/ntl-view.c (nautilus_view_destroy_client): Use
      	bonobo_object_unref instead of bonobo_object_destroy.
      4f01fe36