1. 31 May, 2000 23 commits
    • Ramiro Estrugo's avatar
      "fix" bug 725 by changing the supported uri types of the rpm view · 18a80c69
      Ramiro Estrugo authored
      * components/rpmview/nautilus-rpm-view.oafinfo:
      
      "fix" bug 725 by changing the supported uri types of the rpm view
      component to be only "file" since it doesnt grok remote uris.
      
      Having the rpm view grok remote uris would be a cool, feature.  I
      have resummarized bug 725 to reflect this.
      18a80c69
    • 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
    • Ramiro Estrugo's avatar
      New functions to generate keys for the current user level as well as any · 21faf543
      Ramiro Estrugo authored
      * nautilus-widgets/nautilus-user-level-manager.c:
      (nautilus_user_level_manager_make_gconf_key),
      (nautilus_user_level_manager_make_current_gconf_key):
      * nautilus-widgets/nautilus-user-level-manager.h:
      
      New functions to generate keys for the current user level as well
      as any other user level.
      21faf543
    • Ramiro Estrugo's avatar
      Fix bug 993. Some frames in the preferences dialog were too big cause the · 0b4251a0
      Ramiro Estrugo authored
      * nautilus-widgets/nautilus-preferences-pane.c:
      (nautilus_preferences_pane_destroy), (prefs_pane_construct):
      
      Fix bug 993.  Some frames in the preferences dialog were too big
      cause the parent vbox was erroneously marked homogenous.
      0b4251a0
    • Ramiro Estrugo's avatar
      Remove the user level pane from the preferences dialog. Place the · 93e47686
      Ramiro Estrugo authored
      user level choices directly in the settings menu.
      
      Also uncouple user level from preferences.  User level is no
      longer a preference itself.
      
      * libnautilus-extensions/nautilus-global-preferences.c:
      (global_preferences_create_dialog),
      (global_preferences_register_for_ui),
      (user_level_changed_callback),
      (nautilus_global_preferences_shutdown),
      (nautilus_global_preferences_startup):
      Remove all of the user level ui stuff.
      
      * nautilus-widgets/nautilus-user-level-manager.c:
      (user_level_manager_new), (nautilus_user_level_manager_initialize),
      (nautilus_user_level_manager_initialize_class),
      (user_level_manager_destroy), (gconf_get_user_level_string),
      (user_level_set_default_if_needed),
      (gconf_user_level_changed_callback),
      (nautilus_user_level_manager_get),
      (nautilus_user_level_manager_set_user_level),
      (nautilus_user_level_manager_get_user_level):
      Emit the the "user_level_changed" signal from a gconf callback
      instead of "by hand".  Otherwise we are out of whack because of
      gconf asyncness.
      
      * src/nautilus-window-menus.c:
      (settings_menu_user_level_radio_group_callback),
      (settings_menu_user_level_customize_callback),
      (settings_menu_customize_callback),
      (nautilus_window_initialize_menus),
      (user_level_menu_path_to_user_level),
      (user_level_user_level_to_menu_path):
      * src/nautilus-window.h:
      Remove the "General Settings" menu item.  Replace it with a
      user level chooser as well as current user level customizer.
      93e47686
    • Kenneth Christiansen's avatar
      Added readme file, which explains the use of the newly checked in po · f2fda23a
      Kenneth Christiansen authored
      2000-05-31  Kenneth Christiansen <kenneth@gnu.org>
      
              * README.tools: Added readme file, which explains the
              use of the newly checked in po tools.
      
              Please go read.
      f2fda23a
    • Fatih Demir's avatar
      Added the Turkish desktop entries · f5ddfbf3
      Fatih Demir authored
      f5ddfbf3
    • Fatih Demir's avatar
      Updated the Turkish translation for Nautilus · 5425dd6a
      Fatih Demir authored
      5425dd6a
    • Ramiro Estrugo's avatar
      Ignore generated files. · e3e0dee2
      Ramiro Estrugo authored
      * components/services/time/nautilus-view/.cvsignore:
      Ignore generated files.
      e3e0dee2
    • Pavel Cisler's avatar
      More work on fallback deletion when move to Trash is not available. · e89095d6
      Pavel Cisler authored
      2000-05-31  Pavel Cisler <pavel@eazel.com>
      
      	* src/file-manager/dfos-xfer.c: (fs_move_to_trash):
      	* src/file-manager/fm-directory-view.c: (fm_directory_is_trash),
      	(fm_directory_view_confirm_deletion),
      	(fm_directory_view_trash_or_delete_selection),
      	(duplicate_callback):
      	More work on fallback deletion when move to Trash is not available.
      	Display a warning dialog.
      	Get rid of commented out code that I'll no longer need.
      	Removed FIXMEs that are no longer true.
      e89095d6
    • Michael Fleming's avatar
      Added eazel-time NautilusView to the build · 88612f86
      Michael Fleming authored
      
      Added eazel-time NautilusView to the build
      88612f86
    • Michael Fleming's avatar
    • Andy Hertzfeld's avatar
      finished sound preview task by superimposing an icon to indicate · f77a4a0c
      Andy Hertzfeld authored
      
              finished sound preview task by superimposing an icon to indicate
      	previewing, and terminating the preview better by killing the
      	entire process group.
      f77a4a0c
    • John Sullivan's avatar
      · b3fecee3
      John Sullivan authored
      	* src/file-manager/fm-directory-view.c:
      	(launch_application_from_menu_item), (add_application_to_gtk_menu),
      	(add_component_to_gtk_menu), (create_open_with_gtk_menu),
      	(add_open_with_bonobo_menu_item), (add_application_to_bonobo_menu),
      	(add_component_to_bonobo_menu), (reset_bonobo_open_with_menu),
      	(fm_directory_view_real_update_menus):
      b3fecee3
    • Eskil Heyn Olsen's avatar
      Added the support files · c116005d
      Eskil Heyn Olsen authored
      
      	* components/services/install/lib/eazel-install-public.h:
      	* components/services/install/lib/eazel-install-types.h:
      	* nautilus-installer/src/callbacks.h:
      	* nautilus-installer/src/support.c: (lookup_widget),
      	(create_dummy_pixmap), (create_pixmap), (create_image):
      	* nautilus-installer/src/support.h:
      	Added the support files
      c116005d
    • Eskil Heyn Olsen's avatar
      Removed the Makefile.in's and added the .am instead. · 6d52e1b5
      Eskil Heyn Olsen authored
      
      	* nautilus-installer/Makefile.in:
      	* nautilus-installer/src/Makefile.am:
      	* nautilus-installer/src/Makefile.in:
      	Removed the Makefile.in's and added the .am instead.
      6d52e1b5
    • Pavel Cisler's avatar
      Added delete calls that set up a gnome-vfs delete operation. · 4412765d
      Pavel Cisler authored
      2000-05-30  Pavel Cisler  <pavel@eazel.com>
      
      	* src/file-manager/dfos-xfer.h:
      	* src/file-manager/dfos-xfer.c: (handle_xfer_ok),
      	(fs_delete):
      	Added delete calls that set up a gnome-vfs delete operation.
      
      	* src/file-manager/dfos-xfer.c:
      	(fs_xfer), (fs_move_to_trash), (fs_empty_trash):
      	Changed to use new xfer options making it a little
      	clearer which copy engine operation gets to run.
      
      	* src/file-manager/dfos-xfer.c:
      	(fs_xfer), (fs_move_to_trash):
      	Fixed a leak of the item_names list.
      
      	* src/file-manager/dfos-xfer.c:
      	(fs_new_folder):
      	Changed to use "untitled folder".
      
      	* src/file-manager/fm-directory-view.c:
      	(bonobo_menu_move_to_trash_callback),
      	(fm_directory_can_move_to_trash),
      	(fm_directory_view_trash_or_delete_selection), (trash_callback),
      	(compute_menu_item_info), (reset_bonobo_trash_delete_menu),
      	(fm_directory_view_real_merge_menus),
      	(fm_directory_view_real_update_menus),
      	(fm_directory_view_get_context_menu_index):
      	Add logic that picks the Delete/Move To Trash menu items depending
      	on whether selected items can be moved to Trash or not. Added code
      	that decides if items can be moved to Trash from a given folder.
      
      	* src/file-manager/dfos-corba.c: (convert_options):
      	Disabled some dead code.
      4412765d
    • Eskil Heyn Olsen's avatar
      Fixed a horribly cut'n'paste bug in the signal bindings. Also doing some · f17cf9f4
      Eskil Heyn Olsen authored
      	* components/services/install/command-line/eazel-alt-install.c:
      	(main):
      	* components/services/install/lib/Makefile.am:
      	* components/services/install/lib/eazel-install-object.c:
      	(eazel_install_class_initialize), (fetch_remote_package_list),
      	(eazel_install_emit_download_progress),
      	(eazel_install_emit_download_failed),
      	(eazel_install_emit_install_failed),
      	(eazel_install_emit_uninstall_failed), (eazel_install_log),
      	(eazel_install_open_log):
      	Fixed a horribly cut'n'paste bug in the signal bindings. Also
      	doing some stuff on making the lib log properly
      
      	* 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-public.h:
      	* components/services/install/lib/eazel-install-rpm-glue.c:
      	(download_all_packages), (install_all_packages),
      	(uninstall_packages):
      	More cleaning out of g_errors, g_asserts and such.
      
      	* components/services/trilobite/libtrilobite/Makefile.am:
      	* nautilus-installer/src/Banner_Left.xpm:
      	* nautilus-installer/src/Final_Inside.xpm:
      	* nautilus-installer/src/Final_Top.xpm:
      	* nautilus-installer/src/Makefile:
      	* nautilus-installer/src/Makefile.in:
      	* nautilus-installer/src/Step_3a_Inside.xpm:
      	* nautilus-installer/src/Step_3b_Inside.xpm:
      	* nautilus-installer/src/Step_One_Inside.xpm:
      	* nautilus-installer/src/Step_One_Top.xpm:
      	* nautilus-installer/src/Step_Three_Top.xpm:
      	* nautilus-installer/src/Step_Two_Inside.xpm:
      	* nautilus-installer/src/Step_Two_Top.xpm:
      	* nautilus-installer/src/callbacks.c: (set_images):
      	* nautilus-installer/src/installer.c: (append_name_to),
      	(download_failed), (install_failed), (gen_report),
      	(dump_failure_info), (installer):
      	* nautilus-installer/src/interface.c: (create_window):
      	* nautilus-installer/src/main.c: (main):
      	More work on the installer, especially making it
      	use Arlo's graphics and still be a static binary.
      f17cf9f4
    • Andy Hertzfeld's avatar
      fixed bug where we'd crash when drawing at the lowest zoom level in · 050fd741
      Andy Hertzfeld authored
      
      	fixed bug where we'd crash when drawing at the lowest zoom level
      	in anti-aliased mode; fixed by checking for the text drawing
      	conditions.
      050fd741
    • John Sullivan's avatar
      Adapted much of the open-with and view-as code to use · 29279c2e
      John Sullivan authored
      	the new API, whose implementation awaits. This causes
      	us to temporarily lose the command-buttons-in-sidebar
      	feature until the new API's implementation happens.
      
      	Some of these changes are only partially done; I've
      	got a list of things to finish still. But feel free
      	to bug me about anything in particular that seems bad.
      
      	* libnautilus-extensions/nautilus-program-chooser.h:
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(populate_program_list): Use real API to add programs
      	to list in dialog.
      	(nautilus_program_chooser_new): Remember whether this
      	is an application-choosing or component-choosing dialog.
      	(nautilus_program_chooser_get_application),
      	(nautilus_program_chooser_get_component): New functions,
      	get the item in the list that the user selected.
      	* libnautilus-extensions/nautilus-program-choosing.h:
      	Change parameter in NautilusApplicationChoiceCallback
      	from char * to GnomeVFSMimeApplication.
      	* libnautilus-extensions/nautilus-program-choosing.c:
      	(nautilus_choose_application_for_file),
      	(nautilus_choose_component_for_file): Get the chosen
      	item from the dialog instead of returning a hardwired
      	value.
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_chose_application_callback): Take
      	GnomeVFSMimeApplication instead of char *.
      	(add_open_with_gtk_menu_item): Enable menu items now
      	that they work.
      	(launch_application_from_menu_item): New function, callback
      	used when user picks an app from context menu.
      	(view_uri_from_menu_item): New function, callback used
      	when user picks a viewer from context menu.
      	(add_application_to_gtk_menu),
      	(add_component_to_gtk_menu): New functions, set up menu items.
      	(create_open_with_gtk_menu): Use real API to populate
      	open_with context menu items.
      	(bonobo_menu_select_all_callback), (select_all_callback),
      	(fm_directory_view_real_merge_menus):
      	Fixed bug where context menu "Select All" didn't work by
      	separating bonobo and gtk callbacks.
      	* src/nautilus-sidebar.c:
      	(nautilus_index_panel_chose_application_callback),
      	(add_command_buttons), (gnome_vfs_mime_application_list_free),
      	(nautilus_index_panel_update_buttons): Use real API instead
      	of hardwired set of buttons for different MIME types. This
      	currently means you always get only the "Open with ..." button,
      	but the real buttons will reappear once we have our new
      	application-choosing scheme in place.
      29279c2e
    • Maciej Stachowiak's avatar
      Task 1057: Terminal-based programs should open into a new terminal window · eab1242a
      Maciej Stachowiak authored
      	* libnautilus-extensions/nautilus-program-choosing.h,
      	libnautilus-extensions/nautilus-program-choosing.c:
      	(nautilus_launch_application): Take a GnomeVFSMimeApplication *
      	instead of a command string; add gnome-terminal -x
      	(nautilus_launch_application_from_command): Old version that takes
      	a command string renamed. Also, uses `system' instead of `execlp',
      	so command-line arguments in the command string work.
      	* libnautilus-extensions/nautilus-program-chooser.c
      	(launch_mime_capplet): Adjusted to conform.
      	* src/file-manager/fm-directory-view.c
      	(fm_directory_view_launch_application): Likewise.
      	* src/nautilus-sidebar.c: (command_button_callback,
      	nautilus_sidebar_chose_application_callback, add_command_buttons):
      	Likewise.
      	* test/test-nautilus-mime-actions.c (print_application): Show the
      	requires_terminal field for applications.
      eab1242a
    • John Sullivan's avatar
      Adapted much of the open-with and view-as code to use · 703d6566
      John Sullivan authored
      	the new API, whose implementation awaits. This causes
      	us to temporarily lose the command-buttons-in-sidebar
      	feature until the new API's implementation happens.
      
      	Some of these changes are only partially done; I've
      	got a list of things to finish still. But feel free
      	to bug me about anything in particular that seems bad.
      
      	* libnautilus-extensions/nautilus-program-chooser.h:
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(populate_program_list): Use real API to add programs
      	to list in dialog.
      	(nautilus_program_chooser_new): Remember whether this
      	is an application-choosing or component-choosing dialog.
      	(nautilus_program_chooser_get_application),
      	(nautilus_program_chooser_get_component): New functions,
      	get the item in the list that the user selected.
      	* libnautilus-extensions/nautilus-program-choosing.h:
      	Change parameter in NautilusApplicationChoiceCallback
      	from char * to GnomeVFSMimeApplication.
      	* libnautilus-extensions/nautilus-program-choosing.c:
      	(nautilus_choose_application_for_file),
      	(nautilus_choose_component_for_file): Get the chosen
      	item from the dialog instead of returning a hardwired
      	value.
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_chose_application_callback): Take
      	GnomeVFSMimeApplication instead of char *.
      	(add_open_with_gtk_menu_item): Enable menu items now
      	that they work.
      	(launch_application_from_menu_item): New function, callback
      	used when user picks an app from context menu.
      	(view_uri_from_menu_item): New function, callback used
      	when user picks a viewer from context menu.
      	(add_application_to_gtk_menu),
      	(add_component_to_gtk_menu): New functions, set up menu items.
      	(create_open_with_gtk_menu): Use real API to populate
      	open_with context menu items.
      	(bonobo_menu_select_all_callback), (select_all_callback),
      	(fm_directory_view_real_merge_menus):
      	Fixed bug where context menu "Select All" didn't work by
      	separating bonobo and gtk callbacks.
      	* src/nautilus-sidebar.c:
      	(nautilus_index_panel_chose_application_callback),
      	(add_command_buttons), (gnome_vfs_mime_application_list_free),
      	(nautilus_index_panel_update_buttons): Use real API instead
      	of hardwired set of buttons for different MIME types. This
      	currently means you always get only the "Open with ..." button,
      	but the real buttons will reappear once we have our new
      	application-choosing scheme in place.
      703d6566
    • Kenneth Christiansen's avatar
      Added files Script for finding missing translations in desktop files · c17b9e19
      Kenneth Christiansen authored
      2000-05-31  Kenneth Christiansen <kenneth@gnu.org>
      
              * POTFILES.in: Added files
              * desk.pl: Script for finding missing translations
              in desktop files
              * update.pl: Script for updating and finding missing
              files for POTFILES.in
      c17b9e19
  2. 30 May, 2000 13 commits
    • Kenneth Christiansen's avatar
      Translations from Keld · 271aaf58
      Kenneth Christiansen authored
      gtranslator/po/da.po nautilus/po/da.po
      271aaf58
    • Andy Hertzfeld's avatar
      preview a broader range of sounds using "play", and (completely unrelated) · f665e65e
      Andy Hertzfeld authored
      
               preview a broader range of sounds using "play", and (completely
      	 unrelated) draw the icon stretch handles in anti-aliased mode.
      f665e65e
    • Pavel Cisler's avatar
      New copy engine entry calls supporting New Folder creation. Pass NULL to · 161115bb
      Pavel Cisler authored
      2000-05-30  Pavel Cisler  <pavel@eazel.com>
      
      	* src/file-manager/dfos-xfer.h:
      	* src/file-manager/dfos-xfer.c: (sync_xfer_callback), (fs_xfer),
      	(new_folder_xfer_callback), (fs_new_folder), (fs_move_to_trash),
      	(fs_empty_trash):
      	New copy engine entry calls supporting New Folder creation.
      	Pass NULL to sync_xfer_callback because it doesn't use any pass-thru
      	state.
      
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-icon-view.c:
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_initialize_class),
      	(bonobo_menu_new_folder_callback), (start_renaming_item),
      	(new_folder_rename_later), (new_folder_done),
      	(fm_directory_view_new_folder), (compute_menu_item_info),
      	(fm_directory_view_real_create_selection_context_menu_items),
      	(reset_bonobo_open_with_menu),
      	(fm_directory_view_real_merge_menus),
      	(fm_icon_view_start_renaming_item),
      	(fm_icon_view_initialize_class):
      	Add the "New Folder" command. Add a menu item that invokes it.
      	Add code to allow me to select the new folder once it was
      	created and start a rename on it.
      161115bb
    • Raph Levien's avatar
      Bumped version number in version test. · 65f27bf0
      Raph Levien authored
      65f27bf0
    • Ramiro Estrugo's avatar
      Instead of creating our own gconf client, share one with the user level · 3058e232
      Ramiro Estrugo authored
      * nautilus-widgets/nautilus-preferences.c:
      (nautilus_preferences_initialize):
      Instead of creating our own gconf client, share one with the user
      level manager.  Otherwise i get weird gconf connection errors.
      
      * nautilus-widgets/nautilus-user-level-manager.c:
      (user_level_manager_new),
      (nautilus_user_level_manager_initialize_class),
      (user_level_manager_ensure_global_manager),
      (user_level_set_default_if_needed),
      (nautilus_user_level_manager_get),
      (nautilus_user_level_manager_get_user_level),
      (nautilus_user_level_manager_get_user_level_names),
      (nautilus_user_level_manager_get_gconf_client):
      * nautilus-widgets/nautilus-user-level-manager.h:
      Add method to expose a refed gconf client.
      Change the global manager initialization code to prevent stoopid
      infinite loop.  Let gconf know about the ~/.gconf/nautilus
      directory.
      3058e232
    • Ramiro Estrugo's avatar
      Fix bug 724 by adding a slightly better, but still lame mozilla detection · b78f3465
      Ramiro Estrugo authored
      * configure.in:
      Fix bug 724 by adding a slightly better, but still lame mozilla
      detection artificial intelligence.
      b78f3465
    • Ramiro Estrugo's avatar
      New class to manager user level stuff. · 6cb85015
      Ramiro Estrugo authored
      * nautilus-widgets/nautilus-user-level-manager.c:
      (user_level_manager_new), (nautilus_user_level_manager_initialize),
      (nautilus_user_level_manager_initialize_class),
      (user_level_manager_destroy),
      (user_level_manager_get_global_manager),
      (user_level_manager_is_initialized), (get_gconf_user_level_string),
      (user_level_set_default_if_needed),
      (nautilus_user_level_manager_get),
      (nautilus_user_level_manager_set_user_level),
      (nautilus_user_level_manager_get_user_level),
      (nautilus_user_level_manager_get_num_user_levels),
      (nautilus_user_level_manager_get_user_level_names):
      * nautilus-widgets/nautilus-user-level-manager.h:
      New class to manager user level stuff.
      
      * libnautilus-extensions/nautilus-global-preferences.c:
      (nautilus_global_preferences_startup):
      * nautilus-widgets/Makefile.am:
      * nautilus-widgets/nautilus-preferences.c:
      (nautilus_preferences_initialize):
      * nautilus-widgets/nautilus-preferences.h:
      * nautilus-widgets/test-nautilus-preferences.c: (main):
      Undo the last stoopid change cuz the user level stuff is now
      hidden in the NautilusUserLevelManager class.
      6cb85015
    • Pavel Cisler's avatar
      More drag&drop support calls shared between list and icon view. · ed231e9a
      Pavel Cisler authored
      2000-05-30  Pavel Cisler <pavel@eazel.com>
      
      	* libnautilus-extensions/nautilus-drag.c:
      	* libnautilus-extensions/nautilus-drag.h:
      	(nautilus_drag_items_local), (nautilus_drag_can_accept_item),
      	(nautilus_drag_can_accept_items):
      	More drag&drop support calls shared between list and icon view.
      
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	(nautilus_icon_container_selection_items_local),
      	(receive_dropped_keyword),
      	(nautilus_icon_container_receive_dropped_icons),
      	(nautilus_icon_dnd_update_drop_target):
      	Remove calls that are replaced by nautilus-drag.c equivalents.
      	Tweak some whitespace.
      
      	* libnautilus-extensions/nautilus-gtk-extensions.c:
      	* libnautilus-extensions/nautilus-gtk-extensions.h:
      	(nautilus_gtk_marshal_NONE__INT_INT_INT):
      	Add some more signal glue.
      
      	* libnautilus-extensions/nautilus-list.h:
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_initialize_class), (nautilus_list_drag_drop),
      	(nautilus_list_row_at):
      	Add more drop handling. Add signal that sends of dropped data
      	and context to fm-list-view.c. Added nautilus_list_row_at
      	that fm-list-view.c needs to handle the drop.
      
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-icon-view.c: (icon_view_can_accept_item),
      	(icon_view_get_container_uri), (icon_view_move_copy_items),
      	(create_icon_container), (fm_directory_view_get_uri),
      	(fm_directory_view_move_copy_items),
      	(fm_directory_view_can_accept_item):
      	Rework public calls to not take a container view as an argument
      	and can be used by both list and icon view classes.
      	Add new private signal handler callbacks that replace the
      	public calls.
      
      	* src/file-manager/fm-list-view.c: (fm_list_nautilus_file_at),
      	(fm_list_handle_dropped_icons), (create_list):
      	Drop handling code.
      ed231e9a
    • Ramiro Estrugo's avatar
      Rename (nautilus_preferences_find_preference) to · 009a53f0
      Ramiro Estrugo authored
      * nautilus-widgets/nautilus-preferences-group.c:
      (nautilus_preferences_group_add_item):
      * nautilus-widgets/nautilus-preferences-item.c:
      (preferences_item_construct), (enum_radio_group_changed_callback):
      * nautilus-widgets/nautilus-preferences.c:
      (nautilus_preferences_find_preference):
      * nautilus-widgets/nautilus-preferences.h:
      
      Rename (nautilus_preferences_find_preference) to
      (nautilus_preferences_find_preference) to avoid confusion with a
      function ill add next.
      009a53f0
    • Ramiro Estrugo's avatar
      Cleanup preferences to make the code easier to modify. Name things more · 4a563ae0
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-global-preferences.c:
      (nautilus_global_preferences_startup):
      * nautilus-widgets/nautilus-preferences.c:
      (preferences_hash_node_alloc), (preferences_hash_node_free),
      (preferences_hash_node_add_callback),
      (preferences_hash_node_remove_callback),
      (preferences_hash_node_free_func),
      (preferneces_callback_node_alloc),
      (preferneces_callback_node_free),
      (preferneces_callback_node_free_func),
      (preferneces_callback_node_invoke_func), (preferences_register),
      (nautilus_preferences_get_preference),
      (nautilus_preferences_set_info), (set_default_value_if_needed),
      (nautilus_preferences_enum_add_entry),
      (preferences_hash_node_lookup),
      (preferences_hash_node_lookup_with_registration),
      (preferences_gconf_callback),
      (nautilus_preferences_add_boolean_callback),
      (nautilus_preferences_add_enum_callback),
      (nautilus_preferences_add_callback),
      (nautilus_preferences_remove_callback),
      (nautilus_preferences_set_boolean),
      (nautilus_preferences_get_boolean),
      (nautilus_preferences_set_enum), (nautilus_preferences_get_enum),
      (nautilus_preferences_set), (nautilus_preferences_get),
      (nautilus_preferences_initialize),
      (nautilus_preferences_is_initialized),
      (nautilus_preferences_shutdown):
      * nautilus-widgets/nautilus-preferences.h:
      * nautilus-widgets/test-nautilus-preferences.c: (main):
      
      Cleanup preferences to make the code easier to modify.  Name
      things more consistently.  Put global variables in a struct to
      make then clearly distiguishable from local ones.
      
      Also, add change the initialize api to be fed the number of user
      levels and their names.  More on this later.
      4a563ae0
    • Ramiro Estrugo's avatar
      Change preferences startup code to occur in only one place. · 9a05e06f
      Ramiro Estrugo authored
      * components/history/nautilus-history-view.c: (main):
      * libnautilus-extensions/nautilus-global-preferences.c:
      (nautilus_global_preferences_startup):
      * libnautilus-extensions/nautilus-global-preferences.h:
      * src/nautilus-application.c: (nautilus_app_class_init):
      * src/nautilus-main.c: (main):
      
      Change preferences startup code to occur in only one place.
      9a05e06f
    • Raph Levien's avatar
      Fixed stupid off-by-one error. · 1f720bb2
      Raph Levien authored
      1f720bb2
    • Andy Hertzfeld's avatar
      implemented task 259, simple UI for previewing sounds, by making the icon · d11a03fb
      Andy Hertzfeld authored
      
              implemented task 259, simple UI for previewing sounds, by making the
      	icon container emit a preview signal when an icon is moused-over.
      	Connect the signal in fm-icon-view, where we inspect the type.
      	For now we just support mp3s, but more sound types are coming soon,
      	and the door's open for other types of previewing.  Use a timeout
      	task to provide an adjustable delay before playing.
      d11a03fb
  3. 29 May, 2000 4 commits
    • Raph Levien's avatar
      Added gradient handling to librsvg. · 55cffa77
      Raph Levien authored
      55cffa77
    • John Sullivan's avatar
      Removed unused variable. · 17b8049c
      John Sullivan authored
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_drag_drop): Removed unused variable.
      17b8049c
    • Pavel Cisler's avatar
      Start splitting out drag&drop code common between icon view and list view · 1356a678
      Pavel Cisler authored
      2000-05-29  Pavel Cisler <pavel@eazel.com>
      
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-drag.c:
      	* libnautilus-extensions/nautilus-drag.h:
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	* libnautilus-extensions/nautilus-icon-dnd.h:
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_drag_selection_item_new), (drag_selection_item_destroy),
      	(nautilus_drag_destroy_selection_list),
      	(nautilus_drag_build_selection_list),
      	(create_selection_shadow),
      	(nautilus_icon_container_dropped_icon_feedback),
      	(drag_data_received_callback),
      	(nautilus_icon_container_ensure_drag_data), (drag_end_callback),
      	(nautilus_icon_container_selection_items_local),
      	(nautilus_icon_canvas_item_can_accept_items), (handle_local_move),
      	(handle_nonlocal_move),
      	(nautilus_icon_container_receive_dropped_icons),
      	(nautilus_icon_container_free_drag_data), (nautilus_icon_dnd_fini),
      	(drag_drop_callback), (nautilus_list_initialize), (nautilus_list_drag_end),
      	(nautilus_list_drag_leave), (nautilus_list_drag_drop),
      	(nautilus_list_drag_data_received):
      	Start splitting out drag&drop code common between icon view and list view
      	into a new file.
      	Start adding drag&drop calls to list view.
      	Bunch of renamings.
      1356a678
    • Ramiro Estrugo's avatar
      New function to access the index for a given string. · 2923a788
      Ramiro Estrugo authored
      * libnautilus-extensions/nautilus-string-list.c:
      (nautilus_string_list_get_index_for_string),
      (nautilus_self_check_string_list):
      * libnautilus-extensions/nautilus-string-list.h:
      New function to access the index for a given string.
      2923a788