1. 02 Jun, 2000 8 commits
    • Maciej Stachowiak's avatar
      Final portion of task 370 (mime write API) · 6a4de846
      Maciej Stachowiak authored
      	* libnautilus-extensions/nautilus-mime-actions.h: *
      	libnautilus-extensions/nautilus-mime-actions.c:
      	(nautilus_mime_get_short_list_components_for_uri,
      	nautilus_mime_set_default_action_type_for_uri,
      	nautilus_mime_set_default_application_for_uri,
      	nautilus_mime_set_default_component_for_uri,
      	nautilus_mime_set_short_list_applications_for_uri,
      	nautilus_mime_set_short_list_components_for_uri,
      	nautilus_mime_extend_all_applications_for_uri,
      	nautilus_mime_remove_from_all_applications_for_uri): Implemented
      	(they write the metadata and everything - happy fun).
      	(str_list_difference): Helper function compied from gnome-vfs.
      
      	* test/test-nautilus-mime-actions-set.c: Tests for these
      	functions.
      	* test/Makefile.am: Build it.
      6a4de846
    • Andy Hertzfeld's avatar
      made linksets actually work. fixed audio previewing for filename with · f30271af
      Andy Hertzfeld authored
      
      	made linksets actually work.
      	fixed audio previewing for filename with special characters
      	made links work for filenames with special characters
      	added some icons for the default link set
      f30271af
    • Gene Z. Ragan's avatar
      New call to be used internally to get the current undo transaction. An · f1cc9405
      Gene Z. Ragan authored
      2000-06-01  Gene Z. Ragan  <gzr@eazel.com>
      
      	* libnautilus/nautilus-undo-manager.c:
      	* libnautilus/nautilus-undo-manager.h:
      	(nautilus_undo_manager_get_current_undo_transaction):
      	New call to be used internally to get the current undo transaction.
      	An example of this call being used is in the menu code that displays
      	the current undo operation name.
      
      	* libnautilus/nautilus-undo-transaction.c:
      	(impl_Nautilus_Undo_Transaction__get_undo_description),
      	(impl_Nautilus_Undo_Transaction__get_redo_description),
      	(impl_Nautilus_Undo_Transaction__get_operation_name),
      	(impl_Nautilus_Undo_Transaction__undo),
      	Added actual functionlality to these calls.  They now
      	work as advertised.
      
      	(nautilus_undo_transaction_new),
      	Made changed needed to actually use the operation
      	name and description that is passed in.
      
      	(nautilus_undo_transaction_destroy),
      	Clean up stored operation name and description strings.
      
      	* src/nautilus-window-menus.c:
      	(update_undo_menu_item):
      	The undo operation name is now displayed in the menu item.
      f1cc9405
    • Pavel Cisler's avatar
      More list view drag&drop work. Move more code from nautilus-icon-dnd.c to · 2dcd63ac
      Pavel Cisler authored
      2000-06-01  Pavel Cisler  <pavel@eazel.com>
      
      	* libnautilus-extensions/nautilus-drag.h:
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	* libnautilus-extensions/nautilus-drag.c:
      	* libnautilus-extensions/nautilus-list.h:
      	* libnautilus-extensions/nautilus-icon-dnd.h:
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_drag_init), (nautilus_drag_finalize),
      	(create_selection_shadow), (set_gnome_icon_list_selection),
      	(nautilus_icon_container_dropped_icon_feedback),
      	(drag_data_received_callback),
      	(nautilus_icon_container_ensure_drag_data), (drag_end_callback),
      	(confirm_switch_to_manual_layout), (handle_local_move),
      	(handle_nonlocal_move),
      	(nautilus_icon_container_receive_dropped_icons),
      	(nautilus_icon_dnd_update_drop_target),
      	(nautilus_icon_container_free_drag_data), (nautilus_icon_dnd_init),
      	(nautilus_icon_dnd_fini), (nautilus_icon_dnd_begin_drag),
      	(drag_drop_callback), (nautilus_list_initialize),
      	(nautilus_list_destroy),
      	(nautilus_list_drag_begin), (nautilus_list_drag_data_get),:
      	More list view drag&drop work. Move more code from nautilus-icon-dnd.c
      	to the shared nautlus-drag.c file. Split common drag&drop state from
      	NautilusIconDndInfo into NautilusDragInfo.
      
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_drag_motion), (nautilus_list_motion):
      	Start hooking up drag-related signals.
      
      	* libnautilus-extensions/nautilus-list.c:
      	* libnautilus-extensions/nautilus-list.h:
      	(nautilus_list_initialize_class):
      	Get rid of the unused START_DRAG signal.
      2dcd63ac
    • Pavel Cisler's avatar
      Fix call to gnome_vfs_unescape_string to match new prototype. · 3fb948ee
      Pavel Cisler authored
      2000-06-01  Pavel Cisler  <pavel@eazel.com>
      
      	* src/file-manager/fm-icon-view.c: (play_file):
      	Fix call to gnome_vfs_unescape_string to match new prototype.
      3fb948ee
    • Andy Hertzfeld's avatar
      fixed problem where sounds with special characters in their filename · a8cb20a8
      Andy Hertzfeld authored
      
              fixed problem where sounds with special characters in their filename
      	wouldn't preview properly; also, replace the computer link icon with
      	a more generic, vector-based one and upgraded the open folder to
      	one with gradients
      a8cb20a8
    • Darin Adler's avatar
      Fixed callers that were using the escape and unescape calls from · 9b12eaef
      Darin Adler authored
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
      	(gather_config_button_cb), (register_button_cb):
      	Fixed callers that were using the escape and unescape calls from
      	gnome-vfs. My guess is that these callers don't want exactly what
      	they are getting, but at least this makes it compile.
      
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_request_location_change):
      	There was code here to just unescape. This is not a good idea,
      	since it will turn good URIs into bad URIs. On the other hand, we
      	may need to do something for basic characters like %20 for better
      	readability.
      
      	* nautilus-widgets/nautilus-user-level-manager.c:
      	(user_level_manager_new),
      	(nautilus_user_level_manager_get_user_level):
      	Added some FIXMEs.
      9b12eaef
    • John Sullivan's avatar
      Provided real implementation for checking whether a program is in the · ba139d51
      John Sullivan authored
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(nautilus_program_chooser_get_type), (compare_mime_applications),
      	(compare_component_with_view), (is_component_in_short_list),
      	(is_component_in_short_list_for_uri),
      	(is_application_in_short_list),
      	(is_application_in_short_list_for_uri),
      	(is_in_short_list_for_file_type), (is_in_short_list_for_file),
      	(update_selected_item_details),
      	(run_program_configurator_callback),
      	(nautilus_program_chooser_new),
      	(nautilus_program_chooser_get_application),
      	(nautilus_program_chooser_get_component): Provided real
      	implementation for checking whether a program is in the
      	file-specific list, just short list, or just full list,
      	as used in "View as Other" dialog. These values were
      	formerly all hardwired. Still need to add code to
      	react to user's changes. Also renamed "Change" button to
      	"Modify" when Josh rightly pointed out that "Change" is
      	a little ambiguous.
      ba139d51
  2. 01 Jun, 2000 20 commits
    • Maciej Stachowiak's avatar
      Completed task 772: Make "View as" menu use short list, not all · 5aae1083
      Maciej Stachowiak authored
      	available components
      
      	* src/nautilus-applicable-views.c (got_file_info_callback):
      	Changed to use the mime APIs to determine the preferred list and
      	default for view components.
      
      	(view_identifier_has_iid, view_identifier_iids_compare): Some
      	utility functions.
      
      	Also removed many of the other functions in here that are no
      	longer necessary and have effectively moved to
      	nautilus-mime-actions.c
      5aae1083
    • John Sullivan's avatar
      Fixed bug where choosing viewer from "View as Other..." · f4cbb90c
      John Sullivan authored
      	dialog from "View as" menu wouldn't update the menu
      	title.
      
      	* src/nautilus-window.c: (nautilus_window_synch_content_view_menu),
      	(view_menu_choose_view_callback),
      	(nautilus_window_load_content_view_menu): Renamed
      	"synch_view_as_menu" to "nautilus_window_synch_content_view_menu".
      	* src/nautilus-window-private.h: Put this function here so it
      	can be used in -manage-views.c.
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_has_really_changed): Call this function to
      	fix "View as" menu title when the view but not the location changes.
      f4cbb90c
    • Andy Hertzfeld's avatar
      added Susan's versions of reload and stop button images to the eazel · 24bbecbb
      Andy Hertzfeld authored
      
              added Susan's versions of reload and stop button images to the
      	eazel toolbar icon theme.
      24bbecbb
    • John Sullivan's avatar
      Call viewers "xxx Viewer" in "Open With" submenu. · c2d7e500
      John Sullivan authored
      	* src/file-manager/fm-directory-view.c:
      	(add_component_to_gtk_menu),
      	(add_component_to_bonobo_menu): Call viewers "xxx Viewer"
      	in "Open With" submenu.
      	(add_open_with_bonobo_menu_item): Use the double-underscore
      	trick to avoid getting underlined characters in program names.
      	* src/nautilus-window.c: (chose_component_callback):
      	Don't destroy identifier here; caller handles that. Now the
      	View as Other choice in the option menu works, with one bug:
      	the option menu label isn't updated properly.
      c2d7e500
    • Maciej Stachowiak's avatar
      Copy correctly. (get_mime_type_from_uri): Handle NULL URIs · 2a5fe26c
      Maciej Stachowiak authored
      	* libnautilus-extensions/nautilus-mime-actions.c:
      	(OAF_ServerInfo__copy): Copy correctly.
      	(get_mime_type_from_uri): Handle NULL URIs
      2a5fe26c
    • Valek Frob's avatar
      Updated russian translation. · 0003706e
      Valek Frob authored
      0003706e
    • Darin Adler's avatar
      Added this function. The guts was already there. · 995b13fd
      Darin Adler authored
      	* libnautilus-extensions/nautilus-directory-metafile.c:
      	(nautilus_directory_set_metadata_list): Added this function.
      	The guts was already there.
      
      	* test/.cvsignore: Ignore some newly generated files.
      995b13fd
    • Maciej Stachowiak's avatar
      Completed bugizlla task 601, Need API for getting "short list" of · 043aa011
      Maciej Stachowiak authored
      	programs associated with file.
      
      	* libnautilus-extensions/nautilus-mime-actions.c
      	(nautilus_mime_get_short_list_applications_for_uri,
      	nautilus_mime_get_short_list_components_for_uri): Implemented
      	properly with metadata checking, etc.
      	(gnome_vfs_mime_application_has_id,
      	gnome_vfs_mime_id_matches_application,
      	gnome_vfs_mime_id_matches_component,
      	gnome_vfs_mime_application_has_id_not_in_list,
      	component_has_id_in_list, string_not_in_list): Helper functions
      	for g_list_find_custom and g_list_partition calls.
      043aa011
    • Maciej Stachowiak's avatar
      Properly implemented w/ appropriate metadata checking, etc. · 41186530
      Maciej Stachowiak authored
      	* libnautilus-extensions/nautilus-mime-actions.c:
      	(nautilus_mime_get_all_applications_for_uri,
      	nautilus_mime_get_all_components_for_uri): Properly implemented w/
      	appropriate metadata checking, etc.
      	(gnome_vfs_mime_application_has_id): Utility function for
      	comparison purposes.
      41186530
    • Maciej Stachowiak's avatar
      Non-asynchronous equivalent of `nautilus_directory_call_when_ready'. · c54cbed1
      Maciej Stachowiak authored
      	* libnautilus-extensions/nautilus-directory.h,
      	libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_wait_until_ready): Non-asynchronous equivalent
      	of `nautilus_directory_call_when_ready'. However, it doesn't block
      	the UI while waiting.
      	(nautilus_directory_wait_until_ready_callback): Helper function
      	for implementing the above.
      
      	* libnautilus-extensions/nautilus-mime-actions.c:
      	(nautilus_mime_get_default_action_type_for_uri,
      	nautilus_mime_get_default_action_for_uri,
      	nautilus_mime_get_default_application_for_uri,
      	nautilus_mime_get_default_component_for_uri): Implemented with
      	fully with proper metadata checking and interface querying, etc.
      
      	(nautilus_mime_get_short_list_applications_for_uri,
      	nautilus_mime_get_short_list_components_for_uri,
      	nautilus_mime_get_all_applications_for_uri,
      	nautilus_mime_get_all_components_for_uri): Adjusted to deal with
      	the mime type checking function changing names.
      
      	(OAF_ServerInfo__copy, extract_prefix_add_suffix,
      	mime_type_get_supertype, uri_string_get_scheme),
      	get_explicit_content_view_iids_from_metafile,
      	make_oaf_query_for_explicit_content_view_iids,
      	make_oaf_query_with_known_mime_type,
      	make_oaf_query_with_uri_scheme_only,
      	file_list_to_mime_type_hash_table, free_key,
      	mime_type_hash_table_destroy, server_matches_content_requirements,
      	nautilus_do_component_query): Oodles of helper functions, many cut
      	& pasted from elswhere and only slightly modified.
      	get_mime_type_from_uri: Removed `_hack' from the name.
      
      	* libnautilus-extensions/nautilus-mime-actions.h: Added prototype
      	for nautilus_mime_get_default_action_type_for_uri.
      
      	* test/test-nautilus-mime-actions.c (main): Call gnome_init.
      
      	* src/nautilus-applicable-views.c: Removed a stray comment that no
      	longer applies.
      c54cbed1
    • Maciej Stachowiak's avatar
      Task 1057: Terminal-based programs should open into a new terminal window · 93c80d6e
      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.
      93c80d6e
    • Maciej Stachowiak's avatar
      Non-asynchronous equivalent of `nautilus_directory_call_when_ready'. · 8b14e59e
      Maciej Stachowiak authored
      	* libnautilus-extensions/nautilus-directory.h,
      	libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_wait_until_ready): Non-asynchronous equivalent
      	of `nautilus_directory_call_when_ready'. However, it doesn't block
      	the UI while waiting.
      	(nautilus_directory_wait_until_ready_callback): Helper function
      	for implementing the above.
      
      	* libnautilus-extensions/nautilus-mime-actions.c:
      	(nautilus_mime_get_default_action_type_for_uri,
      	nautilus_mime_get_default_action_for_uri,
      	nautilus_mime_get_default_application_for_uri,
      	nautilus_mime_get_default_component_for_uri): Implemented with
      	fully with proper metadata checking and interface querying, etc.
      
      	(nautilus_mime_get_short_list_applications_for_uri,
      	nautilus_mime_get_short_list_components_for_uri,
      	nautilus_mime_get_all_applications_for_uri,
      	nautilus_mime_get_all_components_for_uri): Adjusted to deal with
      	the mime type checking function changing names.
      
      	(OAF_ServerInfo__copy, extract_prefix_add_suffix,
      	mime_type_get_supertype, uri_string_get_scheme),
      	get_explicit_content_view_iids_from_metafile,
      	make_oaf_query_for_explicit_content_view_iids,
      	make_oaf_query_with_known_mime_type,
      	make_oaf_query_with_uri_scheme_only,
      	file_list_to_mime_type_hash_table, free_key,
      	mime_type_hash_table_destroy, server_matches_content_requirements,
      	nautilus_do_component_query): Oodles of helper functions, many cut
      	& pasted from elswhere and only slightly modified.
      	get_mime_type_from_uri: Removed `_hack' from the name.
      
      	* libnautilus-extensions/nautilus-mime-actions.h: Added prototype
      	for nautilus_mime_get_default_action_type_for_uri.
      
      	* test/test-nautilus-mime-actions.c (main): Call gnome_init.
      
      	* src/nautilus-applicable-views.c: Removed a stray comment that no
      	longer applies.
      8b14e59e
    • Benedikt Roth's avatar
      added a very beta german translation · 331493e7
      Benedikt Roth authored
      331493e7
    • Maciej Stachowiak's avatar
      Simple test program to check _for_uri nautilus metadata calls in nautilus. · d1eef709
      Maciej Stachowiak authored
      	* test/test-nautilus-mime-actions.c: Simple test program to check
      	_for_uri nautilus metadata calls in nautilus.
      	* test/Makefile.am: Build test-nautilus-mime-actions
      	* Makefile.am, configure.in: add test directory to the build.
      
      	* libnautilus-extensions/nautilus-mime-actions.c
      	(nautilus_mime_get_default_action_for_uri,
      	nautilus_mime_get_default_application_for_uri,
      	nautilus_mime_get_default_component_for_uri): Implemented in the
      	same temporary stub way as the other calls.
      d1eef709
    • Maciej Stachowiak's avatar
      Implemented in the same temporary stub way as the other calls. · cbb3a96d
      Maciej Stachowiak authored
      	* libnautilus-extensions/nautilus-mime-actions.c
      	(nautilus_mime_get_default_action_for_uri,
      	nautilus_mime_get_default_application_for_uri,
      	nautilus_mime_get_default_component_for_uri): Implemented in the
      	same temporary stub way as the other calls.
      cbb3a96d
    • Andy Hertzfeld's avatar
      fixed bug 991, image files that are less than 16K are displayed full-size, · 45b25758
      Andy Hertzfeld authored
      
      	fixed bug 991, image files that are less than 16K are displayed
      	full-size, even if they're huge.  Fixed by using a reasonable
      	max size based on the scale factor.
      45b25758
    • Maciej Stachowiak's avatar
      Moved from gnome-vfs-handlers.[ch] and renamed from gnome_vfs_mime... to · 96c8ade3
      Maciej Stachowiak authored
      	* libnautilus-extensions/nautilus-mime-actions.h,
      	libnautilus-extensions/nautilus-mime-actions.c:
      	(nautilus_mime_get_default_action_for_uri,
      	nautilus_mime_get_default_application_for_uri,
      	nautilus_mime_get_default_component_for_uri,
      	nautilus_mime_get_short_list_applications_for_uri,
      	nautilus_mime_get_short_list_components_for_uri,
      	nautilus_mime_get_all_applications_for_uri,
      	nautilus_mime_get_all_components_for_uri,
      	nautilus_mime_set_default_action_type_for_uri,
      	nautilus_mime_set_default_application_for_uri,
      	nautilus_mime_set_default_component_for_uri,
      	nautilus_mime_set_short_list_applications_for_uri,
      	nautilus_mime_set_short_list_components_for_uri,
      	nautilus_mime_extend_all_applications_for_uri,
      	nautilus_mime_remove_from_all_applications_for_uri): Moved from
      	gnome-vfs-handlers.[ch] and renamed from gnome_vfs_mime... to
      	nautilus_mime...
      	(get_mime_type_from_uri_hack): Internal helper fucntion moved from
      	gnome-vfs-handlers.c
      	* libnautilus-extensions/Makefile.am: Build and install
      	nautilus-mime-actions.c and nautilus-mime-actions.h repsectively.
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(populate_program_list):
      	* src/file-manager/fm-directory-view.c:
      	(create_open_with_gtk_menu), (reset_bonobo_open_with_menu):
      	* src/nautilus-sidebar.c: (nautilus_sidebar_update_buttons):
      96c8ade3
    • John Sullivan's avatar
      More incremental work to use the new mime-handling API. · b10fd5f3
      John Sullivan authored
      	* src/file-manager/fm-directory-view.c:
      	(add_open_with_bonobo_menu_item): Now takes callback
      	and callback data and uses them for menu item construction.
      	(bonobo_launch_application_callback),
      	(add_application_to_bonobo_menu),
      	(bonobo_open_location_with_viewer_callback),
      	(add_component_to_bonobo_menu): Pass along structs containing
      	info necessary to launch app or switch viewers. Tragically
      	these are leaked due to the lack of DestroyNotify mechanism
      	in Bonobo (bug written).
      	(reset_bonobo_open_with_menu): Uncomment out list-freeing
      	lines now that API is in place.
      	(fm_directory_view_chose_component_callback),
      	(choose_component): Pass NautilusFile instead of view so we
      	can get at the uri in the future when we have API for
      	switching locations with specified viewer.
      b10fd5f3
    • Andy Hertzfeld's avatar
      first checkin for link sets, which are incomplete and not hooked up yet. · c0f797d9
      Andy Hertzfeld authored
      
               first checkin for link sets, which are incomplete and not hooked
      	 up yet.  Also, added a title to the property browser and improved
      	 the default color choices to one's specified by Susan.
      c0f797d9
    • Seth Nickell's avatar
      Changed calls to gnome_vfs_append_path to use the similar but more · 68359c8c
      Seth Nickell authored
      2000-05-31  Seth Nickell  <snickell@stanford.edu>
      
      	* libnautilus-extensions/nautilus-directory.c:
      	(construct_alternate_metafile_uri), (nautilus_directory_new):
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_matches_uri), (nautilus_file_get_uri):
      	Changed calls to gnome_vfs_append_path to use the similar
      	but more specific gnome_vfs_append_file_name instead.
      68359c8c
  3. 31 May, 2000 12 commits
    • Darin Adler's avatar
      Fixed a bug where I accidentally treated root as "unable to access · d90f8124
      Darin Adler authored
      	* libnautilus-extensions/nautilus-file.c:
      	(nautilus_file_denies_access_permission): Fixed a bug where I
      	accidentally treated root as "unable to access anything" instead
      	of "able to access everything".
      
      	* src/nautilus-sidebar-tabs.h: Fixed file name in include guard.
      	I'll probably need to write a script to find the broken ones.
      
      	* src/nautilus-window-manage-views.c: (handle_unreadable_location):
      	Fixed a bug where we unref's a file object before using it.
      
      	* src/nautilus-window-private.h: Got rid of a straggler prototype
      	for a nonexistent function.
      
      	* RENAMING: Some are done.
      d90f8124
    • Ramiro Estrugo's avatar
      Honor the gtkstyle font instead of hacking in our own. Part of bug 667. · 3ec2e7fa
      Ramiro Estrugo authored
      * src/nautilus-sidebar-tabs.c:
      (nautilus_index_tabs_initialize_class), (draw_one_tab),
      (draw_or_hit_test_all_tabs):
      
      Honor the gtkstyle font instead of hacking in our own.  Part of
      bug 667.
      3ec2e7fa
    • John Sullivan's avatar
      Got rid of enum NautilusProgramChooserType, replaced with equivalent but · bf1ebf39
      John Sullivan authored
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(populate_program_list), (nautilus_program_chooser_new),
      	(nautilus_program_chooser_get_application),
      	(nautilus_program_chooser_get_component):
      	* libnautilus-extensions/nautilus-program-chooser.h:
      	* libnautilus-extensions/nautilus-program-choosing.c:
      	(set_up_program_chooser), (nautilus_choose_component_for_file),
      	(nautilus_choose_application_for_file): Got rid of enum
      	NautilusProgramChooserType, replaced with equivalent but
      	more general enum GnomeVFSMimeActionType.
      bf1ebf39
    • Darin Adler's avatar
      *** empty log message *** · 400bff8e
      Darin Adler authored
      400bff8e
    • Darin Adler's avatar
      Make a new window even when you say --manage-desktop for now, because · 3daa4850
      Darin Adler authored
      	* src/nautilus-application.c: (nautilus_app_startup):
      	Make a new window even when you say --manage-desktop for now,
      	because closing the last window or Quit is the only way to get
      	rid of the desktop until we do some more work on it.
      
      	* src/nautilus-window-manage-views.c:
      	(nautilus_window_request_location_change):
      	Always open in a new window when starting with the desktop.
      
      	* src/nautilus-window.c: (nautilus_window_goto_uri_callback),
      	(nautilus_window_constructed): Tiny formatting tweak.
      3daa4850
    • John Sullivan's avatar
      libnautilus-extensions/nautilus-mime-type.c, Removed these files, which · 92d3ad35
      John Sullivan authored
      	* libnautilus-extensions/nautilus-mime-type.c,
      	* libnautilus-extensions/nautilus-mime-type.h:
      	Removed these files, which had contained the old stopgap
      	mime-type-to-application table.
      	* libnautilus-extensions/Makefile.am: Take removed files out
      	of build.
      	* src/nautilus-property-browser.c,
      	* src/nautilus-sidebar.c: Remove #includes for removed files.
      92d3ad35
    • John Sullivan's avatar
      Change the way data from program lists is freed; this clarifies the code · 13ffa5fe
      John Sullivan authored
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	(populate_program_list): Change the way data from program lists
      	is freed; this clarifies the code and fixes a double-destroy.
      	* src/nautilus-sidebar.c: (nautilus_sidebar_update_buttons):
      	Don't display "Open With..." button if there are no available
      	choices. This fixes part of bug 1044 (need to do the same
      	kind of thing for menus).
      13ffa5fe
    • Andy Hertzfeld's avatar
      added -q option to mpg123 invocation for sound previewing; at Susan's · b0af9ffe
      Andy Hertzfeld authored
      
              added -q option to mpg123 invocation for sound previewing; at Susan's
      	suggestion made the selection box 25% opaque instead of 50%
      b0af9ffe
    • Fatih Demir's avatar
      Corrected some typos · ffcddf7c
      Fatih Demir authored
      ffcddf7c
    • John Sullivan's avatar
      Initialize *return_sensitivity to TRUE; it was uninitialized in some · d46e4c26
      John Sullivan authored
      	* src/file-manager/fm-directory-view.c:
      	(compute_menu_item_info): Initialize *return_sensitivity to
      	TRUE; it was uninitialized in some cases.
      	(add_application_to_gtk_menu), (create_open_with_gtk_menu):
      	Cleaned up list-handling using new gnome-vfs API.
      
      	* src/nautilus-sidebar.c: Removed placeholder local implementation
      	of gnome_vfs_mime_application_list_free now that there's a real
      	one in gnome-vfs.
      d46e4c26
    • 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
    • Ramiro Estrugo's avatar
      Exorcist the moz:// hack. · 0cc9cbd2
      Ramiro Estrugo authored
      * components/mozilla/nautilus-mozilla-content-view.c:
      (nautilus_mozilla_content_view_load_uri),
      (mozilla_content_view_request_location_change):
      Exorcist the moz:// hack.
      
      * components/mozilla/nautilus-mozilla-content-view.oafinfo:
      Change the protocol from moz to http.
      
      * src/nautilus-applicable-views.c:
      Prefer the mozilla component over the ntl-web-browser.
      0cc9cbd2