1. 05 Mar, 2001 1 commit
    • Dan Winship's avatar
      reviewed by: Maciej Stachowiak <mjs@eazel.com> · 6b6d4bb1
      Dan Winship authored
      	* mime-type-capplet/libuuid/Makefile.am (NULL): Remove "SUBDIRS="
      	line, which causes automake (1.4 at least) to generate a Makefile
      	containing invalid sh script that bash (2.03.0(1) at least) won't
      	parse.
      6b6d4bb1
  2. 01 Mar, 2001 1 commit
    • Gene Z. Ragan's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · d423110f
      Gene Z. Ragan authored
      2001-03-01  Gene Z. Ragan  <gzr@eazel.com>
      
      	reviewed by: Pavel Cisler  <pavel@eazel.com>
      
      	* mime-type-capplet/Makefile.am:
      	The capplet .desktop should be copied to the Documents
      	directory of the control-center .desktop files directory,
      	not the root level.
      d423110f
  3. 27 Feb, 2001 5 commits
    • Maciej Stachowiak's avatar
      another unreviewed change to fix tinderox · d97f432f
      Maciej Stachowiak authored
      	* mime-type-capplet/Makefile.am: Install .desktop file in both the
      	places the .spec file expects it. Not sure if it was removed
      	intentionally or not.
      d97f432f
    • Maciej Stachowiak's avatar
      unreviewed change to fix tinderox · 9e7e24a9
      Maciej Stachowiak authored
      	* mime-type-capplet/Makefile.am: Add .desktop.in file to
      	EXTRA_DIST.
      9e7e24a9
    • Rebecca Schulman's avatar
      Fixed bugzilla.eazel.com bug 7010, that the file types capplet should use · 96622316
      Rebecca Schulman authored
      2001-02-26  Rebecca Schulman  <rebecka@eazel.com>
      	Fixed bugzilla.eazel.com bug 7010, that the
      	file types capplet should use .desktop.in
      	xml-i18-tools stuff.
      
      	reviewed by: Maciej Stachowiak <mjs@eazel.com>
      
      	* libgnomevfs/gnome-vfs-mime.c:
      	* libgnomevfs/gnome-vfs-mime.h:
      	Add a FIXME and a comment about functions
      	in this file; no code changes
      
      	* mime-type-capplet/.cvsignore:
      	Add file-types-capplet.desktop
      	* mime-type-capplet/file-types-capplet.desktop.in:
      	Add this with new nifty xml-18n technology
      	* mime-type-capplet/file-types-capplet.desktop:
      	Remove the old file
      
      	* mime-type-capplet/Makefile.am:
      	Fix the build to build and install the new desktop file
      	instead of the old one
      96622316
    • jjranta's avatar
      Updated Finnish translation by Pauli Virtanen. · 808b6df4
      jjranta authored
      808b6df4
    • Gene Z. Ragan's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · ba220ebd
      Gene Z. Ragan authored
      2001-02-26  Gene Z. Ragan  <gzr@eazel.com>
      
      	reviewed by: Pavel Cisler <pavel@eazel.com>
      
      	Fixed bug 7039, User-entered application that matches
      	built-in application can't be deleted
      
      	Fixed bug 7040, User-entered application that matches built-in
      	application doesn't go away when "all user changes" reverted
      
      	Fixed bug 7064, New mime types added by user using the capplet
      	do not appear when capplet is launched again.
      
      	* mime-type-capplet/Makefile.am:
      	Add libuuid to build.
      
      	* mime-type-capplet/libuuid/Makefile.am:
      	* mime-type-capplet/libuuid/clear.c: (uuid_clear):
      	* mime-type-capplet/libuuid/compare.c: (uuid_compare):
      	* mime-type-capplet/libuuid/copy.c: (uuid_copy):
      	* mime-type-capplet/libuuid/gen_uuid.c: (get_random_bytes),
      	(get_node_id), (get_clock), (uuid_generate_time),
      	(uuid_generate_random), (uuid_generate):
      	* mime-type-capplet/libuuid/gen_uuid_nt.c: (Nt5), (uuid_generate):
      	* mime-type-capplet/libuuid/isnull.c: (uuid_is_null):
      	* mime-type-capplet/libuuid/pack.c: (uuid_pack):
      	* mime-type-capplet/libuuid/parse.c: (uuid_parse):
      	* mime-type-capplet/libuuid/tst_uuid.c: (main):
      	* mime-type-capplet/libuuid/unpack.c: (uuid_unpack):
      	* mime-type-capplet/libuuid/unparse.c: (uuid_unparse):
      	* mime-type-capplet/libuuid/uuid.h:
      	* mime-type-capplet/libuuid/uuidP.h:
      	* mime-type-capplet/libuuid/uuid_time.c: (uuid_time), (uuid_type),
      	(uuid_variant), (variant_string), (main):
      	Add libuuid to capplet and link statically. This is sort of sad. It would
      	be nice if gnome had a uuid library, but at this time it does not.
      
      	* mime-type-capplet/nautilus-mime-type-capplet-dialogs.c:
      	(nautilus_mime_type_capplet_show_new_mime_window):
      	Call proper API to ensure that new mime type is added to the database.
      
      	(add_or_update_application), (add_item_to_application_list),
      	(run_edit_or_new_application_dialog):
      	Create and assign a uuid to user defined application so that we never
      	conflict with system defined types that use the application name
      	as the application id.
      ba220ebd
  4. 26 Feb, 2001 1 commit
    • John Sullivan's avatar
      reviewed by: Gene Ragan <gzr@eazel.com> · 730e1685
      John Sullivan authored
      	Fixed bug 6675 (Capplet allows user to add application for
      	non-existent program (or not in path).
      
      	* libgnomevfs/gnome-vfs-utils.h:
      	* libgnomevfs/gnome-vfs-utils.c: (strdup_to), (is_executable_file),
      	(executable_in_path), (get_executable_name_from_command_string),
      	(gnome_vfs_is_executable_command_string): Moved code that tests
      	for executable commands from -mime-handlers.c to here. Made
      	gnome_vfs_is_executable_command_string public. Added FIXMEs
      	and tweaked full-path handling code to work in more cases.
      
      	* libgnomevfs/gnome-vfs-mime-handlers.c:
      	(application_known_to_be_nonexistent): Replaced the code testing
      	for executable commands with call to
      	gnome_vfs_is_executable_command_string.
      
      	* mime-type-capplet/nautilus-mime-type-capplet-dialogs.c:
      	(initialize_edit_applications_dialog): Added FIXME.
      	(handle_invalid_application_input): New function, handles bad
      	name or command string with explanatory error message.
      	(run_edit_or_new_application_dialog): New function, guts of both
      	show_ and edit_new_application_window, which formerly had nearly
      	identical copy/pasted code. Now doesn't close dialog if input
      	is bad and user clicks OK; other minor cleanup.
      	(show_new_application_window), (show_edit_application_window):
      	Each of these now calls run_edit_or_new_application_dialog.
      
      	* mime-type-capplet/nautilus-mime-type-capplet.c:
      	(add_mime_clicked), (update_mime_list_action),
      	(populate_mime_list): Added tests for missing icon files to
      	avoid zillions of GTK-CRITICALs from gdk_pixbuf if you run
      	the capplet without installing Nautilus firt (discovered during
      	clean rebuild); fixed a couple of leaking strings.
      730e1685
  5. 24 Feb, 2001 1 commit
  6. 23 Feb, 2001 1 commit
    • John Sullivan's avatar
      reviewed by: Gene Ragan <gzr@eazel.com> · d8fabf05
      John Sullivan authored
      	Fixed bug 6524 (No default icons for MIME types)
      
      	Fixed bug 6525 (capplet will only let you pick icons
      	from a single directory)
      
      	Fixed bug 6596 ("We need a good explanation here"
      	isn't a good explanation)
      
      	I didn't fix all the fundamental brokenness about Nautilus
      	themes vs. the MIME database, but I fixed the most obvious
      	problems and added some FIXMEs to help clarify some of the
      	remaining issues. I also did a tiny fraction of the cleanup
      	that could be done in this code. Users can now browse around
      	to choose icons from anywhere, and they will all work in
      	Nautilus (no change required in Nautilus).
      
      	* mime-type-capplet/files-types-capplet.desktop:
      	Replaced placeholder description string with Vera's.
      
      	* mime-type-capplet/nautilus-mime-type-capplet.c:
      	Removed bogus but relatively harmless initial slashes
      	from two DEFAULT_REGULAR_ICON and DEFAULT_ACTION_ICON.
      	(really_change_icon): Handle full as well as relative
      	filenames; update displayed info here instead of relying
      	on the icon_entry widget doing it.
      	(icon_chosen_callback): Renamed from gil_icon_selected_cb;
      	hide the dialog here so we can eliminate the almost-identical
      	code in nautilus-mime-type-icon-entry.c that did that one
      	extra thing.
      	(change_icon_clicked_cb_real): use GNOME_OK instead of 0
      	(change_icon_clicked): Update for name change.
      	(is_full_path): Little bitty helper function that checks for
      	initial slash, mainly separated for clarity.
      	(capplet_get_icon_path): New function used to get a full icon
      	path from a file name, icon name, relative path, or
      	possibly non-existent full path.
      	(nautilus_mime_type_capplet_update_info): Simplify logic,
      	use capplet_get_icon_path.
      	(add_mime_clicked), (update_mime_list_action),
      	(populate_mime_list):
      	Use capplet_get_icon_path; use generic
      	executable icon for app instead of repeating MIME-type icon.
      	(capplet_get_icon_pixbuf): Simplify logic; use capplet_get_icon_path;
      	Add FIXME about future code cleanup
      
      	* mime-type-capplet/nautilus-mime-type-icon-entry.h:
      	* mime-type-capplet/nautilus-mime-type-icon-entry.c:
      	(nautilus_mime_type_icon_entry_get_full_filename): Renamed from
      	_get_filename for clarity
      	(entry_activated): Made behavior match comment (act like OK
      	button was hit)
      	(icon_selected_cb): Removed this function; this was redundant with
      	code in nautilus-mime-type-capplet.c.
      	(gil_icon_selected_cb): Removed this function; it was redundant
      	with a function in nautilus-mime-type-capplet.c except that this one
      	hid the dialog and that one didn't (now that one does).
      	(nautilus_mime_type_show_icon_selection): Remove commented-out
      	line that implemented the Browse button that let the user choose
      	from different directories; removed redundant signal handlers;
      	added FIXME.
      	(nautilus_mime_type_icon_entry_get_relative_filename): Simplify
      	logic; made it return NULL instead of "" and a g_warning when
      	it can't create a relative path from the full path.
      
      	* libgnomevfs/gnome-vfs-utils.c: Added FIXME
      d8fabf05
  7. 22 Feb, 2001 2 commits
    • Gene Z. Ragan's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · 6981fe91
      Gene Z. Ragan authored
      2001-02-22  Gene Z. Ragan  <gzr@eazel.com>
      
      	reviewed by: John Sullivan <sullivan@eazel.com>
      
      	Fixed bug 6568, Closing capplet right away warns
      	about uncommitted changes
      
      	* mime-type-capplet/nautilus-mime-type-capplet.c:
      	(init_mime_capplet):
      	Use new interface that I added to control-center
      	that informs the control center that changes are immediate.
      	The control center now behaves properly.
      6981fe91
    • Seth Nickell's avatar
      reviewed by: Pavel Cisler <pavel@eazel.com> · b2ee2fa5
      Seth Nickell authored
      2001-02-22  Seth Nickell  <seth@eazel.com>
      
      	reviewed by: Pavel Cisler <pavel@eazel.com>
      
      	* libgnomevfs/gnome-vfs-application-registry.c:
      	(strip_trailing_whitespace):
      	* libgnomevfs/gnome-vfs-uri.c: (split_toplevel_uri):
      	* mime-type-capplet/nautilus-mime-type-capplet-dialogs.c:
      	(nautilus_mime_type_capplet_show_new_mime_window):
      
      	Add casts to is* functions as necessary when chars are
      	used to fix Solaris warnings.
      b2ee2fa5
  8. 21 Feb, 2001 4 commits
    • Gene Z. Ragan's avatar
      reviewed by: John Sullivan<sullivan@eazel.com> · 388af8aa
      Gene Z. Ragan authored
      2001-02-21  Gene Z. Ragan  <gzr@eazel.com>
      
      	reviewed by: John Sullivan<sullivan@eazel.com>
      
      	Fixed bug 6626, Applications deleted from the
      	short list reappear (unchecked)
      
      	The original intent of this dialog button was to allow the user to
      	delete their custom added applications.  The logic has been
      	added to handle this and update the control properly.
      	There is a larger issue that if the user wants to delete system
      	level applications, the current API makes it impossible to do
      	so.
      
      	* libgnomevfs/gnome-vfs-application-registry.c:
      	* libgnomevfs/gnome-vfs-application-registry.h:
      	(application_lookup_or_create), (application_lookup),
      	(application_remove), (gnome_vfs_application_registry_init),
      	(gnome_vfs_application_registry_clear),
      	(gnome_vfs_application_registry_shutdown),
      	(gnome_vfs_application_registry_sync),
      	(gnome_vfs_application_registry_save_mime_application):
      	Renamed a potentially confusing global variable.
      
      
      	(gnome_vfs_application_is_user_owned_application):
      	New function that returns a value indicating if this
      	is a user owned or system owned application.
      
      	* mime-type-capplet/nautilus-mime-type-capplet-dialogs.c:
      	(create_application_list_item),
      	(populate_default_applications_list),
      	(initialize_edit_applications_dialog),
      	(show_new_application_window), (delete_selected_application),
      	(add_or_update_application), (add_item_to_application_list):
      	Determine if application data is user owned and act accordingly.
      
      	(check_button_status):
      	Remove delete button handling in certain cases and use new
      	update_delete_button function instead.
      
      	(update_delete_button):
      	New function to that sensitizes the delete button
      	based on user ownership of the selected application item.
      388af8aa
    • Darin Adler's avatar
      reviewed by: Mike Fleming <mfleming@eazel.com> · 82c493b6
      Darin Adler authored
      	* libgnomevfs/gnome-vfs-process.c: (sigchld_handler): Fix
      	uninitialized variable problem (reported by danw I think).
      	* libgnomevfs/gnome-vfs-utils.c:
      	(gnome_vfs_get_local_path_from_uri): Simplify function and make it
      	return NULL with # characters.
      
      	* test/test-uri.c: (main): Update tests to match the change to
      	gnome_vfs_get_local_path_from_uri.
      
      	* libgnomevfs-pthread/gnome-vfs-job.c: Improve a variable name.
      
      	* mime-type-capplet/.cvsignore: Ignore the executable under its
      	new name, not its old name.
      82c493b6
    • John Sullivan's avatar
      Changed "Delete this MIME type..." to "Delete This MIME Type" because that · e1c8837b
      John Sullivan authored
      	* mime-type-capplet/nautilus-mime-type-capplet.c:
      	(init_mime_capplet): Changed "Delete this MIME type..."
      	to "Delete This MIME Type" because that follows the
      	capitalization rules, and because there's no dialog
      	involved so the "..." is a lie.
      e1c8837b
    • John Sullivan's avatar
      reviewed by: Seth Nickell <seth@eazel.com> · 94fe6d69
      John Sullivan authored
      	Fixed various small capplet bugs while pondering the
      	big scary icon-related ones, including:
      
      	Fixed bug 4768 (hardcoded icon file name in
      	nautilus-mime-type-capplet.c)
      
      	Fixed bug 6636 (Text descenders clipped for selected item in mime list)
      
      	Fixed bug 6641 (Icons clipped in mime list)
      
      	Fixed bug 6647 ("Change Icon" dialog has silly title)
      
      	* mime-type-capplet/nautilus-mime-type-capplet-dialogs.c:
      	(nautilus_mime_type_capplet_show_new_mime_window): Simplified
      	widgetry, tweaked layout and wording to look halfway decent and
      	be clear.
      
      	* mime-type-capplet/nautilus-mime-type-capplet.c:
      	Added constants for icon height/width in list. Added FIXME for
      	huge hunks of copy/pasted code.
      	(init_mime_capplet): Removed two set_usize calls; replaced one
      	with a gtk_misc_set_padding call so "Edit List" button isn't
      	too cramped.
      	(add_mime_clicked),
      	(nautilus_mime_type_capplet_update_mime_list_icon_and_description):
      	Use icon size constants instead of magic numbers.
      	(update_mime_list_action), (populate_mime_list):
      	 Use icon size constants; use
      	 gnome_vfs_icon_path_from_filename to avoid hard-coded path.
      	(mime_list_reset_row_height): New function, sets the row height
      	based on font size and image height.
      	(create_mime_list_and_scroller): Reset row height at the right time.
      
      	* mime-type-capplet/nautilus-mime-type-icon-entry.c:
      	(nautilus_mime_type_show_icon_selection): Set icon selection window
      	title; add FIXME for (at long last discovered) code that prevents
      	user from choosing icons in arbitrary directories.
      94fe6d69
  9. 20 Feb, 2001 1 commit
    • Gene Z. Ragan's avatar
      Fix bug 6384, Nautilus program chooser uses "nautilus-mime-type-capplet" · 6d3177ec
      Gene Z. Ragan authored
      2001-02-20  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fix bug 6384, Nautilus program chooser uses
      	"nautilus-mime-type-capplet" to launch capplet
      
      	* mime-type-capplet/Makefile.am:
      	* mime-type-capplet/files-types-capplet.desktop:
      	* mime-type-capplet/nautilus-mime-type.desktop:
      	Rename the capplet binary and change the name and
      	contents of the .desktop file to reflect the new name.
      6d3177ec
  10. 16 Feb, 2001 4 commits
    • Gene Z. Ragan's avatar
      reviewed by: Mike Enger <engber@eazel.com> · a5b9b555
      Gene Z. Ragan authored
      2001-02-16  Gene Z. Ragan  <gzr@eazel.com>
      
      	reviewed by: Mike Enger <engber@eazel.com>
      
      	Fixed bug 6624, Selected mime type/description displayed
      	below the list is incorrect after reverting to system defaults.
      
      	Fixed bug 6644, List sorting after using "revert to system defaults"
      	is inconsistent.
      
      	* mime-type-capplet/nautilus-mime-type-capplet.c:
      	(revert_real_cb):
      	Sort the list using current sort column and select the
      	first item to force an update of the dialog contents.
      	Also freeze and thaw list to avoid annoying flicker while
      	list is being repopulated.
      a5b9b555
    • John Sullivan's avatar
      reviewed by: Gene Z. Ragan <gzr@eazel.com> · 059b3701
      John Sullivan authored
      	Fixed bug 6635 (in MIME capplet, descriptions can't be
      	edited though they look editable)
      
      	* libgnomevfs/gnome-vfs-mime-handlers.c:
      	* libgnomevfs/gnome-vfs-mime-handlers.h:
      	(gnome_vfs_mime_set_description): New function,
      	just like existing _set_icon.
      
      	* mime-type-capplet/nautilus-mime-type-capplet.h:
      	* mime-type-capplet/nautilus-mime-type-capplet.c:
      	(nautilus_mime_type_capplet_update_mime_list_icon_and_description):
      	Changed name to add the _and_description part. It already handled
      	the description properly but the name was misleading.
      	(really_change_icon): Updated for name change.
      	(update_description_from_input): New function, sets the description
      	in database and UI (list) from what's in the field.
      	(description_entry_changed): Set dirty flag.
      	(description_entry_activate), (description_entry_lost_focus):
      	If dirty flag set, update.
      	(init_mime_capplet): Hook up text field signal handlers, make
      	field editable, remove "No Description" case since putting status
      	text in editable field is wrong.
      	(nautilus_mime_type_capplet_update_info): Clear dirty flag
      	when description is updated due to selection change.
      
      	* mime-type-capplet/nautilus-mime-type-icon-entry.c:
      	(icon_selected_cb): Updated for name change.
      059b3701
    • Gene Z. Ragan's avatar
      reviewed by: John Sullivan <sullivan@eazel.com> · b28b2644
      Gene Z. Ragan authored
      2001-02-16  Gene Z. Ragan  <gzr@eazel.com>
      
      	reviewed by: John Sullivan <sullivan@eazel.com>
      
      	Fixed bug 6648, Able to add mime type even if "mime type"
      	and description fields are blank.
      
      	* mime-type-capplet/nautilus-mime-type-capplet-dialogs.c:
      	(validate_text_and_update_button),
      	(nautilus_mime_type_capplet_show_new_mime_window):
      	Set sensitive state of OK button based on content of
      	text entry item in dialog box.
      
      	* mime-type-capplet/nautilus-mime-type-capplet.c:
      	(nautilus_mime_type_capplet_add_extension), (init_mime_capplet),
      	(add_mime_clicked):
      	Check for '\0' instead of ' ' to avoid empty strings
      b28b2644
    • John Sullivan's avatar
      reviewed by: Gene Ragan <gzr@eazel.com> · fdd551db
      John Sullivan authored
      	Fixed some problems and cleaned up some code
      	that I ran into while investigating bug 5777 (Nautilus
      	does not pick up MIME preferences right away)
      
      	* libgnomevfs/gnome-vfs-mime-handlers.c:
      	(gnome_vfs_mime_get_short_list_applications):
      	Prune user's short list additions of nonexistent
      	applications (already pruned other lists); removed
      	mysteriously incorrect FIXME; deployed
      	gnome_vfs_mime_type_is_supertype() one more place.
      
      	* mime-type-capplet/nautilus-mime-type-capplet-dialogs.c:
      	(insert_item), (create_application_list_item):
      	New helper functions used for dialogs showing lists
      	of applications, extracted and simplified from existing
      	code.
      	(populate_default_applications_list): Use helper functions
      	instead of repeating all the code here.
      	(initialize_edit_applications_dialog): Swapped order of two
      	lines for clarity & slight efficiency gain.
      	(add_item_to_application_list): Use helper functions instead
      	of repeating all the code here; select newly-added item.
      	(show_new_application_window): Removed two initialized but
      	never used variables.
      	(show_edit_applications_dialog), (show_edit_components_dialog),
      	(nautilus_mime_type_capplet_show_new_mime_window),
      	(nautilus_mime_type_capplet_show_change_extension_window),
      	(nautilus_mime_type_capplet_show_new_extension_window),
      	(show_new_application_window), (show_edit_application_window):
      	Cleaned up all callers of gnome_dialog_run; some were not
      	handling the close box properly; others were just using more
      	lines of code than needed; none were using GNOME_OK for clarity.
      
      	* mime-type-capplet/nautilus-mime-type-capplet.c:
      	(revert_mime_clicked): Improved some error message text a little.
      fdd551db
  11. 15 Feb, 2001 3 commits
    • Darin Adler's avatar
      cf03cbef
    • John Sullivan's avatar
      reviewed by: Darin Adler <darin@eazel.com> · 36656755
      John Sullivan authored
      	Fixed bug 6660 (list of all apps for text/xml
      	doesn't include text/* handlers)
      
      	* libgnomevfs/gnome-vfs-mime.h:
      	* libgnomevfs/gnome-vfs-mime.c:
      	(gnome_vfs_mime_type_is_supertype): New public function.
      	(extract_prefix_add_suffix): Utility function used
      	by _get_supertype_from_mime_type, moved from another file.
      	(gnome_vfs_get_supertype_from_mime_type): New public
      	function (formerly private in mime-handlers.c under
      	the name "mime_type_from_supertype".
      
      	* libgnomevfs/gnome-vfs-mime-handlers.c:
      	(gnome_vfs_mime_get_default_component),
      	(gnome_vfs_mime_get_short_list_applications),
      	(gnome_vfs_mime_get_short_list_components),
      	(gnome_vfs_mime_get_all_components),
      	(gnome_vfs_mime_component_list_free):
      	Update for renaming; remove mime_type_from_supertype.
      
      	* libgnomevfs/gnome-vfs-application-registry.c:
      	(gnome_vfs_application_registry_get_applications):
      	Use new functions to fix completely broken code to
      	get supertype's	list of apps.
      
      	(add_application_to_mime_type_table),
      	(remove_application_from_mime_type_table): Use
      	new is_supertype function instead of using strstr.
      36656755
    • Gene Z. Ragan's avatar
      Fixed bug 6629, Default action icon disappears when switching from · 694815ad
      Gene Z. Ragan authored
      2001-02-14  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug 6629, Default action icon disappears when switching
      	from application->viewer->application
      
      	Fixed bug 6630, Default action icon not drawn when changing
      	the default application
      
      	* mime-type-capplet/nautilus-mime-type-capplet.c:
      	(init_mime_capplet), (update_mime_list_action):
      	Call handy utility function to get custom or default
      	action icon based on mime tpye and type of action.
      
      	(column_clicked):
      	Remove some debugging cruft.
      694815ad
  12. 14 Feb, 2001 3 commits
    • Gene Z. Ragan's avatar
      Fixed bug 6570, Initial tab order in "Add application" dialog is broken. · ccfe3a4a
      Gene Z. Ragan authored
      2001-02-14  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug 6570, Initial tab order in "Add application"
      	dialog is broken.
      
      	* mime-type-capplet/nautilus-mime-type-capplet-dialogs.c:
      	(nautilus_mime_type_capplet_show_new_mime_window),
      	(add_extension_clicked),
      	(nautilus_mime_type_capplet_show_new_extension_window),
      	(show_new_application_window), (show_edit_application_window):
      	Set focus to proper widget in all of these functions.
      ccfe3a4a
    • Gene Z. Ragan's avatar
      Fixed bug 6579, Clicking on a column for sorting performs descending sort · cdae99d0
      Gene Z. Ragan authored
      2001-02-13  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug 6579, Clicking on a column for sorting performs
      	descending sort first.
      
      	* mime-type-capplet/nautilus-mime-type-capplet.c:
      	(init_mime_capplet):
      	Create a global array that tracks the initial first time click
      	state of the columns.
      
      	(column_clicked):
      	Check click state of column and decide initial sort mode based
      	on value.
      cdae99d0
    • Gene Z. Ragan's avatar
      Fixed bug 6577, New mime type isn't highlighted after creation. · 8deb8274
      Gene Z. Ragan authored
      2001-02-13  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug 6577, New mime type isn't highlighted after creation.
      
      	* mime-type-capplet/nautilus-mime-type-capplet.c:
      	(find_row_for_mime_type):
      	Return index of row if mime type is found in list
      	or -1 if it is not.
      
      	(init_mime_capplet):
      	Call find_row_for_mime_type()
      
      	(nautilus_mime_type_capplet_update_info), (add_mime_clicked):
      	Sort, select and scroll to new mime type.
      8deb8274
  13. 13 Feb, 2001 2 commits
    • Gene Z. Ragan's avatar
      Fixed bug 6447, "Change file extensions" erases all extensions · 62c1eec0
      Gene Z. Ragan authored
      2001-02-12  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug 6447, "Change file extensions" erases all extensions
      
      	* mime-type-capplet/nautilus-mime-type-capplet.c:
      	* mime-type-capplet/nautilus-mime-type-capplet-dialogs.h:
      	(nautilus_mime_type_capplet_show_change_extension_window):
      	Add a variable to function that tells if returned list
      	is to be used to replace existing extension mapping for
      	mime type.
      
      	* mime-type-capplet/nautilus-mime-type-capplet-dialogs.c:
      	(add_extension_clicked), (change_file_extensions_clicked):
      	Do some sanity checking for empty or NULL new extensions
      62c1eec0
    • Gene Z. Ragan's avatar
      Fixed bug 6471, wrong text in "add extension" dialog · c65cc264
      Gene Z. Ragan authored
      2001-02-12  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug 6471, wrong text in "add extension" dialog
      
      	* mime-type-capplet/nautilus-mime-type-capplet-dialogs.c:
      	(nautilus_mime_type_capplet_show_new_extension_window):
      	Update text using new language from Vera.
      c65cc264
  14. 12 Feb, 2001 1 commit
    • John Sullivan's avatar
      reviewed by: Gene Z. Ragan <gzr@eazel.com> (under protest, · 85d77615
      John Sullivan authored
      	since Gene hates the use of "MIME")
      
      	Changed all uses of "Mime" or "mime" in the UI to be
      	"MIME". Also improved the wording for the "revert"
      	dialog, though it still could use Verafication. Also,
      	using "MIME" in the UI at all rather sucks. It would
      	be nice if we could avoid this nerd terminology someday.
      
      	* mime-type-capplet/nautilus-mime-type-capplet-dialogs.c:
      	(initialize_edit_applications_dialog),
      	(initialize_edit_components_dialog),
      	(nautilus_mime_type_capplet_show_new_mime_window):
      	* mime-type-capplet/nautilus-mime-type-capplet.c:
      	(init_mime_capplet), (revert_mime_clicked),
      	(create_mime_list_and_scroller):
      85d77615
  15. 06 Feb, 2001 2 commits
    • Gene Z. Ragan's avatar
      Fixed bug 6258, Determine initial capplet sort column · 62298b5b
      Gene Z. Ragan authored
      2001-02-06  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug 6258, Determine initial capplet sort column
      
      	* mime-type-capplet/nautilus-mime-type-capplet.c:
      	(init_mime_capplet):
      	Sort based on first column in list.
      62298b5b
    • Gene Z. Ragan's avatar
      Work done to improve the mime tpye capplet. Enable the capplet to be · eb8a4e72
      Gene Z. Ragan authored
      2001-02-05  Gene Z. Ragan  <gzr@eazel.com>
      
      	Work done to improve the mime tpye capplet.
      	Enable the capplet to be launched with a mime type.
      	If a mime type is an argument, have the capplet scroll
      	to that item in the list before the user begins interaction.
      
      	* mime-type-capplet/nautilus-mime-type-capplet.c: (main),
      	(list_move_vertical), (list_moveto), (list_reveal_row),
      	(init_mime_capplet), (populate_mime_list):
      eb8a4e72
  16. 05 Feb, 2001 1 commit
  17. 03 Feb, 2001 1 commit
  18. 29 Jan, 2001 5 commits
    • Rebecca Schulman's avatar
      Change the value of the "expects_uris" attribute of applications to have 3 · aad39631
      Rebecca Schulman authored
      2001-01-29  Rebecca Schulman  <rebecka@eazel.com>
      	Change the value of the "expects_uris" attribute
      	of applications to have 3 possible values:
      	"yes", "no", and "non-file".  This change will
      	allow applications to understand how to launch programs
      	that expect local paths for local files, but uris
      	for non-file locations.
      
      	reviewed by: Darin Adler <darin@eazel.com>
      
      	* data/mime/gnome-vfs.applications:
      	Change expects_uris to "non-file" where appropriate
      	(for now mpg123), and added supported_uri_schemes
      	in places where "expects_uris" was "yes" but no
      	supported uri schemes were listed.  This information
      	is not yet complete.
      
      	* doc/mime-data-specification.txt: Remove the "[to be
      	implemented]" tag from fields that are now fully implemented
      	(supported_uri_schemes and expects_uris)
      
      	* libgnomevfs/gnome-vfs-mime-handlers.h:
      	* libgnomevfs/gnome-vfs-application-registry.h:
      	* libgnomevfs/gnome-vfs-application-registry.c: (application_new),
      	(value_looks_true), (get_bool_value), (application_add_key),
      	(gnome_vfs_application_registry_get_mime_application),
      	(gnome_vfs_application_registry_save_mime_application):
      	Parse, set and get the new "expects_uris"
      	attribute, and represent its set of possible values using
      	an enum, rather than a gboolean.
      
      	* mime-type-capplet/nautilus-mime-type-capplet-dialogs.c:
      	(show_new_application_window), (show_edit_application_window):
      	Add the right bug number to fixmes about updates need in the capplet
      	to reflect the new application attributes
      
      	* test/test-mime-handlers.c:
      	(format_mime_application_argument_type_for_display),
      	(print_application):
      	Print the "expects_uris" attribute as part of the test
      	program for application information parsing.
      aad39631
    • Bradford Hovinen's avatar
      Check entire success array and warn if any allocation did not succeed · 12ae0dad
      Bradford Hovinen authored
      2001-01-29  Bradford Hovinen  <hovinen@ximian.com>
      
      	* rollback-widget.c (rollback_widget_realize): Check entire
      	success array and warn if any allocation did not succeed
      
      	* config-manager-dialog.c (cancel_cb): Don't do rollback
      
      	* Makefile.am (rollback_capplet_SOURCES): Added rollback-control.[ch]
      
      	* config-manager-dialog.c (config_manager_dialog_init): Construct
      	a rollback widget with a rollback control and place it in the
      	dialog
      
      2001-01-27  Bradford Hovinen  <hovinen@ximian.com>
      
      	* rollback-widget.c (rollback_widget_realize): Allocate control
      	colors
      
      	* rollback-widget.h (struct _RollbackWidget ): Added array
      	control_colors
      
      	* rollback-widget.c (rollback_widget_realize):
      	(rollback_widget_unrealize): Implement. Just calls the parent's
      	[un]realize and creates/destroys a GC to be used by the individual
      	controls.
      	(rollback_widget_get_gc): Implement. Return the GC created above
      12ae0dad
    • Gene Z. Ragan's avatar
      Fixed bug 5847, MIME type capplet alphabetical oder case sensitive · 7a6ec96d
      Gene Z. Ragan authored
      2001-01-29  Gene Z. Ragan  <gzr@eazel.com>
      
      	Fixed bug 5847, MIME type capplet alphabetical oder case sensitive
      
      	* mime-type-capplet/nautilus-mime-type-capplet.c:
      	(sort_case_insensitive), (column_clicked),
      	(create_mime_list_and_scroller):
      	Create a sort routine that is not case sensitive.
      7a6ec96d
    • Christophe Merlet's avatar
      Updated French translation. · 1f43de92
      Christophe Merlet authored
      1f43de92
    • Fatih Demir's avatar
      More CVS delirium · 7b4f73da
      Fatih Demir authored
      7b4f73da
  19. 28 Jan, 2001 1 commit