summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* reviewed by: Maciej Stachowiak <mjs@eazel.com>GNOME_VFS_0_7_0gnome-vfs-1Dan Winship2001-03-051-1/+0
| | | | | | | * 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.
* reviewed by: Pavel Cisler <pavel@eazel.com>Gene Z. Ragan2001-03-011-1/+1
| | | | | | | | | | | 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.
* another unreviewed change to fix tinderoxMaciej Stachowiak2001-02-271-0/+3
| | | | | | * 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.
* unreviewed change to fix tinderoxMaciej Stachowiak2001-02-271-1/+1
| | | | | * mime-type-capplet/Makefile.am: Add .desktop.in file to EXTRA_DIST.
* Fixed bugzilla.eazel.com bug 7010, that the file types capplet should useRebecca Schulman2001-02-274-26/+15
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Updated Finnish translation by Pauli Virtanen.jjranta2001-02-271-0/+1
|
* reviewed by: Pavel Cisler <pavel@eazel.com>GNOME-VFS_0_6_2Gene Z. Ragan2001-02-2718-29/+1043
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* reviewed by: Gene Ragan <gzr@eazel.com>John Sullivan2001-02-262-102/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Added sv description.Christian Rose2001-02-241-0/+2
|
* reviewed by: Gene Ragan <gzr@eazel.com>John Sullivan2001-02-234-144/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* reviewed by: John Sullivan <sullivan@eazel.com>Gene Z. Ragan2001-02-221-6/+2
| | | | | | | | | | | | | | | 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.
* reviewed by: Pavel Cisler <pavel@eazel.com>Seth Nickell2001-02-221-1/+1
| | | | | | | | | | | | | | | 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.
* reviewed by: John Sullivan<sullivan@eazel.com>Gene Z. Ragan2001-02-211-18/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* reviewed by: Mike Fleming <mfleming@eazel.com>Darin Adler2001-02-211-1/+1
| | | | | | | | | | | | | | | | * 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.
* Changed "Delete this MIME type..." to "Delete This MIME Type" because thatJohn Sullivan2001-02-211-2/+2
| | | | | | | | * 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.
* reviewed by: Seth Nickell <seth@eazel.com>John Sullivan2001-02-213-39/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix bug 6384, Nautilus program chooser uses "nautilus-mime-type-capplet"Gene Z. Ragan2001-02-202-9/+9
| | | | | | | | | | | | | 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.
* reviewed by: Mike Enger <engber@eazel.com>Gene Z. Ragan2001-02-161-1/+10
| | | | | | | | | | | | | | | | | | | 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.
* reviewed by: Gene Z. Ragan <gzr@eazel.com>John Sullivan2001-02-163-17/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* reviewed by: John Sullivan <sullivan@eazel.com>Gene Z. Ragan2001-02-162-7/+38
| | | | | | | | | | | | | | | | | | | | 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
* reviewed by: Gene Ragan <gzr@eazel.com>John Sullivan2001-02-162-198/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Rolled change back out that John checked in by accident.Darin Adler2001-02-151-7/+5
|
* reviewed by: Darin Adler <darin@eazel.com>John Sullivan2001-02-151-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fixed bug 6629, Default action icon disappears when switching fromGene Z. Ragan2001-02-151-22/+2
| | | | | | | | | | | | | | | | | | 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.
* Fixed bug 6570, Initial tab order in "Add application" dialog is broken.Gene Z. Ragan2001-02-141-4/+6
| | | | | | | | | | | | | | 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.
* Fixed bug 6579, Clicking on a column for sorting performs descending sortGene Z. Ragan2001-02-141-4/+19
| | | | | | | | | | | | | | | | 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.
* Fixed bug 6577, New mime type isn't highlighted after creation.Gene Z. Ragan2001-02-141-19/+51
| | | | | | | | | | | | | | | | | 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.
* Fixed bug 6447, "Change file extensions" erases all extensionsGene Z. Ragan2001-02-133-12/+28
| | | | | | | | | | | | | | | | | 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
* Fixed bug 6471, wrong text in "add extension" dialogGene Z. Ragan2001-02-131-1/+3
| | | | | | | | | | 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.
* reviewed by: Gene Z. Ragan <gzr@eazel.com> (under protest,John Sullivan2001-02-12463-121827/+11
| | | | | | | | | | | | | | | | | | 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):
* Fixed bug 6258, Determine initial capplet sort columnGNOME-VFS_1_ANCHORGene Z. Ragan2001-02-061-2/+12
| | | | | | | | | | 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.
* Work done to improve the mime tpye capplet. Enable the capplet to beGene Z. Ragan2001-02-061-14/+104
| | | | | | | | | | | | | 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):
* Updated French translation.Christophe Merlet2001-02-052-51/+56
|
* Triditional Chinese PO File 2001/2/3Jing-Jong Shyue2001-02-031-924/+719
|
* Change the value of the "expects_uris" attribute of applications to have 3Rebecca Schulman2001-01-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Check entire success array and warn if any allocation did not succeedBradford Hovinen2001-01-298-23/+548
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixed bug 5847, MIME type capplet alphabetical oder case sensitiveGene Z. Ragan2001-01-291-2/+50
| | | | | | | | | | | 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.
* Updated French translation.Christophe Merlet2001-01-292-74/+91
|
* More CVS deliriumFatih Demir2001-01-291-0/+5
|
* Updated Swedish translation.Christian Rose2001-01-282-74/+330
|
* Translations bonobo/po/da.po control-center/po/da.po galeon/po/da.poKenneth Christiansen2001-01-281-361/+50
| | | | | | Translations bonobo/po/da.po control-center/po/da.po galeon/po/da.po gnome-vfs/po/da.po gnumeric/po/da.po pan/po/da.po
* Disable wallpaper in new_prefs structure, not structure passed to functionBradford Hovinen2001-01-273-1/+25
| | | | | | | | | | | | | | 2001-01-27 Bradford Hovinen <hovinen@ximian.com> * capplets/new-background-properties/applier.c (applier_apply_prefs): Disable wallpaper in new_prefs structure, not structure passed to function 2001-01-26 Bradford Hovinen <hovinen@ximian.com> * capplets/new-background-properties/main.c (do_restore_from_defaults): Implement. Creates a preferences object with factory defaults and saves and applies those changes.
* fixed headersPablo Saratxaga2001-01-272-2/+2
|
* Add support for the "supported_uri_schemes" attributes in the mimeRebecca Schulman2001-01-261-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-26 Rebecca Schulman <rebecka@eazel.com> Add support for the "supported_uri_schemes" attributes in the mime applications file, and changed can_open_uris to "expects_uris" because this attribute is more about the way arguments should be specified than about its capabilities of understanding locations. The supported uri schemes attributes is optional, and if it is not included, the value is assumed to be file. reviewed by: Pavel Cisler <pavel@eazel.com> * libgnomevfs/gnome-vfs-application-registry.h: Add the new function gnome_vfs_application_registry_supports_uri_scheme to the public api * libgnomevfs/gnome-vfs-application-registry.c: (application_new), (add_application_to_mime_type_table), (add_mime_type_to_application), (add_supported_uri_scheme_to_application), (remove_application_from_mime_type_table), (remove_mime_type_for_application), (supported_uri_scheme_list_copy), (gnome_vfs_application_registry_supports_uri_scheme), (gnome_vfs_application_registry_supports_mime_type), (gnome_vfs_application_registry_add_mime_type), (gnome_vfs_application_registry_remove_mime_type), Add supported uri schemes functions to complement the current mime type functions and refactor the mime_type functions to share code with the new supported_uri_schemes functions where appropriate (application_clear_mime_types), (application_add_key), Add ability to parse the supported_uri_schemes attribute (gnome_vfs_application_registry_get_mime_application), (gnome_vfs_application_registry_save_mime_application): Add supported_uri_schemes to these functions * libgnomevfs/gnome-vfs-mime-handlers.h: * libgnomevfs/gnome-vfs-mime-handlers.c: (gnome_vfs_mime_get_short_list_applications), (gnome_vfs_mime_application_copy), (gnome_vfs_mime_application_free), (copy_str_list): Add supported_uri_schemes to the MimeApplication structure * data/mime/gnome-vfs.applications: Add some new "supported_uri_schemes". What I have added is not complete. * doc/mime-data-specification.txt: Add information about how user files can augment, but not replace information about applications' accepted mime types and supported uri schemes. Add FIXMEs about how this isn't clearly correct. * mime-type-capplet/nautilus-mime-type-capplet-dialogs.c: (add_or_update_application), (show_new_application_window), (show_edit_application_window): Change can_open_uris to "Expects URIs" * test/test-mime-handlers-set.c: (main): * test/test-mime-handlers.c: (append_comma_and_scheme), (format_supported_uri_schemes_for_display), (print_application): Update tests, by adding new attribute
* updated ro (Romanian) translationMarius Andreiana2001-01-262-940/+736
|
* added ro (Romanian) translationMarius Andreiana2001-01-269-0/+20
|
* Updated Slovak translationStano Visnovsky2001-01-262-58/+61
|
* shut up cvs. Upd. TODOJose Maria Celorio2001-01-251-1/+6
| | | | | shut up cvs. Upd. TODO
* Updated Norwegian translation.Kjartan Maraas2001-01-252-53/+67
| | | | | | 2001-01-25 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian translation.
* Updated Slovenian translationAndraz Tori2001-01-251-56/+68
|