1. 01 Jun, 2000 2 commits
  2. 31 May, 2000 35 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
    • 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
  3. 30 May, 2000 3 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