1. 27 May, 2000 6 commits
    • 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
    • Eskil Heyn Olsen's avatar
      Added the first pieces if the GUI installer. Since we don't want it to be · 97fabc0a
      Eskil Heyn Olsen authored
      	* nautilus-installer/Makefile:
      	* nautilus-installer/Makefile.am:
      	* nautilus-installer/Makefile.in:
      	* nautilus-installer/nautilus-installer.c:
      	* nautilus-installer/nautilus-installer.glade:
      	* nautilus-installer/src/HACKING:
      	* nautilus-installer/src/Makefile:
      	* nautilus-installer/src/Makefile.in:
      	* nautilus-installer/src/callbacks.c: (druid_cancel),
      	(begin_install), (druid_finish), (prep_install):
      	* nautilus-installer/src/installer.c: (eazel_install_progress),
      	(eazel_download_progress), (installer):
      	* nautilus-installer/src/installer.h:
      	* nautilus-installer/src/interface.c: (create_window):
      	* nautilus-installer/src/interface.h:
      	* nautilus-installer/src/main.c: (main):
      	Added the first pieces if the GUI installer. Since we don't want
      	it to be part of the built, I've committed the generated makefiles
      	as well. This also means you should be able to build it straigt
      	from cvs. It already has base functionality, and is almost 70% done.
      97fabc0a
    • Eskil Heyn Olsen's avatar
      Don't build eazel-install, only eazel-alt-install, which uses the · e8297d1c
      Eskil Heyn Olsen authored
      
      	* components/services/install/command-line/Makefile.am:
      	* components/services/install/command-line/eazel-alt-install.c:
      	(set_parameters_from_command_line), (eazel_install_progress),
      	(eazel_download_progress), (main):
      	Don't build eazel-install, only eazel-alt-install, which
      	uses the EazelInstall object.
      
      	* components/services/install/lib/eazel-install-object.c:
      	(impl_Eazel_Install_new_packages), (eazel_install_get_epv),
      	(eazel_install_destroy), (eazel_install_set_arg),
      	(eazel_install_class_initialize),
      	(eazel_install_create_corba_object), (eazel_install_initialize),
      	(eazel_install_get_type), (eazel_install_new),
      	(eazel_install_new_with_config), (create_temporary_directory),
      	(fetch_remote_package_list), (eazel_install_emit_install_progress),
      	(eazel_install_emit_download_progress),
      	(eazel_install_new_packages):
      	Implemented a GTK+ object for libinstall. It has the basic
      	functionality needed for the May 31st gui installer. This means it
      	can be instantiated, the install and transferoptions be set and it
      	can do the download of the packagelist, and download and install
      	the files mentioned there. Needs upgrade & uninstall, plus a lot
      	of errorchecking and memleaks (bug#982). This halfway completed bug#980.
      
      	* components/services/install/lib/eazel-install-private.h:
      	* components/services/install/lib/eazel-install-protocols.c:
      	(http_fetch_remote_file):
      	* components/services/install/lib/eazel-install-protocols.h:
      	* components/services/install/lib/eazel-install-public.h:
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	(install_new_packages), (download_a_package),
      	(download_all_packages), (install_all_packages),
      	(uninstall_packages), (rpm_show_progress), (do_rpm_install),
      	(rpm_install):
      	* components/services/install/lib/eazel-install-rpm-glue.h:
      	Did a lot of hacking and slashing to pass the EazelInstall object
      	downwards so progress signals can be emitted. Also a lot of
      	errorhandling was fixed so it doesn't just g_assert or such.
      	But a lot more of that is needed (bug#1014) and some major
      	slashing so the EazelInstall passing isn't so ugly (bug#980).
      e8297d1c
    • Darin Adler's avatar
      A little more desktop window work. · 63d4a318
      Darin Adler authored
      	* src/nautilus-desktop-window.c:
      	(nautilus_desktop_window_initialize_class),
      	(nautilus_desktop_window_initialize),
      	(nautilus_desktop_window_new):
      	* src/nautilus-desktop-window.h:
      	* src/ntl-app.c: (nautilus_app_startup), (nautilus_app_quit),
      	(nautilus_app_create_window):
      	* src/ntl-app.h:
      	* src/ntl-main.c: (main):
      	Made a desktop window that's created when you start the program
      	if you pass the --desktop option. At the moment it's a normal
      	window and not set up to take over the desktop.
      
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	(nautilus_self_check_glib_extensions): Fixed some broken self-
      	checks. Now we have one really broken self-check in the
      	nautilus-directory.c file. I might turn that one off soon so we
      	can at least run the others.
      
      	* libnautilus-extensions/nautilus-gtk-macros.h:
      	Changed how some of the macros work. Few of these macros were used
      	in Nautilus. I hope they aren't used in the Mozilla component,
      	because then I broke it.
      
      	* libnautilus-extensions/nautilus-list-column-title.c:
      	(nautilus_list_column_title_motion),
      	(nautilus_list_column_title_button_press),
      	(nautilus_list_column_title_button_release):
      	Updated to use NAUTILUS_INVOKE_METHOD instead of NAUTILUS_KLASS,
      	because I renamed it to NAUTILUS_CLASS and had to change these
      	anyway.
      
      	A little sweep for code that should be using
      	CORBA_Object_is_nil instead of direct compares with
      	CORBA_OBJECT_NIL.
      
      	* components/html/main.c: (url_requested_cb):
      	* libnautilus-extensions/bonobo-stream-vfs.c:
      	(bonobo_stream_create):
      	* libnautilus/nautilus-undo-manager.c:
      	(set_up_bonobo_control):
      	* libnautilus/nautilus-undoable.c: (nautilus_undo_register_full),
      	(nautilus_undo_unregister), (nautilus_undo):
      	* src/file-manager/dfos.c: (dfos_new):
      	Switch to use CORBA_Object_is_nil.
      
      	* libnautilus/nautilus-undo-manager.c: (undo_manager_unref),
      	(nautilus_attach_undo_manager), (nautilus_share_undo_manager),
      	(set_up_bonobo_control):
      	Do some missing duplicate and release calls.
      
      	* libnautilus/nautilus-undoable.c: (nautilus_undo_unregister):
      	Fix a place where we'd keep a reference to a freed list.
      	Change O(n^2) walk of list by index to O(n) walk by pointer.
      
      	* src/ntl-index-panel.c: (nautilus_index_panel_remove_meta_view):
      	Changed g_warning to a g_return_if_fail, which was designed for
      	cases just like this one.
      
      	* src/ntl-view-bonobo-subdoc.c:
      	(bonobo_subdoc_notify_location_change):
      	Put in a better version of the FIXME.
      
      	* RENAMING: More updates.
      63d4a318
    • Ramiro Estrugo's avatar
      Add support for toggling sidebar panels on the fly via the · 7f5aef64
      Ramiro Estrugo authored
      preferences dialog.
      
      Also moved function prototypes and macro definitions to top of
      file.
      
      * src/ntl-window.c: (impl_Nautilus_ViewWindow__create),
      (nautilus_window_remove_meta_view):
      Removed the *_real cruft.  Cleaned this a tiny bit.
      
      (window_find_sidebar_panel_by_identifier):
      New function for finding panels given an identifiers.
      
      (window_update_sidebar_panels_from_preferences):
      New function to update the current list of sidebar panels from
      preferences.
      Disabled panels are removed if they are already in the list.
      Enabled panels are added if they are not already in the list.
      
      NOTE: It would be 'nice' if in the future all updates of the
      sidebar panel occur in just one place - the above function for
      example.  This is in contrast to the current mess where both
      ntl-window.c and ntl-window-msgs.c abuse the meta_views list at
      random places.  Ill look into this later.
      
      (sidebar_panels_changed_callback):
      Now actually responds to changes.
      
      * src/ntl-window.h:
      Style dumbness.
      7f5aef64
    • Ramiro Estrugo's avatar
      Add a function that returns the disabled sidebar panels. Needed so that · 3e1a1af2
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-global-preferences.c:
      (nautilus_global_preferences_get_enabled_sidebar_panel_view_identifiers),
      (nautilus_global_preferences_get_disabled_sidebar_panel_view_identifiers):
      * libnautilus-extensions/nautilus-global-preferences.h:
      
      Add a function that returns the disabled sidebar panels.  Needed
      so that on-the-fly sidebar panel toggling can be smart about
      adding and removing views.
      
      Also rename some variabled to make it obvious which are the enabled
      and disabled lists.
      3e1a1af2
  2. 26 May, 2000 22 commits
    • Ramiro Estrugo's avatar
      Remove the tab associated with meta view as well. Add a warning for the · de444853
      Ramiro Estrugo authored
      * src/ntl-index-panel.c: (nautilus_index_panel_remove_meta_view):
      
      Remove the tab associated with meta view as well.  Add a warning
      for the case when the page_num is bogus.  Perhaps this should be
      an assertion.  But at least this way it wont fail silently.
      de444853
    • John Sullivan's avatar
      Added a FIXME to the line that Dan Winship says should be passing a MIME · 56afae5d
      John Sullivan authored
      	* src/ntl-view-bonobo-subdoc.c:
      	(bonobo_subdoc_notify_location_change):
      	Added a FIXME to the line that Dan Winship says should
      	be passing a MIME type but is currently passing "".
      56afae5d
    • John Sullivan's avatar
      Fixed bug 992 ("Fully Decorate Remote Views" is not a · cbf780ad
      John Sullivan authored
      	sensible preference). Note that before making the
      	quick wording fix Darin, Ian, and I came up with a
      	longer-term plan for handling this general kind of
      	thing well (bug 995).
      
      	* libnautilus-extensions/nautilus-global-preferences.h:
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(state_changed):
      	* libnautilus-extensions/nautilus-global-preferences.c:
      	(global_preferences_create_dialog),
      	(global_preferences_register_for_ui):
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(nautilus_icon_factory_get_icon_for_file):
      	Changed "Fully Decorate Remote Views" to "Display text in
      	icons even for remote text files"
      	Changed NAUTILUS_PREFERENCES_REMOTE_VIEWS to
      	NAUTILUS_PREFERENCES_SHOW_TEXT_IN_REMOTE_ICONS
      cbf780ad
    • John Sullivan's avatar
      Removed a comment. · 734ae1c2
      John Sullivan authored
      734ae1c2
    • John Sullivan's avatar
      Changed the NULL to a "", now text files work. I think it's back to normal · 6de7cc86
      John Sullivan authored
      	* src/ntl-view-bonobo-subdoc.c:
      	(bonobo_subdoc_notify_location_change):
      	Changed the NULL to a "", now text files work. I think
      	it's back to normal now.
      6de7cc86
    • John Sullivan's avatar
      Added a NULL parameter to a Bonobo_PersistStream_load call to get the · 2e1e4e80
      John Sullivan authored
      	* src/ntl-view-bonobo-subdoc.c:
      	(bonobo_subdoc_notify_location_change):
      	Added a NULL parameter to a Bonobo_PersistStream_load call
      	to get the build to finish. The API for this call changed.
      	I have no idea whether this is the correct change, but with it
      	I can build and run Nautilus. I noticed clicking on a text file
      	crashes, which might be related (maybe no Bonobo components will
      	work until we fix this properly)?
      2e1e4e80
    • Ramiro Estrugo's avatar
      Keep track of sidebar panel enabled/disabled toggling. Currently the · 22f00eef
      Ramiro Estrugo authored
      * src/ntl-window.c: (nautilus_window_init),
      (nautilus_window_destroy), (nautilus_window_real_set_content_view),
      (sidebar_panels_changed_callback):
      
      Keep track of sidebar panel enabled/disabled toggling.  Currently
      the callback doesnt do nothing.  Soon it will.
      22f00eef
    • Valek Frob's avatar
      Updated russian translation. · 1fa87bb0
      Valek Frob authored
      1fa87bb0
    • Ramiro Estrugo's avatar
      Ignore generated files. · f4569795
      Ramiro Estrugo authored
      * components/services/install/command-line/.cvsignore:
      * components/services/install/lib/.cvsignore:
      Ignore generated files.
      f4569795
    • Ramiro Estrugo's avatar
      Expose only a single function to deal with sidebar panels. Return a list · 371919a9
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-global-preferences.c:
      (global_preferences_create_dialog),
      (global_preferences_get_sidebar_panel_view_identifiers),
      (nautilus_global_preferences_get_enabled_sidebar_panel_view_identifiers),
      (global_preferences_register_sidebar_panels_preferences_for_ui),
      (global_preferences_is_sidebar_panel_enabled),
      (nautilus_global_preferences_shutdown):
      * libnautilus-extensions/nautilus-global-preferences.h:
      
      Expose only a single function to deal with sidebar panels.  Return
      a list of enabled view indentifiers, saving callers the work and
      complication of figuring out which panels are on.
      
      Make NAUTILUS_PREFERENCES_SIDEBAR_PANELS_NAMESPACE cause i need it
      to later keep track of sidebar panel changes in NautilusWindow.
      
      * src/ntl-uri-map.c: (got_file_info_callback),
      (nautilus_navigation_info_free):
      * src/ntl-uri-map.h:
      * src/ntl-window-msgs.c: (nautilus_window_update_state):
      Exorcise the 'sidebar_panel_identifiers' member.  Instead of
      complicating life by managing this list, simply obtain it when
      needed from global preferences.
      371919a9
    • Ramiro Estrugo's avatar
      Some cleanup of index tabs. · 88a49b83
      Ramiro Estrugo authored
      * src/nautilus-index-tabs.c: (nautilus_index_tabs_initialize),
      (nautilus_index_tabs_size_request), (draw_one_tab),
      (draw_or_hit_test_all_tabs), (tab_item_find_by_name),
      (nautilus_index_tabs_add_view),
      (nautilus_index_tabs_get_title_from_index),
      (nautilus_index_tabs_remove_view),
      (nautilus_index_tabs_prelight_tab),
      (nautilus_index_tabs_select_tab), (nautilus_index_tabs_set_color),
      (nautilus_index_tabs_receive_dropped_color),
      (nautilus_index_tabs_set_title),
      (nautilus_index_tabs_set_title_mode),
      (nautilus_index_tabs_set_visible):
      
      Some cleanup of index tabs.
      
      Changed find_tab() to tab_item_find_by_name() which returns the
      actual tab item instead of a list node.
      
      Changed the GList append and remove operations to be more sane and
      actually work in the latter case.
      
      Print warnings on attempts to operate on non-existing tab items as
      these indicate programming errors upstream.
      
      Also add bulletproofing g_return_* macros.
      88a49b83
    • Ramiro Estrugo's avatar
      Install only ONE gconf notification for each preference or namespace that · f4bb9210
      Ramiro Estrugo authored
      * nautilus-widgets/nautilus-preferences.c: (pref_hash_node_alloc),
      (pref_hash_node_free), (pref_hash_node_add_callback),
      (pref_hash_node_remove_callback), (pref_callback_info_alloc),
      (preferences_gconf_callback):
      
      Install only ONE gconf notification for each preference or
      namespace that we care about.  Otherwise we get an exponential
      number of notifications.  Move the gconf_connection from the
      callback list info to the preference hash node.
      
      Remove lingering gconf notifications on destruction of hash
      nodes.
      f4bb9210
    • Ramiro Estrugo's avatar
      Fix the annoying as hell assertions coming from these components. Dont · 0885d254
      Ramiro Estrugo authored
      * components/help/hyperbola-nav-index.c:
      (hyperbola_navigation_index_new):
      * components/help/hyperbola-nav-search.c:
      (hyperbola_navigation_search_new):
      
      Fix the annoying as hell assertions coming from these components.
      Dont install the entry widgets as the titles for the clist.  You
      cant do this cause they have already be added to the vbox
      container and thus the barfing in gtk_container_add() about the
      widget already having a parent.  There doesnt seem to be any
      noticeable ui change because of this.  The help search/index
      continue to work as "good" as before.
      0885d254
    • Ramiro Estrugo's avatar
      Add support for keeping track of changes within a whole preference · c774ab97
      Ramiro Estrugo authored
      * nautilus-widgets/nautilus-preferences.c:
      (pref_hash_node_add_callback), (pref_hash_node_remove_callback),
      (preferences_gconf_callback):
      
      Add support for keeping track of changes within a whole preference
      namespace.
      
      Pass in the expected preference to the gconf callback.  Do this so
      that we can compare the expected prefrence name with the one that
      gconf reports.  If they dont match, then we have something that
      changed within a namespace and not an individual key.
      
      Also fix some memory leaks.  Was forgetting to free a couple of
      returned preference names.
      c774ab97
    • Eskil Heyn Olsen's avatar
      oops · 20215a30
      Eskil Heyn Olsen authored
      20215a30
    • Eskil Heyn Olsen's avatar
      Missed a file... · 28490b75
      Eskil Heyn Olsen authored
      	*
      	components/services/install/lib/trilobite-eazel-install-service.oaf
      	info:
      	Missed a file...
      28490b75
    • Gene Z. Ragan's avatar
      More work on undo. Note that undo in text entry fields still misbehaves. · 7c045c92
      Gene Z. Ragan authored
      2000-05-25  Gene Z. Ragan  <gzr@eazel.com>
      
      	More work on undo.  Note that undo in text entry fields still
      	misbehaves.  More improvements are on the way.
      
      	* components/websearch/ntl-web-search.c:
      	(make_obj):
      	Removed obsolete enable undo code.
      
      	* libnautilus-extensions/nautilus-entry.c:
      	* libnautilus-extensions/nautilus-entry.h:
      	(nautilus_entry_initialize_class), (nautilus_entry_key_press),
      	(nautilus_entry_insert_text), (nautilus_entry_delete_text),
      	(register_edit_undo), (nautilus_entry_set_undo_key):
      	Removed the enable_undo function and made undo functionality
      	a default feature of NautilusEntry.
      
      	* libnautilus/nautilus-undo-transaction.c:
      	(nautilus_undo_transaction_add_undoable),
      	(nautilus_undo_transaction_undo):
      
      	* libnautilus/nautilus-undoable.c:
      	* libnautilus/nautilus-undoable.h:
      	(nautilus_undoable_save_undo_snapshot), (nautilus_undo_unregister):
      
      	* src/file-manager/fm-properties-window.c: (create_basic_page):
      	Removed obsolete enable undo code.
      
      	* src/nautilus-bookmarks-window.c: (on_text_field_focus_in_event),
      	(on_text_field_focus_out_event), (on_window_delete_event):
      	Removed obsolete enable undo code.
      
      	* src/nautilus-location-bar.c:
      	* src/nautilus-location-bar.h:
      	(nautilus_location_bar_set_location):
      	Removed obsolete enable undo code.
      
      	* src/ntl-window.c: (nautilus_window_constructed):
      	Removed obsolete enable undo code.
      7c045c92
    • Eskil Heyn Olsen's avatar
      Small program to test the gtk+ version of the installer. · cb170d00
      Eskil Heyn Olsen authored
      
      	* components/services/install/command-line/Makefile.am:
      	* components/services/install/command-line/eazel-alt-install.c:
      	Small program to test the gtk+ version of the installer.
      
      	(set_parameters_from_command_line), (main):
      	* components/services/install/idl/trilobite-eazel-install.idl:
      	* components/services/install/lib/Makefile.am:
      	* components/services/install/lib/eazel-install-object.c:
      	(impl_Trilobite_Eazel_Install_new_packages),
      	(trilobite_eazel_install_get_epv),
      	(trilobite_eazel_install_destroy),
      	(trilobite_eazel_install_set_arg),
      	(trilobite_eazel_install_class_initialize),
      	(trilobite_eazel_install_create_corba_object),
      	(trilobite_eazel_install_initialize),
      	(trilobite_eazel_install_get_type), (trilobite_eazel_install_new),
      	(trilobite_eazel_install_new_with_config),
      	(create_temporary_directory), (fetch_remote_package_list),
      	(trilobite_eazel_install_new_packages):
      	* components/services/install/lib/eazel-install-private.h:
      	* components/services/install/lib/eazel-install-public.h:
      	Created a gtk+ object for the installer. Will be needed for the ui
      	object to do callbacks for the progress bars
      
      	* components/services/install/lib/eazel-install-metadata.c:
      	(xml_doc_sanity_checks), (init_default_install_configuration),
      	(init_default_transfer_configuration):
      	* components/services/install/lib/eazel-install-xml-package-list.c:
      	(parse_local_xml_package_list):
      	Removed various g_errors and g_asserts and replaced them
      	with some sort of return code (boolean or NULL)
      cb170d00
    • John Sullivan's avatar
      Added a missing space. · e52cc990
      John Sullivan authored
      2000-05-25  John Sullivan  <sullivan@eazel.com>
      
      	* src/ntl-app.c: (display_caveat): Added a missing space.
      
      
      	More work on the "Open with Other" dialogs. Most of
      	the UI features are present now, but they don't do
      	anything since there's no API to call yet.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.h,
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	(nautilus_gtk_clist_get_first_selected_row),
      	(nautilus_gtk_clist_get_last_selected_row):
      	Moved these functions to here from NautilusList, since
      	they only require a GtkCList and I needed to use one
      	of them outside of NautilusList.
      
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_get_first_selected_row),
      	(nautilus_list_get_last_selected_row),
      	(nautilus_list_keyboard_navigation_key_press),
      	(nautilus_list_new_with_titles):
      	Removed get_first and get_last_selected_row, and updated
      	callers to call new nautilus_gtk_clist versions.
      
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(populate_program_list), (nautilus_program_chooser_get_file),
      	(nautilus_program_chooser_get_clist),
      	(nautilus_program_chooser_get_frame),
      	(nautilus_program_chooser_get_status_label),
      	(nautilus_program_chooser_set_file),
      	(nautilus_program_chooser_set_clist),
      	(nautilus_program_chooser_set_frame),
      	(nautilus_program_chooser_set_status_label), (is_in_short_list),
      	(is_in_metadata_list), (update_selected_item_details),
      	(program_list_selection_changed_callback), (pack_radio_button),
      	(run_program_configurator_callback),
      	(nautilus_program_chooser_new):
      	Whole bunch of changes to push the "Open with Other" dialogs
      	closer to reality.
      
      	* src/ntl-window.c:
      	(view_menu_choose_view_callback): Comment changes only.
      	(nautilus_window_load_content_view_menu): Changed menu item
      	text from "View as ..." to "View as Other..."
      e52cc990
    • Darin Adler's avatar
      I am getting a little careless. This must end. · 082b0a23
      Darin Adler authored
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_denies_access_permission): Fixed some checks
      	that I had reversed.
      
      	* src/ntl-app.c: (display_caveat): Took out some test code I
      	checked in.
      082b0a23
    • Darin Adler's avatar
      88d96d50
    • Darin Adler's avatar
      Made the permission check match the Unix access model. Maciej points out · 0e9ba92d
      Darin Adler authored
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_denies_access_permission),
      	(nautilus_file_can_set_permissions): Made the permission check
      	match the Unix access model. Maciej points out that this is
      	still not good enough, and Pavel points out that bug 458 is
      	about just this problem.
      
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	(turn_on_line_wrap_flag): Got rid of a bad g_free that was
      	trashing memory when locating the label for line wrapping.
      
      	* src/ntl-app.c: (display_caveat): Used line wrapping, now that
      	I know wrapping wasn't the cause of the bug before.
      0e9ba92d
  3. 25 May, 2000 12 commits
    • Ramiro Estrugo's avatar
      Cleanup cut-n-paste code for dealing the sidebar panels. · 8cbb5d30
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-global-preferences.c:
      (global_preferences_create_dialog),
      (global_preferences_register_sidebar_panels_preferences_for_ui),
      (global_preferences_get_sidebar_panel_key),
      (nautilus_global_preferences_is_sidebar_panel_enabled),
      (global_preferences_register_for_ui),
      (user_level_changed_callback),
      (nautilus_global_preferences_startup):
      Added define for sidebar panels namespace.
      
      Rename preference defines to make it clear whether they are keys
      or namespaces.
      
      Add function to obtain a sidebar panel key from an iid.
      
      Use "sidebar panels" consistently in both code and preferences
      dialog.
      
      * libnautilus-extensions/nautilus-global-preferences.h:
      New public function
      nautilus_global_preferences_is_sidebar_panel_enabled () that
      returns whether a sidebar panel is enabled.
      
      * src/ntl-uri-map.c: (sidebar_panel_preference_is_on):
      Use nautilus_global_preferences_is_sidebar_panel_enabled() instead
      of hard-coding the namespace string.
      8cbb5d30
    • Robin Slomkowski's avatar
      Added French Language support as done by · cdb759bd
      Robin Slomkowski authored
      Jean-Michel Ardantz <jmardantz@ifrance.com>
      Added fr as a language in configure.in, and added po/fr.po
      cdb759bd
    • Darin Adler's avatar
      Instead of ref'ing the control we want to do a "while_alive". The old way · da397551
      Darin Adler authored
      	* libnautilus/nautilus-clipboard.c:
      	(nautilus_clipboard_set_up_editable): Instead of ref'ing the
      	control we want to do a "while_alive". The old way could be
      	dangerous, so I'm glad I caught this.
      da397551
    • Darin Adler's avatar
      Took out an extra bonobo_object_ref that was wreaking havoc. If we want to · bcd654be
      Darin Adler authored
      	* libnautilus/nautilus-view-frame.c:
      	(nautilus_view_get_bonobo_control):
      	Took out an extra bonobo_object_ref that was wreaking havoc.
      	If we want to make this ref the thing before returning it,
      	we'll have to get it right.
      bcd654be
    • Darin Adler's avatar
      Updated to reflect completed tasks. · 78899d39
      Darin Adler authored
      	* RENAMING: Updated to reflect completed tasks.
      
      	* components/notes/ntl-notes.c: (make_notes_view):
      	* components/websearch/ntl-web-search.c: (make_obj):
      	Changed to use simplified clipboard API.
      
      	* components/services/trilobite/libtrilobite/.cvsignore:
      	Ignore generated files.
      
      	* libnautilus-extensions/gtkscrollframe.c:
      	* libnautilus-extensions/gtkscrollframe.h:
      	Renamed GtkScrollFrame to NautilusScrollFrame so we won't conflict
      	if a GtkScrollFrame actually gets added to gtk some day. The file
      	still needs renaming (mentioned in RENAMING).
      
      	* libnautilus/nautilus-clipboard.h:
      	* libnautilus/nautilus-clipboard.c: (cut_callback),
      	(copy_callback), (paste_callback), (clear_callback),
      	(add_menu_item), (add_menu_items_callback),
      	(remove_menu_items_callback), (nautilus_clipboard_set_up_editable):
      	Simplified clipboard implementation. Does the same thing the old
      	code did without needing a class and with a simpler API.
      
      	* nautilus-widgets/nautilus-preferences-item.c:
      	* src/file-manager/fm-icon-text-window.c:
      	* src/nautilus-zoom-control.c:
      	* src/ntl-window.c:
      	Renamed _cb to _callback. Some other (minor) cleanup.
      
      	* src/file-manager/Makefile.am:
      	* src/file-manager/desktop-canvas.c: [removed]
      	* src/file-manager/desktop-canvas.h: [removed]
      	* src/file-manager/desktop-menu.c: [removed]
      	* src/file-manager/desktop-menu.h: [removed]
      	* src/file-manager/gnome-desktop.c: [removed]
      	Now that I'm doing the desktop work, I know we don't need these.
      	I'll be deleting the desktop source files that Havoc added as I
      	harvest the useful code from them.
      
      	* src/file-manager/fm-directory-view.c:
      	(bonobo_control_activate_callback): Add comments.
      
      	* src/nautilus-zoom-control.h: Fixed problem where the zoom
      	control didn't know if it was an event box or a pixmap.
      
      	* src/ntl-index-panel.c: (nautilus_index_panel_add_meta_view):
      	Fixed bug that was trashing the sidebar panel names. I put
      	the g_free call in the wrong place.
      
      	* src/ntl-uri-map.c: (sidebar_panel_preference_is_on):
      	Fixed bug where the sidebar preference wasn't saved. I found
      	another place with another copy of the preference path. This
      	sort of thing really needs to go in a header file, I think.
      78899d39
    • J Shane Culpepper's avatar
      967aace7
    • Fatih Demir's avatar
      Updated the Turkish translation for nautilus · 3297b643
      Fatih Demir authored
      3297b643
    • Ali Abdin's avatar
      2000-05-25 Ali Abdin <aliabdin@aucegypt.edu · 2c4122eb
      Ali Abdin authored
              * components/help/help-methods.c:
              (transform_absolute_file): Fixed a bug to get it to really treat
              URI's as 'absolute'. Also fixed another bug with trailing spaces.
              Necessary because the URI holds the '\n' (when the user presses
              enter.
      
              Also added debugging statements in the functions (#define ALI_DEBUG
              to turn them on). I will take them out once help actually starts
              working
      2c4122eb
    • J Shane Culpepper's avatar
      Big time clean up of the overall flow of installs. Now, all packages · b5f746e0
      J Shane Culpepper authored
              are downloaded before install.  Tried to setup as many of the print
              functions as possible to support internationalization.  Removed old
              gnet http groks of the package list and now grab the package list with
              the async ghttp fetch functionality.  Did alot of cleanups in the
              rpm glue functions to make them more managable.  Removed the prune_xml
              function i swipped from helixcode since it is no longer needed.
      b5f746e0
    • Ramiro Estrugo's avatar
      Update status flags to latest and gratest gtkmozembed api. · be62a451
      Ramiro Estrugo authored
      * components/mozilla/nautilus-mozilla-content-view.c:
      (mozilla_net_status_callback):
      
      Update status flags to latest and gratest gtkmozembed api.
      be62a451
    • Gene Ragan's avatar
      *** empty log message *** · 31890627
      Gene Ragan authored
      31890627
    • 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